This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How can I dynamically assign the MQTT broker address?

How can I dynamically assign the MQTT broker address

Hi all, I have a general question how to assign the MQTT broker address dynamically. Current Nordic IoT-SDK mqtt examples assign the mqtt broker address at compile time. What would be the best ( or standardized) way to implement a dynamic configuration for the nrf51.

Possible solutions:

  • add an additional service and configure it over BLE via Smart-phone.
  • or connect the nrf51 to border router and configure it over IPv6

Does anybody know which is the best solution? Thanks !