Hi Devzone,
I use original mqtt_simple example to test connecting with MQTT Broker.
I ran it on Ubuntu, SDK v1.5.99. When I press button to publish message, some errors happen:


When I downgrade to v1.5.1, it woks well.
Hi Devzone,
I use original mqtt_simple example to test connecting with MQTT Broker.
I ran it on Ubuntu, SDK v1.5.99. When I press button to publish message, some errors happen:


When I downgrade to v1.5.1, it woks well.
Hello,
When I downgrade to v1.5.1, it woks well.
It sounds like there is an issue in the master branch. This is why we encourage customers to use the latest tags (v1.5.1), as the master branch often might be unstable due to new and untested functionality.
Is there anything special you need to use from the master branch?
You can find root cause by looking up the faulting instruction address in zephyr.elf, running the following line. addr2line is found in GNU Arm Embedded Toolchain
addr2line -e nrf\samples\nrf9160\mqtt_simple\build_thingy91_nrf9160ns\zephyr.elf
See my colleague Didrik's answer here for more info.
Kind regards,
Øyvind
Hello,
When I downgrade to v1.5.1, it woks well.
It sounds like there is an issue in the master branch. This is why we encourage customers to use the latest tags (v1.5.1), as the master branch often might be unstable due to new and untested functionality.
Is there anything special you need to use from the master branch?
You can find root cause by looking up the faulting instruction address in zephyr.elf, running the following line. addr2line is found in GNU Arm Embedded Toolchain
addr2line -e nrf\samples\nrf9160\mqtt_simple\build_thingy91_nrf9160ns\zephyr.elf
See my colleague Didrik's answer here for more info.
Kind regards,
Øyvind