serial_lte_modem AT#XFTP="put" SLM data mode and escaping data?

So I have to upload a bunch of files, some contain arbitrary data that might contain +,\r,\n,\ ext

So there are two different ways of using the FTP put command, one is in SLM data mode, the other is inline in quotes and I am having huge issues with both

**inline Mode?**
AT#XFTP="open","******username********","*******password*****","*******domain*******"
AT#XFTP="verbose","on"
AT#XFTP="binary"
AT#XFTP="put","test.txt","this is test content"
AT#XFTP="close"


**SLM Data Mode**
AT#XFTP="open","******username********","*******password*****","*******domain*******"
AT#XFTP="verbose","on"
AT#XFTP="binary"
AT#XFTP="put","test.txt"
this is test content
AT#XFTP="close"

We can talk about these two options:

Option1 is what I call inline mode:

if I try to include a  \" inside the first option, or a \r\n in the next the modem will just lock up for a long time. Is there any way to send a bunch of arbitrary binary data as long as I escape it somehow? since backslash doesn't seem to be working

Example that will fail:

AT#XFTP="open","******username********","*******password*****","*******domain*******"
AT#XFTP="verbose","on"
AT#XFTP="binary"
AT#XFTP="put","test.txt","this is\" test content"
AT#XFTP="close"

Option2: Is what you guys call SLM data mode:

According to the documentation and from what I can see in the code, the only way the modem should exit SLM data mode is after a timeout, or by sending +++

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/slm_data_mode.html

But this doesn't happen, it only seems to exit SLM mode when I send a \r\n but there appears to be no way of escaping this?

