Hello Nordic Support Team,
I am experiencing an issue when using MQTT over an NB-IoT connection with the nRF9151 DK, and I would like to ask for clarification and guidance.
Setup:
- Hardware: nRF9151 DK
- Zephyr version 3.2.1
- Firmware: Nordic Serial Modem (used to control the device via AT commands)
- Protocol: MQTT
- Broker: test.mosquitto.org (public test broker)
- SIM: 1NCE - confirmed to support NB-IoT in my region
Description of the issue:
I am using the MQTT API through AT commands (docs.nordicsemi.com/.../at_mqtt.html) to connect to an MQTT broker.
When the modem is configured to use LTE, the MQTT connection works correctly and I am able to connect, publish, and subscribe without issues.
However, when the modem is configured to use NB-IoT, the MQTT connection fails and the connection to the broker cannot be established. The same configuration, commands, and broker are used, with the only difference being the access technology (NB-IoT instead of LTE).
What I have verified:
- The SIM card supports NB-IoT in my geographic area
- Network registration to NB-IoT is successful: i verify this by looking for valid PSM timer values in AT+CEREG unsolicited notifications
Are there known limitations or specific requirements when using MQTT over NB-IoT with the Serial Modem on nRF9151?
Is MQTT over TCP fully supported over NB-IoT in this setup, or are there known constraints depending on the network or broker?
Any guidance, documentation references, or recommended configuration for using MQTT over NB-IoT would be greatly appreciated.
Thank you for your support.
Best regards,
Federica