Is it possible to connect an nrf9160 to more than one broker?
We are intending to use one broker for publish/subscribe topics and another broker for OTA updates.
Is it possible to connect an nrf9160 to more than one broker?
We are intending to use one broker for publish/subscribe topics and another broker for OTA updates.
Hi,
Is it possible to connect an nrf9160 to more than one broker?
Yes, this is possible. As for the library side, you have to set CONFIG_MQTT_MAX_CLIENTS to '2' (or more if that is required).
For the application side, you have to declare a new struct mqtt_client, and set that up as per your needs.
Kind regards,
Håkon
Hi,
Is it possible to connect an nrf9160 to more than one broker?
Yes, this is possible. As for the library side, you have to set CONFIG_MQTT_MAX_CLIENTS to '2' (or more if that is required).
For the application side, you have to declare a new struct mqtt_client, and set that up as per your needs.
Kind regards,
Håkon
That is great news. Thank you so much for the very quick response.