nRF9160 SLM data mode exit

Hi,

I'm using nRF9160 to send real-time data over MQTT. I'm doing 1 MQTT publish per second. It works most of the time, however, I noticed that the modem couldn't exit the data mode occasionally. I append "+++" at the end of the data, but the modem remains in the data mode. Any suggestions on how to exit data mode correctly?

I'm using SLM 2.0.2 with modem FW 1.3.2

Thanks,

Parents
  • Hello, 

    Due to Christmas Holidays our team is lower staffed than normal and some delays in our answers must be expected. We apologize for the inconvenience.


    I will have a look at your ticket and get back to within today or tomorrow.

    Kind regards,
    Øyvind

  • Hello, are you getting any errors in RTT or log output?

    Kind regards,
    Øyvind

  • Hi Øyvind,

    Thanks for the suggestion. Under normal conditions, the modem should do the following:

    Enters data mode --> sends ABC bytes --> sends XYZ bytes --> exits data mode (by appending "+++" at the end of sending XYZ bytes).

    The RTT viewer for normal conditions looks like this:

    However, the "+++" doesn't always work immediately. The abnormal conditions look like this:

    Enter data mode --> sends ABC bytes --> sends XYZ bytes (with "+++" appended in the end) --> sends QRS bytes --> exits data mode. Although the modem receives the "+++" at the end of XYZ bytes, it doesn't actually exit the data mode until QRS was sent.

    From this capture, the modem receives "+++" symbol at time 00:14:57.111,145, but didn't exit data mode until the next blob was sent 00:14:58.559,844.

    This confuses my state machine, so part of the command was treated as data and being sent.

    Any suggestions?

    Thanks!

Reply
  • Hi Øyvind,

    Thanks for the suggestion. Under normal conditions, the modem should do the following:

    Enters data mode --> sends ABC bytes --> sends XYZ bytes --> exits data mode (by appending "+++" at the end of sending XYZ bytes).

    The RTT viewer for normal conditions looks like this:

    However, the "+++" doesn't always work immediately. The abnormal conditions look like this:

    Enter data mode --> sends ABC bytes --> sends XYZ bytes (with "+++" appended in the end) --> sends QRS bytes --> exits data mode. Although the modem receives the "+++" at the end of XYZ bytes, it doesn't actually exit the data mode until QRS was sent.

    From this capture, the modem receives "+++" symbol at time 00:14:57.111,145, but didn't exit data mode until the next blob was sent 00:14:58.559,844.

    This confuses my state machine, so part of the command was treated as data and being sent.

    Any suggestions?

    Thanks!

Children
Related