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
  • Other commands work fine, including the responses. I couldn't get either teraterm or putty to send anything to nrf9160DK. Couldn't write anything to terminal, neither program accepted any typing to terminal.

    EDIT: Realterm works fine, also exits data mode. I am beginning to think that there is something wrong with my code. I will do more tests later.

    Thanks for your support and I will contact you again if I still cannot get my code to work.

Children
Related