Another problem is if I just pretend the first issue isnt a thing and remove all new lines from my data(which I really can't do, this is just for exploring the other problem I am having) and send +++ it shows up in the file that is uploaded to the server?

Example that will write part of a file and then get an error because it drops out of SLM too soon:

AT#XFTP="open","******username********","*******password*****","*******domain*******"
AT#XFTP="verbose","on"
AT#XFTP="binary"
AT#XFTP="put","test.txt"
this is \r\ntest content+++
AT#XFTP="close"

If I try to use the +++ as intended from the documentation:

AT#XFTP="open","******username********","*******password*****","*******domain*******"
AT#XFTP="verbose","on"
AT#XFTP="binary"
AT#XFTP="put","test.txt"
this is test content+++
AT#XFTP="close"

I end up with a file on the server including the +++:

this is test content+++

This example will also fail if you do not send a \r\n at the end of the test content line even though the +++ is supposed to terminate it.

Few quite baffling things that do not follow normal conventions or even the documentation?

Parents
  • Hi Kyle,

    Thanks for your feedback, I have tested your observation and agree that we should improve the implementation of these parts.

    I will talk with our development team and give you a reply later.

    Best regards,

    Charlie

  • Charlie,

    Did you hear back from the dev team about this issue?

    Thanks,

    Kyle

  • Hello Charlie,

    In regards to the last post on the other thread, I am running 1.3.1 MFW

    1) I know the documentation says its a 1 second timeout on this but in practice my modem seems to be staying in MPUT mode until hardware reset.

    2)3) Exact same issue on the DK hardware vs my own board. I think the simplest example will be to just turn the modem on and PDA connect, then ping google.ca and then a few other domains including nordicsemi.com

    2022-01-31 ping failure.log

    Thanks

    Kyle

    Edit: I should add, these logs were done on the DK hardware using MFW 1.3.1 and serial_lte_modem 1.8.0

  • Here is a log from the rare event when I actually get connected to the server, I am basically connecting with the LTE Link monitor... setting up my network and connecting to the FTP server then sending:

    AT#XFTP="put","test.txt"
    this is test content\x0A\x0Dand more on another line

    and then the modem mostly just locks up for a LONNGG time and I need to reset it.

    # SEGGER J-Link RTT Viewer V7.58b Terminal Log File
    # Compiled: 15:03:12 on Nov 16 2021
    # Logging started @ 31 Jan 2022 15:53:31
    00> [00:02:45.917,480] <dbg> slm_at_host: RX
    00>                                       41 54 23 58 46 54 50 3d  22 76 65 72 62 6f 73 65 |AT#XFTP= "verbose
    00>                                       22 2c 22 6f 6e 22                                |","on"           
    00> [00:02:45.917,968] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:02:45.918,182] <dbg> slm_at_host: TX
    00>                                       0d 0a 56 65 72 62 6f 73  65 20 6d 6f 64 65 20 6f |..Verbos e mode o
    00>                                       6e 0d 0a                                         |n..              
    00> [00:02:45.918,212] <dbg> slm_at_host: TX
    00>                                       0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:02:50.536,468] <dbg> slm_at_host: RX
    00>                                       41 54 23 58 46 54 50 3d  22 62 69 6e 61 72 79 22 |AT#XFTP= "binary"
    00> [00:02:50.536,956] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:02:51.029,846] <dbg> slm_at_host: TX
    00>                                       32 30 30 20 54 59 50 45  20 69 73 20 6e 6f 77 20 |200 TYPE  is now 
    00>                                       38 2d 62 69 74 20 62 69  6e 61 72 79 0d 0a       |8-bit bi nary..  
    00> [00:02:51.029,907] <dbg> slm_at_host: TX
    00>                                       0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:02:51.032,592] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:02:51.033,142] <dbg> slm_at_host: TX
    00>                                       25 43 45 53 51 3a 20 36  34 2c 33 2c 31 34 2c 32 |%CESQ: 6 4,3,14,2
    00>                                       0d 0a                                            |..               
    00> [00:02:55.353,790] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:02:55.353,851] <dbg> slm_at_host: TX
    00>                                       25 43 45 53 51 3a 20 36  34 2c 33 2c 39 2c 31 0d |%CESQ: 6 4,3,9,1.
    00>                                       0a                                               |.                
    00> [00:02:55.823,333] <dbg> slm_at_host: RX
    00>                                       41 54 23 58 46 54 50 3d  22 63 64 22 2c 22 2f 74 |AT#XFTP= "cd","/t
    00>                                       65 73 74 2f 22                                   |est/"            
    00> [00:02:55.823,822] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:02:56.034,149] <dbg> slm_at_host: TX
    00>                                       32 35 30 20 4f 4b 2e 20  43 75 72 72 65 6e 74 20 |250 OK.  Current 
    00>                                       64 69 72 65 63 74 6f 72  79 20 69 73 20 2f 74 65 |director y is /te
    00>                                       73 74 0d 0a                                      |st..             
    00> [00:02:56.034,210] <dbg> slm_at_host: TX
    00>                                       0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:03:08.624,969] <dbg> slm_at_host: RX
    00>                                       41 54 23 58 46 54 50 3d  22 70 75 74 22 2c 22 74 |AT#XFTP= "put","t
    00>                                       65 73 74 2e 74 78 74 22                          |est.txt"         
    00> [00:03:08.625,457] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:03:08.625,640] <inf> slm_at_host: Enter datamode
    00> [00:03:10.044,677] <dbg> slm_at_host.uart_callback: RX_RDY 22
    00> [00:03:10.044,738] <inf> slm_at_host: Raw send 22
    00> [00:03:10.044,738] <dbg> slm_at_host: RX-DATAMODE
    00>                                       74 68 69 73 20 69 73 20  74 65 73 74 20 63 6f 6e |this is  test con
    00> [00:03:10.068,847] <dbg> slm_at_host.uart_callback: RX_RDY 26
    00> [00:03:10.262,817] <dbg> slm_at_host: TX
    00>                                       32 32 37 20 45 6e 74 65  72 69 6e 67 20 50 61 73 |227 Ente ring Pas
    00>                                       73 69 76 65 20 4d 6f 64  65 20 28 31 34 39 2c 35 |sive Mod e (149,5
    00>                                       36 2c 32 30 34 2c 34 39  2c 32 34 32 2c 39 33 29 |6,204,49 ,242,93)
    00>                                       0d 0a                                            |..               
    00> [00:03:10.545,837] <dbg> slm_at_host: TX
    00>                                       31 35 30 20 41 63 63 65  70 74 65 64 20 64 61 74 |150 Acce pted dat
    00>                                       61 20 63 6f 6e 6e 65 63  74 69 6f 6e 0d 0a       |a connec tion..  
    00> [00:03:10.570,800] <dbg> slm_at_host: TX
    00>                                       32 32 36 2d 31 38 38 37  20 4b 62 79 74 65 73 20 |226-1887  Kbytes 
    00>                                       75 73 65 64 20 28 30 25  29 20 2d 20 61 75 74 68 |used (0% ) - auth
    00>                                       6f 72 69 7a 65 64 3a 20  32 30 34 38 30 30 30 20 |orized:  2048000 
    00>                                       4b 62 0d 0a 32 32 36 2d  46 69 6c 65 20 73 75 63 |Kb..226- File suc
    00>                                       63 65 73 73 66 75 6c 6c  79 20 74 72 61 6e 73 66 |cessfull y transf
    00>                                       65 72 72 65 64 0d 0a 32  32 36 20 30 2e 30 31 32 |erred..2 26 0.012
    00>                                       20 73 65 63 6f 6e 64 73  20 28 6d 65 61 73 75 72 | seconds  (measur
    00>                                       65 64 20 68 65 72 65 29  2c 20 31 2e 37 37 20 4b |ed here) , 1.77 K
    00>                                       62 79 74 65 73 20 70 65  72 20 73 65 63 6f 6e 64 |bytes pe r second
    00>                                       0d 0a                                            |..               
    00> [00:03:10.571,441] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:03:10.581,054] <dbg> slm_at_host: TX
    00>                                       0d 0a 23 58 44 41 54 41  4d 4f 44 45 3a 20 30 0d |..#XDATA MODE: 0.
    00>                                       0a                                               |.                
    00> [00:03:10.583,618] <inf> slm_at_host: Exit datamode
    00> [00:03:10.583,648] <inf> slm_ftp: datamode send: 0
    (Connection lost)
    
    # Logging stopped @ 31 Jan 2022 15:55:28
    
    # SEGGER J-Link RTT Viewer V7.58b Terminal Log File
    # Compiled: 15:03:12 on Nov 16 2021
    # Logging started @ 31 Jan 2022 15:56:23
    00>                                       41 54 2b 43 46 55 4e 3d  31                      |AT+CFUN= 1[00:00:41.413,452] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:41.413,970] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:41.420,104] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:41.420,166] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 31 30 2c  36 34 0d 0a 4f 4b 0d 0a |,255,10, 64..OK..
    00> [00:00:42.398,345] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:42.398,864] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:42.404,998] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:42.405,059] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 31 30 2c  36 34 0d 0a 4f 4b 0d 0a |,255,10, 64..OK..
    00> [00:00:43.408,416] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:43.408,935] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:43.415,069] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:43.415,130] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 31 30 2c  36 34 0d 0a 4f 4b 0d 0a |,255,10, 64..OK..
    00> [00:00:44.410,400] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:44.410,919] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:44.417,053] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:44.417,114] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 39 2c 36  34 0d 0a 4f 4b 0d 0a    |,255,9,6 4..OK.. 
    00> [00:00:45.402,343] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:45.402,862] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:45.408,996] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:45.409,057] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 36  33 0d 0a 4f 4b 0d 0a    |,255,7,6 3..OK.. 
    00> [00:00:46.413,391] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:46.413,909] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:46.420,043] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:46.420,104] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  33 0d 0a 4f 4b 0d 0a    |,255,8,6 3..OK.. 
    00> [00:00:47.400,268] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:47.400,787] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:47.406,921] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:47.406,951] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  33 0d 0a 4f 4b 0d 0a    |,255,8,6 3..OK.. 
    00> [00:00:48.409,301] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:48.409,820] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:48.415,954] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:48.416,015] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 36  33 0d 0a 4f 4b 0d 0a    |,255,7,6 3..OK.. 
    00> [00:00:49.407,257] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:49.407,775] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:49.413,909] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:49.413,970] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,8,6 2..OK.. 
    00> [00:00:50.403,198] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:50.403,717] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:50.409,851] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:50.409,912] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,7,6 2..OK.. 
    00> [00:00:51.405,181] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:51.405,700] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.411,834] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.411,895] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,7,6 2..OK.. 
    00> [00:00:52.400,115] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:52.400,634] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:52.406,768] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:52.406,799] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,7,6 2..OK.. 
    00> [00:00:53.403,106] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:53.403,625] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.409,759] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.409,820] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,8,6 2..OK.. 
    00> [00:00:54.412,139] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:54.412,658] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:54.418,792] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:54.418,853] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,8,6 2..OK.. 
    00> [00:00:55.158,386] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:55.158,416] <dbg> slm_at_host: TX
    00>                                       25 43 45 53 51 3a 20 35  30 2c 32 2c 37 2c 31 0d |%CESQ: 5 0,2,7,1.
    00>                                       0a                                               |.                
    00> [00:00:55.411,102] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:55.411,621] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:55.417,755] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:55.417,785] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 35  30 0d 0a 4f 4b 0d 0a    |,255,7,5 0..OK.. 
    00> [00:00:56.414,093] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:56.414,611] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:56.414,825] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:56.414,886] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 35  30 0d 0a 4f 4b 0d 0a    |,255,7,5 0..OK.. 
    00> [00:00:56.438,018] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:56.438,079] <dbg> slm_at_host: TX
    00>                                       25 43 45 53 51 3a 20 35  35 2c 32 2c 39 2c 31 0d |%CESQ: 5 5,2,9,1.
    00>                                       0a                                               |.                
    00> [00:00:57.413,208] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:57.413,726] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:57.419,860] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:57.419,891] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 39 2c 35  35 0d 0a 4f 4b 0d 0a    |,255,9,5 5..OK.. 
    00> [00:00:58.410,156] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:58.410,675] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:58.416,809] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:58.416,870] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 39 2c 35  38 0d 0a 4f 4b 0d 0a    |,255,9,5 8..OK.. 
    00> [00:00:58.998,382] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:58.998,443] <dbg> slm_at_host: TX
    00>                                       25 43 45 53 51 3a 20 36  30 2c 33 2c 39 2c 31 0d |%CESQ: 6 0,3,9,1.
    00>                                       0a                                               |.                
    00> [00:00:59.407,104] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:59.407,623] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:59.413,757] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:59.413,787] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 39 2c 36  30 0d 0a 4f 4b 0d 0a    |,255,9,6 0..OK.. 
    00> [00:01:00.401,031] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:00.401,550] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:00.407,684] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:00.407,745] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  30 0d 0a 4f 4b 0d 0a    |,255,8,6 0..OK.. 
    00> [00:01:01.401,000] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:01.401,489] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:01.407,623] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:01.407,653] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  30 0d 0a 4f 4b 0d 0a    |,255,8,6 0..OK.. 
    00> [00:01:02.398,925] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:02.399,444] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:02.405,578] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:02.405,639] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 36  31 0d 0a 4f 4b 0d 0a    |,255,7,6 1..OK.. 
    00> [00:01:03.414,001] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:03.414,520] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:03.420,654] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:03.420,684] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,7,6 2..OK.. 
    00> [00:01:04.406,921] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:04.407,440] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:04.413,574] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:04.413,635] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 39 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,9,6 2..OK.. 
    00> [00:01:05.399,841] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:05.400,360] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:05.406,494] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:05.406,555] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  33 0d 0a 4f 4b 0d 0a    |,255,8,6 3..OK.. 
    00> [00:01:06.399,810] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:06.400,299] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:06.406,433] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:06.406,463] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  33 0d 0a 4f 4b 0d 0a    |,255,8,6 3..OK.. 
    00> [00:01:07.398,742] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:07.399,261] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:07.405,395] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:07.405,456] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,8,6 2..OK.. 
    00> [00:01:08.408,782] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:08.409,301] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:08.415,435] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:08.415,496] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,8,6 2..OK.. 
    00> [00:01:09.402,709] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:09.403,228] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:09.409,393] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:09.409,454] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,8,6 2..OK.. 
    00> [00:01:10.399,719] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:10.400,238] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:10.406,372] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:10.406,402] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,8,6 2..OK.. 
    00> [00:01:11.412,780] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:11.413,299] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:11.419,433] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:11.419,494] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,7,6 2..OK.. 
    00> [00:01:11.994,842] <dbg> slm_at_host: RX
    00>                                       41 54 23 58 46 54 50 3d  22 76 65 72 62 6f 73 65 |AT#XFTP= "verbose
    00>                                       22 2c 22 6f 6e 22                                |","on"           
    00> [00:01:11.995,330] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:11.995,483] <dbg> slm_at_host: TX
    00>                                       0d 0a 56 65 72 62 6f 73  65 20 6d 6f 64 65 20 6f |..Verbos e mode o
    00>                                       6e 0d 0a                                         |n..              
    00> [00:01:11.995,544] <dbg> slm_at_host: TX
    00>                                       0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:01:12.399,139] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:12.399,658] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:12.405,792] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:12.405,853] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,7,6 2..OK.. 
    00> [00:01:13.412,231] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:13.412,750] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:13.418,884] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:13.418,914] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 37 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,7,6 2..OK.. 
    00> [00:01:14.401,123] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:01:14.401,641] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:14.407,775] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:01:14.407,836] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 38 2c 36  32 0d 0a 4f 4b 0d 0a    |,255,8,6 2..OK.. 
    00> [00:01:22.331,848] <dbg> slm_at_host: RX
    00>                                       41 54 23 58 46 54 50 3d  22 70 75 74 22 2c 22 74 |AT#XFTP= "put","t
    00>                                       65 73 74 2e 74 78 74 22                          |est.txt"         
    00> [00:01:22.332,336] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:22.332,519] <inf> slm_at_host: Enter datamode
    00> [00:01:23.603,515] <dbg> slm_at_host.uart_callback: RX_RDY 22
    00> [00:01:23.603,546] <inf> slm_at_host: Raw send 22
    00> [00:01:23.603,576] <dbg> slm_at_host: RX-DATAMODE
    00>                                       74 68 69 73 20 69 73 20  74 65 73 74 20 63 6f 6e |this is  test con
    00> [00:01:23.629,699] <dbg> slm_at_host.uart_callback: RX_RDY 26
    00> [00:01:23.750,122] <dbg> slm_at_host: TX
    00>                                       32 32 37 20 45 6e 74 65  72 69 6e 67 20 50 61 73 |227 Ente ring Pas
    00>                                       73 69 76 65 20 4d 6f 64  65 20 28 31 34 39 2c 35 |sive Mod e (149,5
    00>                                       36 2c 32 30 34 2c 34 39  2c 32 34 38 2c 31 35 39 |6,204,49 ,248,159
    00>                                       29 0d 0a                                         |)..              
    00> [00:01:24.290,130] <dbg> slm_at_host: TX
    00>                                       31 35 30 20 41 63 63 65  70 74 65 64 20 64 61 74 |150 Acce pted dat
    00>                                       61 20 63 6f 6e 6e 65 63  74 69 6f 6e 0d 0a       |a connec tion..  
    00> [00:01:24.337,310] <dbg> slm_at_host: TX
    00>                                       32 32 36 2d 31 38 38 37  20 4b 62 79 74 65 73 20 |226-1887  Kbytes 
    00>                                       75 73 65 64 20 28 30 25  29 20 2d 20 61 75 74 68 |used (0% ) - auth
    00>                                       6f 72 69 7a 65 64 3a 20  32 30 34 38 30 30 30 20 |orized:  2048000 
    00>                                       4b 62 0d 0a 32 32 36 2d  46 69 6c 65 20 73 75 63 |Kb..226- File suc
    00>                                       63 65 73 73 66 75 6c 6c  79 20 74 72 61 6e 73 66 |cessfull y transf
    00>                                       65 72 72 65 64 0d 0a 32  32 36 20 30 2e 30 30 39 |erred..2 26 0.009
    00>                                       20 73 65 63 6f 6e 64 73  20 28 6d 65 61 73 75 72 | seconds  (measur
    00>                                       65 64 20 68 65 72 65 29  2c 20 32 2e 31 37 20 4b |ed here) , 2.17 K
    00>                                       62 79 74 65 73 20 70 65  72 20 73 65 63 6f 6e 64 |bytes pe r second
    00>                                       0d 0a                                            |..               
    00> [00:01:24.337,951] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:24.347,564] <dbg> slm_at_host: TX
    00>                                       0d 0a 23 58 44 41 54 41  4d 4f 44 45 3a 20 30 0d |..#XDATA MODE: 0.
    00>                                       0a                                               |.                
    00> [00:01:24.350,158] <inf> slm_at_host: Exit datamode
    00> [00:01:24.350,158] <inf> slm_ftp: datamode send: 0
    (Connection lost)
    
    # Logging stopped @ 31 Jan 2022 15:57:13
    

    Here is a log of the connection/ping when it does manage to connect and the SLM failure following:

    # SEGGER J-Link RTT Viewer V7.58b Terminal Log File
    # Compiled: 15:03:12 on Nov 16 2021
    # Logging started @ 31 Jan 2022 16:02:00
    00> [00:00:48.158,874] <dbg> slm_at_host: RX
    00>                                       41 54                                            |AT               
    00> [00:00:48.159,362] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:48.165,405] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:48.165,435] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:49.096,282] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 46 55 4e 3f                          |AT+CFUN?         
    00> [00:00:49.096,801] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:49.102,905] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:49.102,935] <dbg> slm_at_host: TX
    00>                                       2b 43 46 55 4e 3a 20 30  0d 0a 4f 4b 0d 0a       |+CFUN: 0 ..OK..  
    00> [00:00:49.911,926] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 46 55 4e 3d  31                      |AT+CFUN= 1       
    00> [00:00:49.912,445] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:49.948,303] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:49.948,333] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:50.855,010] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 46 55 4e 3f                          |AT+CFUN?         
    00> [00:00:50.855,529] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:50.855,590] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:50.855,621] <dbg> slm_at_host: TX
    00>                                       2b 43 46 55 4e 3a 20 31  0d 0a 4f 4b 0d 0a       |+CFUN: 1 ..OK..  
    00> [00:00:50.876,068] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 53 4e 3d  31                      |AT+CGSN= 1       
    00> [00:00:50.876,586] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:50.876,708] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:50.876,739] <dbg> slm_at_host: TX
    00>                                       2b 43 47 53 4e 3a 20 22  33 35 32 36 35 36 31 30 |+CGSN: " 35265610
    00>                                       36 31 31 34 30 36 32 22  0d 0a 4f 4b 0d 0a       |6114062" ..OK..  
    00> [00:00:50.898,193] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 4d 49                             |AT+CGMI          
    00> [00:00:50.898,712] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:50.900,848] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:50.900,909] <dbg> slm_at_host: TX
    00>                                       4e 6f 72 64 69 63 20 53  65 6d 69 63 6f 6e 64 75 |Nordic S emicondu
    00>                                       63 74 6f 72 20 41 53 41  0d 0a 4f 4b 0d 0a       |ctor ASA ..OK..  
    00> [00:00:50.915,313] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 4d 4d                             |AT+CGMM          
    00> [00:00:50.915,832] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:50.915,924] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:50.915,985] <dbg> slm_at_host: TX
    00>                                       6e 52 46 39 31 36 30 2d  53 49 43 41 0d 0a 4f 4b |nRF9160- SICA..OK
    00>                                       0d 0a                                            |..               
    00> [00:00:50.926,361] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 4d 52                             |AT+CGMR          
    00> [00:00:50.926,879] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:50.926,940] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:50.926,971] <dbg> slm_at_host: TX
    00>                                       6d 66 77 5f 6e 72 66 39  31 36 30 5f 31 2e 33 2e |mfw_nrf9 160_1.3.
    00>                                       31 0d 0a 4f 4b 0d 0a                             |1..OK..          
    00> [00:00:50.943,389] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 4d 4f 44  45 3f                   |AT+CEMOD E?      
    00> [00:00:50.943,908] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:50.944,305] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:50.944,366] <dbg> slm_at_host: TX
    00>                                       2b 43 45 4d 4f 44 45 3a  20 32 0d 0a 4f 4b 0d 0a |+CEMODE:  2..OK..
    00> [00:00:50.965,820] <dbg> slm_at_host: RX
    00>                                       41 54 25 58 43 42 41 4e  44 3d 3f                |AT%XCBAN D=?     
    00> [00:00:50.966,339] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:50.966,552] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:50.966,613] <dbg> slm_at_host: TX
    00>                                       25 58 43 42 41 4e 44 3a  20 28 31 2c 32 2c 33 2c |%XCBAND:  (1,2,3,
    00>                                       34 2c 35 2c 38 2c 31 32  2c 31 33 2c 31 38 2c 31 |4,5,8,12 ,13,18,1
    00>                                       39 2c 32 30 2c 32 35 2c  32 36 2c 32 38 2c 36 36 |9,20,25, 26,28,66
    00>                                       29 0d 0a 4f 4b 0d 0a                             |)..OK..          
    00> [00:00:50.991,088] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 4d 45 45 3f                          |AT+CMEE?         
    00> [00:00:50.991,607] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:50.991,638] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:50.991,699] <dbg> slm_at_host: TX
    00>                                       2b 43 4d 45 45 3a 20 30  0d 0a 4f 4b 0d 0a       |+CMEE: 0 ..OK..  
    00> [00:00:51.007,110] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 4d 45 45 3d  31                      |AT+CMEE= 1       
    00> [00:00:51.007,629] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.007,690] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.007,751] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:51.022,155] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 4e 45 43 3f                          |AT+CNEC?         
    00> [00:00:51.022,644] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.022,735] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.022,796] <dbg> slm_at_host: TX
    00>                                       2b 43 4e 45 43 3a 20 30  0d 0a 4f 4b 0d 0a       |+CNEC: 0 ..OK..  
    00> [00:00:51.040,222] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 4e 45 43 3d  32 34                   |AT+CNEC= 24      
    00> [00:00:51.040,740] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.040,832] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.040,863] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:51.051,239] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 45 52 45  50 3f                   |AT+CGERE P?      
    00> [00:00:51.051,757] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.051,849] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.051,910] <dbg> slm_at_host: TX
    00>                                       2b 43 47 45 52 45 50 3a  20 30 2c 30 0d 0a 4f 4b |+CGEREP:  0,0..OK
    00>                                       0d 0a                                            |..               
    00> [00:00:51.065,277] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 44 43 4f  4e 54 3f                |AT+CGDCO NT?     
    00> [00:00:51.065,795] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.065,917] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.065,948] <dbg> slm_at_host: TX
    00>                                       2b 43 47 44 43 4f 4e 54  3a 20 30 2c 22 22 2c 22 |+CGDCONT : 0,"","
    00>                                       22 2c 22 22 2c 30 2c 30  0d 0a 4f 4b 0d 0a       |","",0,0 ..OK..  
    00> [00:00:51.089,416] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 41 43 54  3f                      |AT+CGACT ?       
    00> [00:00:51.089,935] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.090,026] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.090,057] <dbg> slm_at_host: TX
    00>                                       2b 43 47 41 43 54 3a 20  30 2c 30 0d 0a 4f 4b 0d |+CGACT:  0,0..OK.
    00>                                       0a                                               |.                
    00> [00:00:51.107,482] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 45 52 45  50 3d 31                |AT+CGERE P=1     
    00> [00:00:51.108,001] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.108,093] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.108,123] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:51.120,513] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 49 4e 44 3d  31 2c 31 2c 31          |AT+CIND= 1,1,1   
    00> [00:00:51.121,032] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.121,368] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.121,429] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:51.135,833] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 52 45 47  3d 35                   |AT+CEREG =5      
    00> [00:00:51.136,352] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.136,474] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.136,505] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:51.149,902] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 52 45 47  3f                      |AT+CEREG ?       
    00> [00:00:51.150,421] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.150,604] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.150,665] <dbg> slm_at_host: TX
    00>                                       2b 43 45 52 45 47 3a 20  35 2c 32 2c 22 32 42 31 |+CEREG:  5,2,"2B1
    00>                                       43 22 2c 22 30 31 41 46  45 41 30 43 22 2c 37 0d |C","01AF EA0C",7.
    00>                                       0a 4f 4b 0d 0a                                   |.OK..            
    00> [00:00:51.173,126] <dbg> slm_at_host: RX
    00>                                       41 54 25 43 45 53 51 3d  31                      |AT%CESQ= 1       
    00> [00:00:51.173,645] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.173,736] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.173,767] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:51.174,438] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.174,499] <dbg> slm_at_host: TX
    00>                                       25 43 45 53 51 3a 20 36  34 2c 33 2c 31 31 2c 31 |%CESQ: 6 4,3,11,1
    00>                                       0d 0a                                            |..               
    00> [00:00:51.190,185] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:51.190,704] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.190,826] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.190,887] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 31 31 2c  36 34 0d 0a 4f 4b 0d 0a |,255,11, 64..OK..
    00> [00:00:51.207,305] <dbg> slm_at_host: RX
    00>                                       41 54 25 58 53 49 4d 3d  31                      |AT%XSIM= 1       
    00> [00:00:51.207,824] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.207,916] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.207,946] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:51.221,343] <dbg> slm_at_host: RX
    00>                                       41 54 25 58 53 49 4d 3f                          |AT%XSIM?         
    00> [00:00:51.221,862] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.221,954] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.221,984] <dbg> slm_at_host: TX
    00>                                       25 58 53 49 4d 3a 20 31  0d 0a 4f 4b 0d 0a       |%XSIM: 1 ..OK..  
    00> [00:00:51.247,467] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 50 49 4e 3f                          |AT+CPIN?         
    00> [00:00:51.247,985] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.248,046] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.248,107] <dbg> slm_at_host: TX
    00>                                       2b 43 50 49 4e 3a 20 52  45 41 44 59 0d 0a 4f 4b |+CPIN: R EADY..OK
    00>                                       0d 0a                                            |..               
    00> [00:00:51.267,578] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 50 49 4e 52  3d 22 53 49 4d 20 50 49 |AT+CPINR ="SIM PI
    00>                                       4e 22                                            |N"               
    00> [00:00:51.268,066] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.282,867] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.282,928] <dbg> slm_at_host: TX
    00>                                       2b 43 50 49 4e 52 3a 20  22 53 49 4d 20 50 49 4e |+CPINR:  "SIM PIN
    00>                                       22 2c 33 0d 0a 4f 4b 0d  0a                      |",3..OK. .       
    00> [00:00:51.298,339] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 49 4d 49                             |AT+CIMI          
    00> [00:00:51.298,858] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:51.299,041] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:51.299,102] <dbg> slm_at_host: TX
    00>                                       33 30 32 37 36 30 30 30  30 38 37 33 35 35 33 0d |30276000 0873553.
    00>                                       0a 4f 4b 0d 0a                                   |.OK..            
    00> [00:00:52.826,812] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:52.826,843] <dbg> slm_at_host: TX
    00>                                       2b 43 47 45 56 3a 20 4d  45 20 50 44 4e 20 41 43 |+CGEV: M E PDN AC
    00>                                       54 20 30 0d 0a                                   |T 0..            
    00> [00:00:52.827,209] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:52.829,132] <dbg> slm_at_host: TX
    00>                                       2b 43 45 52 45 47 3a 20  31 2c 22 32 42 31 43 22 |+CEREG:  1,"2B1C"
    00>                                       2c 22 30 31 41 46 45 41  30 43 22 2c 37 2c 2c 2c |,"01AFEA 0C",7,,,
    00>                                       22 31 31 31 30 30 30 30  30 22 2c 22 31 31 31 30 |"1110000 0","1110
    00>                                       30 30 30 30 22 0d 0a                             |0000"..          
    00> [00:00:52.829,345] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:52.834,197] <dbg> slm_at_host: TX
    00>                                       2b 43 49 4e 44 3a 20 22  73 65 72 76 69 63 65 22 |+CIND: " service"
    00>                                       2c 31 0d 0a                                      |,1..             
    00> [00:00:52.843,261] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 44 43 4f  4e 54 3f                |AT+CGDCO NT?     
    00> [00:00:52.843,780] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:52.843,963] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:52.843,994] <dbg> slm_at_host: TX
    00>                                       2b 43 47 44 43 4f 4e 54  3a 20 30 2c 22 49 50 22 |+CGDCONT : 0,"IP"
    00>                                       2c 22 6d 32 6d 2e 74 65  6c 75 73 2e 69 6f 74 22 |,"m2m.te lus.iot"
    00>                                       2c 22 31 30 2e 32 30 35  2e 32 31 31 2e 31 34 31 |,"10.205 .211.141
    00>                                       22 2c 30 2c 30 0d 0a 4f  4b 0d 0a                |",0,0..O K..     
    00> [00:00:52.868,469] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 41 43 54  3f                      |AT+CGACT ?       
    00> [00:00:52.868,988] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:52.869,079] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:52.869,140] <dbg> slm_at_host: TX
    00>                                       2b 43 47 41 43 54 3a 20  30 2c 31 0d 0a 4f 4b 0d |+CGACT:  0,1..OK.
    00>                                       0a                                               |.                
    00> [00:00:53.665,039] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 46 55 4e 3f                          |AT+CFUN?         
    00> [00:00:53.665,557] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.671,661] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.671,691] <dbg> slm_at_host: TX
    00>                                       2b 43 46 55 4e 3a 20 31  0d 0a 4f 4b 0d 0a       |+CFUN: 1 ..OK..  
    00> [00:00:53.693,145] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 53 4e 3d  31                      |AT+CGSN= 1       
    00> [00:00:53.693,664] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.699,829] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.699,859] <dbg> slm_at_host: TX
    00>                                       2b 43 47 53 4e 3a 20 22  33 35 32 36 35 36 31 30 |+CGSN: " 35265610
    00>                                       36 31 31 34 30 36 32 22  0d 0a 4f 4b 0d 0a       |6114062" ..OK..  
    00> [00:00:53.717,285] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 4d 49                             |AT+CGMI          
    00> [00:00:53.717,803] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.723,907] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.723,937] <dbg> slm_at_host: TX
    00>                                       4e 6f 72 64 69 63 20 53  65 6d 69 63 6f 6e 64 75 |Nordic S emicondu
    00>                                       63 74 6f 72 20 41 53 41  0d 0a 4f 4b 0d 0a       |ctor ASA ..OK..  
    00> [00:00:53.736,328] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 4d 4d                             |AT+CGMM          
    00> [00:00:53.736,846] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.743,011] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.743,041] <dbg> slm_at_host: TX
    00>                                       6e 52 46 39 31 36 30 2d  53 49 43 41 0d 0a 4f 4b |nRF9160- SICA..OK
    00>                                       0d 0a                                            |..               
    00> [00:00:53.755,432] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 4d 52                             |AT+CGMR          
    00> [00:00:53.755,950] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.762,054] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.762,084] <dbg> slm_at_host: TX
    00>                                       6d 66 77 5f 6e 72 66 39  31 36 30 5f 31 2e 33 2e |mfw_nrf9 160_1.3.
    00>                                       31 0d 0a 4f 4b 0d 0a                             |1..OK..          
    00> [00:00:53.780,517] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 4d 4f 44  45 3f                   |AT+CEMOD E?      
    00> [00:00:53.781,036] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.787,170] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.787,200] <dbg> slm_at_host: TX
    00>                                       2b 43 45 4d 4f 44 45 3a  20 32 0d 0a 4f 4b 0d 0a |+CEMODE:  2..OK..
    00> [00:00:53.800,598] <dbg> slm_at_host: RX
    00>                                       41 54 25 58 43 42 41 4e  44 3d 3f                |AT%XCBAN D=?     
    00> [00:00:53.801,116] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.807,373] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.807,434] <dbg> slm_at_host: TX
    00>                                       25 58 43 42 41 4e 44 3a  20 28 31 2c 32 2c 33 2c |%XCBAND:  (1,2,3,
    00>                                       34 2c 35 2c 38 2c 31 32  2c 31 33 2c 31 38 2c 31 |4,5,8,12 ,13,18,1
    00>                                       39 2c 32 30 2c 32 35 2c  32 36 2c 32 38 2c 36 36 |9,20,25, 26,28,66
    00>                                       29 0d 0a 4f 4b 0d 0a                             |)..OK..          
    00> [00:00:53.828,887] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 4d 45 45 3f                          |AT+CMEE?         
    00> [00:00:53.829,406] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.835,479] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.835,540] <dbg> slm_at_host: TX
    00>                                       2b 43 4d 45 45 3a 20 31  0d 0a 4f 4b 0d 0a       |+CMEE: 1 ..OK..  
    00> [00:00:53.850,921] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 4e 45 43 3f                          |AT+CNEC?         
    00> [00:00:53.851,440] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.855,468] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.855,499] <dbg> slm_at_host: TX
    00>                                       2b 43 4e 45 43 3a 20 32  34 0d 0a 4f 4b 0d 0a    |+CNEC: 2 4..OK.. 
    00> [00:00:53.867,889] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 45 52 45  50 3f                   |AT+CGERE P?      
    00> [00:00:53.868,408] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.874,542] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.874,572] <dbg> slm_at_host: TX
    00>                                       2b 43 47 45 52 45 50 3a  20 31 2c 30 0d 0a 4f 4b |+CGEREP:  1,0..OK
    00>                                       0d 0a                                            |..               
    00> [00:00:53.888,977] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 49 4e 44 3d  31 2c 31 2c 31          |AT+CIND= 1,1,1   
    00> [00:00:53.889,495] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.894,531] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.894,592] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:53.908,996] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 52 45 47  3d 35                   |AT+CEREG =5      
    00> [00:00:53.909,515] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.909,606] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.909,637] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:53.923,034] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 52 45 47  3f                      |AT+CEREG ?       
    00> [00:00:53.923,553] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.923,828] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.923,889] <dbg> slm_at_host: TX
    00>                                       2b 43 45 52 45 47 3a 20  35 2c 31 2c 22 32 42 31 |+CEREG:  5,1,"2B1
    00>                                       43 22 2c 22 30 31 41 46  45 41 30 43 22 2c 37 2c |C","01AF EA0C",7,
    00>                                       2c 2c 22 31 31 31 30 30  30 30 30 22 2c 22 31 31 |,,"11100 000","11
    00>                                       31 30 30 30 30 30 22 0d  0a 4f 4b 0d 0a          |100000". .OK..   
    00> [00:00:53.943,298] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 4f 50 53 3d  33 2c 32                |AT+COPS= 3,2     
    00> [00:00:53.943,817] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.943,908] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.943,939] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:53.958,343] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 4f 50 53 3f                          |AT+COPS?         
    00> [00:00:53.958,862] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.958,953] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.959,014] <dbg> slm_at_host: TX
    00>                                       2b 43 4f 50 53 3a 20 30  2c 32 2c 22 33 30 32 32 |+COPS: 0 ,2,"3022
    00>                                       32 30 22 2c 37 0d 0a 4f  4b 0d 0a                |20",7..O K..     
    00> [00:00:53.983,489] <dbg> slm_at_host: RX
    00>                                       41 54 25 58 43 42 41 4e  44                      |AT%XCBAN D       
    00> [00:00:53.984,008] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:53.984,130] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:53.984,161] <dbg> slm_at_host: TX
    00>                                       25 58 43 42 41 4e 44 3a  20 31 32 0d 0a 4f 4b 0d |%XCBAND:  12..OK.
    00>                                       0a                                               |.                
    00> [00:00:54.000,579] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 44 43 4f  4e 54 3f                |AT+CGDCO NT?     
    00> [00:00:54.001,098] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:54.007,324] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:54.007,385] <dbg> slm_at_host: TX
    00>                                       2b 43 47 44 43 4f 4e 54  3a 20 30 2c 22 49 50 22 |+CGDCONT : 0,"IP"
    00>                                       2c 22 6d 32 6d 2e 74 65  6c 75 73 2e 69 6f 74 22 |,"m2m.te lus.iot"
    00>                                       2c 22 31 30 2e 32 30 35  2e 32 31 31 2e 31 34 31 |,"10.205 .211.141
    00>                                       22 2c 30 2c 30 0d 0a 4f  4b 0d 0a                |",0,0..O K..     
    00> [00:00:54.029,846] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 47 41 43 54  3f                      |AT+CGACT ?       
    00> [00:00:54.030,364] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:54.036,499] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:54.036,560] <dbg> slm_at_host: TX
    00>                                       2b 43 47 41 43 54 3a 20  30 2c 31 0d 0a 4f 4b 0d |+CGACT:  0,1..OK.
    00>                                       0a                                               |.                
    00> [00:00:54.060,028] <dbg> slm_at_host: RX
    00>                                       41 54 25 43 45 53 51 3d  31                      |AT%CESQ= 1       
    00> [00:00:54.060,546] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:54.066,680] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:54.066,711] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:54.076,080] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 45 53 51                             |AT+CESQ          
    00> [00:00:54.076,599] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:54.076,904] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:54.076,934] <dbg> slm_at_host: TX
    00>                                       2b 43 45 53 51 3a 20 39  39 2c 39 39 2c 32 35 35 |+CESQ: 9 9,99,255
    00>                                       2c 32 35 35 2c 31 30 2c  36 33 0d 0a 4f 4b 0d 0a |,255,10, 63..OK..
    00> [00:00:54.096,374] <dbg> slm_at_host: RX
    00>                                       41 54 25 58 53 49 4d 3d  31                      |AT%XSIM= 1       
    00> [00:00:54.096,893] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:54.096,954] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:54.097,015] <dbg> slm_at_host: TX
    00>                                       4f 4b 0d 0a                                      |OK..             
    00> [00:00:54.111,419] <dbg> slm_at_host: RX
    00>                                       41 54 25 58 53 49 4d 3f                          |AT%XSIM?         
    00> [00:00:54.111,938] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:54.116,973] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:54.117,034] <dbg> slm_at_host: TX
    00>                                       25 58 53 49 4d 3a 20 31  0d 0a 4f 4b 0d 0a       |%XSIM: 1 ..OK..  
    00> [00:00:54.130,432] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 50 49 4e 3f                          |AT+CPIN?         
    00> [00:00:54.130,950] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:54.137,023] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:54.137,054] <dbg> slm_at_host: TX
    00>                                       2b 43 50 49 4e 3a 20 52  45 41 44 59 0d 0a 4f 4b |+CPIN: R EADY..OK
    00>                                       0d 0a                                            |..               
    00> [00:00:54.157,531] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 50 49 4e 52  3d 22 53 49 4d 20 50 49 |AT+CPINR ="SIM PI
    00>                                       4e 22                                            |N"               
    00> [00:00:54.158,020] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:54.169,677] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:54.169,738] <dbg> slm_at_host: TX
    00>                                       2b 43 50 49 4e 52 3a 20  22 53 49 4d 20 50 49 4e |+CPINR:  "SIM PIN
    00>                                       22 2c 33 0d 0a 4f 4b 0d  0a                      |",3..OK. .       
    00> [00:00:54.192,199] <dbg> slm_at_host: RX
    00>                                       41 54 2b 43 49 4d 49                             |AT+CIMI          
    00> [00:00:54.192,687] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:00:54.198,822] <dbg> slm_at_host: TX
    00>                                       0d 0a                                            |..               
    00> [00:00:54.198,852] <dbg> slm_at_host: TX
    00>                                       33 30 32 37 36 30 30 30  30 38 37 33 35 35 33 0d |30276000 0873553.
    00>                                       0a 4f 4b 0d 0a                                   |.OK..            
    00> [00:01:04.305,236] <dbg> slm_at_host: RX
    00>                                       41 54 23 58 50 49 4e 47  3d 22 63 61 70 74 75 73 |AT#XPING ="captus
    00>                                       2e 63 61 22 2c 34 35 2c  35 30 30 30 2c 35 2c 31 |.ca",45, 5000,5,1
    00>                                       30 30 30                                         |000              
    00> [00:01:04.305,725] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:04.672,210] <inf> slm_icmp: Ping target's IPv4 address
    00> [00:01:04.673,461] <dbg> slm_at_host: TX
    00>                                       0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:01:04.674,011] <dbg> slm_icmp.send_ping_wait_reply: Use PDN: 0
    00> [00:01:05.020,355] <dbg> slm_at_host: TX
    00>                                       23 58 50 49 4e 47 3a 20  30 2e 33 34 36 20 73 65 |#XPING:  0.346 se
    00>                                       63 6f 6e 64 73 0d 0a                             |conds..          
    00> [00:01:06.027,160] <dbg> slm_icmp.send_ping_wait_reply: Use PDN: 0
    00> [00:01:06.360,473] <dbg> slm_at_host: TX
    00>                                       23 58 50 49 4e 47 3a 20  30 2e 33 32 37 20 73 65 |#XPING:  0.327 se
    00>                                       63 6f 6e 64 73 0d 0a                             |conds..          
    00> [00:01:07.361,267] <dbg> slm_icmp.send_ping_wait_reply: Use PDN: 0
    00> [00:01:07.724,517] <dbg> slm_at_host: TX
    00>                                       23 58 50 49 4e 47 3a 20  30 2e 33 36 33 20 73 65 |#XPING:  0.363 se
    00>                                       63 6f 6e 64 73 0d 0a                             |conds..          
    00> [00:01:08.731,353] <dbg> slm_icmp.send_ping_wait_reply: Use PDN: 0
    00> [00:01:09.078,613] <dbg> slm_at_host: TX
    00>                                       23 58 50 49 4e 47 3a 20  30 2e 33 34 31 20 73 65 |#XPING:  0.341 se
    00>                                       63 6f 6e 64 73 0d 0a                             |conds..          
    00> [00:01:10.085,449] <dbg> slm_icmp.send_ping_wait_reply: Use PDN: 0
    00> [00:01:10.318,603] <dbg> slm_at_host: TX
    00>                                       23 58 50 49 4e 47 3a 20  30 2e 32 32 36 20 73 65 |#XPING:  0.226 se
    00>                                       63 6f 6e 64 73 0d 0a                             |conds..          
    00> [00:01:11.318,939] <inf> slm_icmp: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss)
    00> [00:01:11.319,000] <dbg> slm_at_host: TX
    00>                                       23 58 50 49 4e 47 3a 20  61 76 65 72 61 67 65 20 |#XPING:  average 
    00>                                       30 2e 33 32 31 20 73 65  63 6f 6e 64 73 0d 0a    |0.321 se conds.. 
    00> [00:01:11.319,061] <inf> slm_icmp: Approximate round trip times in milli-seconds:
    00>     Minimum = 226ms, Maximum = 363ms, Average = 320ms
    00> [00:01:18.808,013] <dbg> slm_at_host: RX
    00>                                       41 54 23 58 46 54 50 3d  22 6f 70 65 6e 22 2c 22 |AT#XFTP= "open","
    00>                                       <Removed login information for security>     
    00> [00:01:18.808,502] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:19.846,099] <dbg> slm_at_host: TX
    00>                                       32 32 30 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 20 57 65 |220----- ----- We
    00>                                       6c 63 6f 6d 65 20 74 6f  20 50 75 72 65 2d 46 54 |lcome to  Pure-FT
    00>                                       50 64 20 5b 70 72 69 76  73 65 70 5d 20 5b 54 4c |Pd [priv sep] [TL
    00>                                       53 5d 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0d 0a 32 |S] ----- -----..2
    00>                                       32 30 2d 59 6f 75 20 61  72 65 20 75 73 65 72 20 |20-You a re user 
    00>                                       6e 75 6d 62 65 72 20 34  20 6f 66 20 35 30 20 61 |number 4  of 50 a
    00>                                       6c 6c 6f 77 65 64 2e 0d  0a 32 32 30 2d 4c 6f 63 |llowed.. .220-Loc
    00>                                       61 6c 20 74 69 6d 65 20  69 73 20 6e 6f 77 20 31 |al time  is now 1
    00>                                       36 3a 30 32 2e 20 53 65  72 76 65 72 20 70 6f 72 |6:02. Se rver por
    00>                                       74 3a 20 32 31 2e 0d 0a  32 32 30 2d 54 68 69 73 |t: 21... 220-This
    00>                                       20 69 73 20 61 20 70 72  69 76 61 74 65 20 73 79 | is a pr ivate sy
    00>                                       73 74 65 6d 20 2d 20 4e  6f 20 61 6e 6f 6e 79 6d |stem - N o anonym
    00>                                       6f 75 73 20 6c 6f 67 69  6e 0d 0a 32 32 30 2d 49 |ous logi n..220-I
    00>                                       50 76 36 20 63 6f 6e 6e  65 63 74 69 6f 6e 73 20 |Pv6 conn ections 
    00>                                       61 72 65 20 61 6c 73 6f  20 77 65 6c 63 6f 6d 65 |are also  welcome
    00>                                       20 6f 6e 20 74 68 69 73  20 73 65 72 76 65 72 2e | on this  server.
    00>                                       0d 0a 32 32 30 20 59 6f  75 20 77 69 6c 6c 20 62 |..220 Yo u will b
    00>                                       65 20 64 69 73 63 6f 6e  6e 65 63 74 65 64 20 61 |e discon nected a
    00>                                       66 74 65 72 20 31 35 20  6d 69 6e 75 74 65 73 20 |fter 15  minutes 
    00>                                       6f 66 20 69 6e 61 63 74  69 76 69 74 79 2e 0d 0a |of inact ivity...
    00> [00:01:20.026,855] <dbg> slm_at_host: TX
    00>                                       35 30 34 20 55 6e 6b 6e  6f 77 6e 20 63 6f 6d 6d |504 Unkn own comm
    00>                                       61 6e 64 0d 0a                                   |and..            
    00> [00:01:20.154,876] <dbg> slm_at_host: TX
    00>                                       <Removed login information for security>    
    00>                                       74 75 73 2e 63 61 20 4f  4b 2e 20 50 61 73 73 77 |tus.ca O K. Passw
    00>                                       6f 72 64 20 72 65 71 75  69 72 65 64 0d 0a       |ord requ ired..  
    00> [00:01:22.761,077] <dbg> slm_at_host: TX
    00>                                       32 33 30 2d 4f 4b 2e 20  43 75 72 72 65 6e 74 20 |230-OK.  Current 
    00>                                       72 65 73 74 72 69 63 74  65 64 20 64 69 72 65 63 |restrict ed direc
    00>                                       74 6f 72 79 20 69 73 20  2f 0d 0a 32 33 30 20 31 |tory is  /..230 1
    00>                                       38 38 37 20 4b 62 79 74  65 73 20 75 73 65 64 20 |887 Kbyt es used 
    00>                                       28 30 25 29 20 2d 20 61  75 74 68 6f 72 69 7a 65 |(0%) - a uthorize
    00>                                       64 3a 20 32 30 34 38 30  30 30 20 4b 62 0d 0a    |d: 20480 00 Kb.. 
    00> [00:01:22.761,169] <dbg> slm_at_host: TX
    00>                                       0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:01:28.571,350] <dbg> slm_at_host: RX
    00>                                       41 54 23 58 46 54 50 3d  22 63 64 22 2c 22 2f 74 |AT#XFTP= "cd","/t
    00>                                       65 73 74 2f 22                                   |est/"            
    00> [00:01:28.571,838] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:28.893,310] <dbg> slm_at_host: TX
    00>                                       32 35 30 20 4f 4b 2e 20  43 75 72 72 65 6e 74 20 |250 OK.  Current 
    00>                                       64 69 72 65 63 74 6f 72  79 20 69 73 20 2f 74 65 |director y is /te
    00>                                       73 74 0d 0a                                      |st..             
    00> [00:01:28.893,371] <dbg> slm_at_host: TX
    00>                                       0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:01:41.001,739] <dbg> slm_at_host: RX
    00>                                       41 54 23 58 46 54 50 3d  22 70 75 74 22 2c 22 74 |AT#XFTP= "put","t
    00>                                       65 73 74 2e 74 78 74 22                          |est.txt"         
    00> [00:01:41.002,227] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:41.002,410] <inf> slm_at_host: Enter datamode
    00> [00:01:42.204,925] <dbg> slm_at_host.uart_callback: RX_RDY 22
    00> [00:01:42.204,986] <inf> slm_at_host: Raw send 22
    00> [00:01:42.204,986] <dbg> slm_at_host: RX-DATAMODE
    00>                                       74 68 69 73 20 69 73 20  74 65 73 74 20 63 6f 6e |this is  test con
    00> [00:01:42.222,045] <dbg> slm_at_host.uart_callback: RX_RDY 26
    00> [00:01:42.505,126] <dbg> slm_at_host: TX
    00>                                       32 32 37 20 45 6e 74 65  72 69 6e 67 20 50 61 73 |227 Ente ring Pas
    00>                                       73 69 76 65 20 4d 6f 64  65 20 28 31 34 39 2c 35 |sive Mod e (149,5
    00>                                       36 2c 32 30 34 2c 34 39  2c 32 30 39 2c 38 31 29 |6,204,49 ,209,81)
    00>                                       0d 0a                                            |..               
    00> [00:01:42.944,885] <dbg> slm_at_host: TX
    00>                                       31 35 30 20 41 63 63 65  70 74 65 64 20 64 61 74 |150 Acce pted dat
    00>                                       61 20 63 6f 6e 6e 65 63  74 69 6f 6e 0d 0a       |a connec tion..  
    00> [00:01:42.982,940] <dbg> slm_at_host: TX
    00>                                       32 32 36 2d 31 38 38 37  20 4b 62 79 74 65 73 20 |226-1887  Kbytes 
    00>                                       75 73 65 64 20 28 30 25  29 20 2d 20 61 75 74 68 |used (0% ) - auth
    00>                                       6f 72 69 7a 65 64 3a 20  32 30 34 38 30 30 30 20 |orized:  2048000 
    00>                                       4b 62 0d 0a 32 32 36 2d  46 69 6c 65 20 73 75 63 |Kb..226- File suc
    00>                                       63 65 73 73 66 75 6c 6c  79 20 74 72 61 6e 73 66 |cessfull y transf
    00>                                       65 72 72 65 64 0d 0a 32  32 36 20 30 2e 30 31 30 |erred..2 26 0.010
    00>                                       20 73 65 63 6f 6e 64 73  20 28 6d 65 61 73 75 72 | seconds  (measur
    00>                                       65 64 20 68 65 72 65 29  2c 20 32 2e 30 34 20 4b |ed here) , 2.04 K
    00>                                       62 79 74 65 73 20 70 65  72 20 73 65 63 6f 6e 64 |bytes pe r second
    00>                                       0d 0a                                            |..               
    00> [00:01:42.983,581] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> [00:01:42.993,194] <dbg> slm_at_host: TX
    00>                                       0d 0a 23 58 44 41 54 41  4d 4f 44 45 3a 20 30 0d |..#XDATA MODE: 0.
    00>                                       0a                                               |.                
    00> [00:01:42.995,788] <inf> slm_at_host: Exit datamode
    00> [00:01:42.995,788] <inf> slm_ftp: datamode send: 0
    
    # Logging stopped @ 31 Jan 2022 16:03:12
    

  • 1) I have checked the logs you shared on the former post. I can recreated this issue with Link Monitor, but test with other serial terminal(CoolTerm) has no issue. It seems Link Monitor add something else when it meet CR or CR LF. I will report this to our development team and give you reply later.

    2) I have read the ping failure log. It looks ok as a cellular device, the response time is acceptable. Some domains including nordicsemi.com shut down ping response to repent Ping of Death (POD) attach, ping with PC also not work with them. The operator DNS server may also have some special rule to prevent you access some black lists for some specific devices types, you may check with expert on this field or send a email to ask your operator support.

    Best regards,

    Charlie

  • I know it has been a while,

    1. I have similar behavior even when sending it directly from a micro

    2. that explains why nordicsemi.com does not respond, but many other domains like the captus.ca used above also has issues sometime... seemingly 80% of the time? What is weirder is older modems in the field do not have this issue on the same network. I lost the VM I was working in for those modems so I have no information about what MFW file or anything I had loaded into them.

    Edit: I should add this also is happening on multiple different providers.

  • Hi Kyle,

    1) It would be very challenging for us to debug just from the description. Are you able to do a recording of uart with a logic analyzer between the host and your host and nRF9160? also include the log printout from nRF9160DK.

    Have you tested with sending hex content directly(through CoolTerm)? Compared with using LinkMonitor, the difference is quite clear to see when you just send hex content through CoolTerm.

     2) Ok, sounds like related to the MFW versions. Do you still remember which MFW version has fewer issues?  Is it possible to do a ping test with two devices with the latest MFW and old MFW at the same time? It would be great if you can share a log for this kind of experiment.

    Best regards,

    Charlie

Reply
  • Hi Kyle,

    1) It would be very challenging for us to debug just from the description. Are you able to do a recording of uart with a logic analyzer between the host and your host and nRF9160? also include the log printout from nRF9160DK.

    Have you tested with sending hex content directly(through CoolTerm)? Compared with using LinkMonitor, the difference is quite clear to see when you just send hex content through CoolTerm.

     2) Ok, sounds like related to the MFW versions. Do you still remember which MFW version has fewer issues?  Is it possible to do a ping test with two devices with the latest MFW and old MFW at the same time? It would be great if you can share a log for this kind of experiment.

    Best regards,

    Charlie

Children
Related