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

Several issues encountered with nrf9160 to AWS IOT

Hi,

We modified the lte_ble_gateway example and connected to our aws iot server. And have faced few issues so far and would like to get some hint from you.

We are using mfwnrf9160100 firmware and NCS V1.0.0.

1. MQTT: Seems the mqtt link becomes unstable and there is no puback returned from AWS IOT after sending data few rounds, when sending data interval is 10 minutes, even when mqtt_live and mqtt_input are called every 3 minutes. The mqtt_keep_alive was set to 1200 during mqtt_connect. But the link becomes much stable after reducing the sending data interval to 5 minutes. We would like to be able to send data every hour while ping mqtt every 10 or 20 minutes to keep the mqtt link alive.

2. MQTT: Even the CONFIG_MQTT_KEEPALIVE is set to 1200, we are not able to maintain the mqtt link stable even when we call mqtt_ping every 10 minutes.

3. BSD: getting ERROR_BSD_RECOVERABLE: 3 when sending data interval is 10 minutes

4. LTE_LC: Seems the application is not able to exit lte_lc_power_off() if the lte link is dropped accidentally? I have to force rebooting the application when the lte link is lost, instead of power off the modem first.

5. DEBUG: even when log_level is set to 4 for mqtt module and other modules, debug output will be printed in LTE_LINK_MONITOR app. But after LTE link and mqtt link are established, all debug output are gone and there is only output from main printk function.

It is really a good product and looking forwards to your reply!

Thanks a lot! 

Related