This is what im trying to do:
I have a Raspberry Pi (RPi) running a Mosquitto MQTT broker server and im using an IOT device to send Hex string packets to that server.
This is what i have currently done:
- I have created the MQTT broker and it runs on the RPi. Have configured to use username/password authentication.
- I have forwarded ports 1883(TCP) and 9001(Websocket) through to the RPi in my WiFi Modem.
- I can load up the HiveMQ Websocket client and can connect to the MQTT broker using my networks public IP, port 9001 and the username/password.
- I subscribe to a topic and can publish on that topic. Data is published and received and i can see the connection status in the MQTT terminal.
- I also have a node.js server that connects to the MQTT broker via the 1883 port and can subscribe to the test data topic.
- I can also connect to the MQTT broker from a computer running on a different network which tells me the MQTT server is publically accessible.
Issue im having:
Have purchased a NB-IOT telstra sim card on a 200kb IOT plan.
Currently using the following IOT device (https://www.iot-store.com.au/products/nbsn95-lpwan-wireless-nb-iot-sensor-node?_pos=6&_sid=fe715c3de&_ss=r) and have setup as per their user manual.
I have configured the MQTT settings in the figure below with my broker settings.
The issue is that i never receive any connection request from the device to the MQTT server or any packets.
I have tried both ports 1883 and 9001 and even set the MQTT server to use no user authentication.
When i look at the sim card details i can see that data has been transmitted to the telstra netwrok as shown in the below figure.
So my question is:
Do i need to do anything else to receive the data on my MQTT server?
How does telstra deal with the data it receives? Does it need to be forwarded to the MQTT server?
Thank you for reading and hopefully someone can point me in the right direction.