LTE link monitor not accepting any AT commands after publishing to mqtt broker in data mode with nrf9160DK and SLM

Hi,

after connecting to our mqtt broker I set nrf9160DK to data mode and publish data to our mqtt broker:

AT#XMQTTCON=1,"xxx","xxx","xxx","xxx.xxx.com",1883
OK
#XMQTTEVT: 0,0
AT#XMQTTPUB="xxx/status/1_2"
OK
test+++
#XMQTTMSG: 23,9
eecfc1b1fb5b/status/1_2
#XMQTTEVT: 2,0

After this LTE link monitor is not accepting any AT commands. It keeps receiving mqtt connection ping though: #XMQTTEVT: 9,0

Here is RTT log of SLM:

00> [00:00:00.497,924] <inf> slm: Serial LTE Modem
00> [00:00:00.598,724] <inf> slm_at_host: at_host init done
00> [00:01:28.139,709] <inf> slm_at_host: Enter datamode
00> [00:01:36.501,831] <inf> slm_at_host: time limit reached
00> [00:01:36.501,892] <inf> slm_at_host: Raw send 9
00> [00:01:36.508,483] <inf> slm_mqtt: datamode send: 0

how do I get back to normal mode where I can send AT commands again?

Parents Reply
  • I can't write anything on putty or teraterm, nothing showing on terminal when i write, just "ready" when nrf9160 is reset, i.e. putty:

    But this isn't really the issue, I just want to know how to exit data mode. I am also using external MCU(nrf52840) with nrf9160dk and trying to publish to our mqtt broker, it publishes ok, but never exits the data mode. So whatever I write to uart after initially entering data mode are published to our mqtt broker and not handled as At commands.

Children
Related