nRF9160 - Queries

Hi Team,

1. nRF9160 supports MQTT version 5.0?

2. Is it recommended to use 5.0? or 3.1.1 is enough?

Regards,

Sravan Rikka

Parents
  • Thanks for the question Sravan,

    The nRF9160 uses the Zephyr MQTT client, which supports MQTT protocol versions 3.1.0, 3.1.1, and 5.0 via the mqtt_version enum (values MQTT_VERSION_3_1_0, MQTT_VERSION_3_1_1, MQTT_VERSION_5_0).[mqtt_version enum]

    However, Nordic notes that while MQTT 5.0 is defined in the Zephyr API, the Zephyr MQTT client used in nRF Connect SDK currently does not support MQTT 5 features in practice (for example, Azure IoT Hub MQTT 5 features are not usable yet).[Azure C2D 4kB]

    So in real-world use with nRF9160 and current NCS versions, you should plan on MQTT 3.1 or 3.1.1.

    Regards, 

    Don

Reply
  • Thanks for the question Sravan,

    The nRF9160 uses the Zephyr MQTT client, which supports MQTT protocol versions 3.1.0, 3.1.1, and 5.0 via the mqtt_version enum (values MQTT_VERSION_3_1_0, MQTT_VERSION_3_1_1, MQTT_VERSION_5_0).[mqtt_version enum]

    However, Nordic notes that while MQTT 5.0 is defined in the Zephyr API, the Zephyr MQTT client used in nRF Connect SDK currently does not support MQTT 5 features in practice (for example, Azure IoT Hub MQTT 5 features are not usable yet).[Azure C2D 4kB]

    So in real-world use with nRF9160 and current NCS versions, you should plan on MQTT 3.1 or 3.1.1.

    Regards, 

    Don

Children
Related