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

mqttEventHandler() not called for PUBACK Event when MQTT publish with QOS 1 (LTE/GPS USE)

I try to use GPS and LTE together in the nRF9160DK.

To do so I turn LTE on, connect to MQTT broker and send a message which got PUBACK handled in mqttEventHandler().

Then I turn GPS ON and then turn OFF (after a delay MAX of KeepAlive with nrf_setsockop(...,...,NRF_SO_GNSS_STOP,...,...)) before publishing a new message on broker.

Issue happen when GPS is OFF (after turned off) and I send a message to the broker with QOS 1.

The message arrived well on the broker but no PUBACK is got from the mqttEventHandler().

When GPS is OFF from the beginning, PUBACK is each time well handled from mqttEventHandler().

Parents Reply Children
No Data
Related