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

Trouble Getting Asset Tracker into PSM

Hello,

I am using SDK v1.3.0 with modem firmware v1.2.0 with the nRF9160 DK v0.9.0. I am using an AT&T SIM card to connect to their LTE Cat-M1 network.

I would like to use the Asset Tracker application in PSM between transmissions to nRF Cloud. I am not interested in GPS and I only want the device to stay in LTE mode (not go into GPS mode by pressing button 1). I am following the power optimization section of the documentation for the example here (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.3.0/nrf/applications/asset_tracker/README.html#power-optimization) and I have set the CONFIG_POWER_OPTIMIZATION_ENABLE=y option in my prj.conf file. This should allow me to request eDRX or PSM depending on the position of SW2. By default, the prj.conf file also has the CONFIG_GPS_CONTROL_PSM_ENABLE_ON_START=y option. I left the PSM TAU (10 minutes) and Active Time (1 minute) to the default values in the prj.conf file.

CONFIG_LTE_PSM_REQ_RPTAU="10101010"
CONFIG_LTE_PSM_REQ_RAT="00100001"

When I boot the device, I get connected to nRF Cloud and the device appears to be tranmitting every 30 seconds. Then I move SW2 to GND to enable PSM and I see the following in the LTE Link Monitor. The TAU is -1 sec which indicates to me that it is not going into PSM.

+CEREG: 1,"8B3B","0A125011",7,,,"00011110","11100000"
[00:01:34.362,060] [0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 1,"8B3B","0A125011",7,,,"00011110","11100000"
[00:01:34.373,809] [0m<dbg> lte_lc.parse_psm_cfg: TAU: -1 sec, active time: 60 sec

However the response to AT%XMONITOR is
%XMONITOR: 1,"AT&T","AT&T","310410","8B3B",7,17,"0A125011",44,5780,37,30,"","00011110","11100000","00101010"
which is inline with Active Time = 60 seconds and Periodic TAU = 10 minutes but the extended periodic TAU is reporting deactivated. Does that indicate an issue?

AT+CESQ is showing that I am still connected to the tower and AT+CEREG? is showing that the TAU is deactivated.
AT+CESQ
CESQ: 99,99,255,255,12,37
AT+CEREG=5
OK
AT+CEREG?
+CEREG: 5,1,"8B3B","0A125011",7,,,"00011110","11100000"

Here is the full LTE Link Monitor log for the TAU = 10 minutes: /cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1af7bcd8421c4639abbaf41be953aa50/2020_2D00_06_2D00_29T20_5F00_22_5F00_05.947Z_2D00_log.txt

I also then tried to change the TAU setting in prj.conf to a higher value in case the network was having issue with 10 minutes. I set it to 5 hours and left the Active Time setting as is and kept the Power Optimization setting.
CONFIG_POWER_OPTIMIZATION_ENABLE=y
CONFIG_LTE_PSM_REQ_RPTAU="00100101"
CONFIG_LTE_PSM_REQ_RAT="00100001"

After I boot up and connect to nRF Cloud, I flip SW2 to GND. Then I see the following:
+CEREG: 1,"8B3B","0A125011",7,,,"00011110","00011110"
[00:01:40.825,561] [0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 1,"8B3B","0A125011",7,,,"00011110","00011110"
[00:01:40.837,310] [0m<dbg> lte_lc.parse_psm_cfg: TAU: 18000 sec, active time: 60 sec

It looks like it has the correct timer set this time and the network has granted me PSM but I am continuing to transmit every 30 seconds still and the device does not appear to go into PSM.

Here is the full LTE Link Monitor log for the TAU = 5 hours: /cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1af7bcd8421c4639abbaf41be953aa50/2020_2D00_06_2D00_29T20_5F00_36_5F00_34.361Z_2D00_log.txt

What is the proper way of putting the device in PSM using the Asset Tracker application in between transmissions to nRF Cloud without pressing Button 1 to go into GPS mode?

Regards,
Akash

Parents
  • Hi Akash,

    However the response to AT%XMONITOR is
    %XMONITOR: 1,"AT&T","AT&T","310410","8B3B",7,17,"0A125011",44,5780,37,30,"","00011110","11100000","00101010"
    which is inline with Active Time = 60 seconds and Periodic TAU = 10 minutes but the extended periodic TAU is reporting deactivated. Does that indicate an issue?

     <Periodic-TAU> is actually 10 hours in this case.

    001 = 1 hour

    01010 = 10

    The table in the XMONITOR page is incorrect (30.jun2020).

    The correct table for Periodic-TAU is:


    The problem is that T3412 and T3412_ext are coded in a different way.

    %XMONITOR supports reading or indicating regular T3412.

    For +CEREG it can't be added as it is a standard command.
    (so for the +CEREG response you are actually receiving the <Periodic-TAU-ext> response)


    +CEREG: 5,1,"8B3B","0A125011",7,,,"00011110","11100000"

     So from the network's response, the AT&T SIM card is actually just giving you "Roaming" capabilities and the device is not registered as connected as "home network"

     

    +CEREG: 1,"8B3B","0A125011",7,,,"00011110","00011110"

     However, Later your device is actually registered in the "home network".

    (and with periodic TAU value as 5hours)


     

    the device does not appear to go into PSM.

     How do you know? Are you taking power measurements?


      

    What is the proper way of putting the device in PSM using the Asset Tracker application in between transmissions to nRF Cloud without pressing Button 1 to go into GPS mode?

    If you have GPS_CONTROL_PSM_ENABLE_ON_START enabled:

    	  The nRF9160 modem needs to be set in PSM mode for the GPS to start
    	  searching for satellites. Enabling this option will do so
    	  automatically, otherwise the application must handle it.

    I would propose to maybe disable this option and disable the GPS in the prj.conf and in the application enable PSM mode 

    Disable the button press with:
    CONFIG_GPS_CONTROL_ON_LONG_PRESS=n

    I guess you also could disable the GPS as well to avoid the additional power consumption the device would use while in PSM mode.

    Best regards,
    Martin L.

  •  <Periodic-TAU> is actually 10 hours in this case.

    001 = 1 hour

    01010 = 10

    The table in the XMONITOR page is incorrect. (Reported on JIRA)

    What is the difference between Periodic TAU and extended Periodic TAU?

    So from the network's response, the AT&T SIM card is actually just giving you "Roaming" capabilities and the device is not registered as connected as "home network"

    No, it is not roaming, the first 5 is only there because I did AT+CEREG=5 prior to doing AT+CEREG?

     How do you know? Are you taking power measurements?

    I am not taking power measurements but I am using AT+CESQ to measure RSSI. If it reports 99,99,255,255,255,255 then I know it is in PSM.

    Do you think it is being granted PSM with 1 minute active timer but because the application is transmitting every 30 seconds, it is never actually able to sleep?

  • Setting GPS_CONTROL_PSM_ENABLE_ON_START to n, setting CONFIG_NRF9160_GPS to n, and adding  CONFIG_GPS_CONTROL_ON_LONG_PRESS=n didn't seem to make a difference so I reverted those back to the default. 

    I was thinking that because I am asking for 1 minute active time (and the carrier is granting it), I am not going into PSM because the application is transmitting by default every 30 seconds. I then decided to change the send interval to a higher number, 600 seconds (CONFIG_ENVIRONMENT_DATA_SEND_INTERVAL=600). With this, it looks like I am entering PSM but only for a minute before the device decides to wake up momentarily.

    Here is the log for this: 

    2020-06-30T22:51:15.073Z INFO Application data folder: C:\Users\Akash\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2020-06-30T22:51:15.109Z DEBUG App pc-nrfconnect-linkmonitor v1.1.1 official
    2020-06-30T22:51:15.109Z DEBUG App path: C:\Users\Akash\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2020-06-30T22:51:15.109Z DEBUG nRFConnect 3.4.1 is supported by the app (^3.2.0)
    2020-06-30T22:51:15.109Z DEBUG nRFConnect path: C:\Users\Akash\AppData\Local\Programs\nrfconnect\resources\app.asar
    2020-06-30T22:51:15.109Z DEBUG HomeDir: C:\Users\Akash
    2020-06-30T22:51:15.109Z DEBUG TmpDir: C:\Users\Akash\AppData\Local\Temp
    2020-06-30T22:51:15.118Z VERBOSE Could not fetch serial number for serial port at COM3
    2020-06-30T22:51:19.218Z INFO Modem port is opened
    2020-06-30T22:51:21.711Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-06-30T22:51:21.727Z DEBUG modem << [00:00:00.005,096] \x1B[0m<inf> mcuboot: Starting bootloader\x1B[0m\x0D\x0A
    2020-06-30T22:51:21.729Z DEBUG modem << [00:00:00.013,427] \x1B[0m<inf> mcuboot: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x1\x1B[0m\x0D\x0A
    2020-06-30T22:51:21.732Z DEBUG modem << [00:00:00.026,855] \x1B[0m<inf> mcuboot: Boot source: none\x1B[0m\x0D\x0A
    2020-06-30T22:51:21.738Z DEBUG modem << [00:00:00.034,179] \x1B[0m<inf> mcuboot: Swap type: none\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.091Z DEBUG modem << [00:00:00.459,564] \x1B[0m<inf> mcuboot: Bootloader chainload address offset: 0x10000\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.098Z DEBUG modem << [00:00:00.467,376] \x1B[0m<inf> mcuboot: Jumping to the first image slot\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.102Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-06-30T22:51:22.105Z DEBUG modem << Flash regions\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2020-06-30T22:51:22.109Z DEBUG modem << 00 02 0x00000 0x18000 \x09Secure\x09\x09rwxl\x0D\x0A
    2020-06-30T22:51:22.117Z DEBUG modem << 03 31 0x18000 0x100000 \x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
    2020-06-30T22:51:22.119Z DEBUG modem << Non-secure callable region 0 placed in flash region 2 with size 32.\x0D\x0A\x0D\x0A
    2020-06-30T22:51:22.291Z DEBUG modem << SRAM region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2020-06-30T22:51:22.298Z DEBUG modem << 00 07 0x00000 0x10000 \x09Secure\x09\x09rwxl\x0D\x0A
    2020-06-30T22:51:22.301Z DEBUG modem << 08 31 0x10000 0x40000 \x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
    2020-06-30T22:51:22.305Z DEBUG modem << Peripheral\x09\x09Domain\x09\x09Status\x0D\x0A
    2020-06-30T22:51:22.307Z DEBUG modem << 00 NRF_P0               Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.309Z DEBUG modem << 01 NRF_CLOCK            Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.317Z DEBUG modem << 02 NRF_RTC0             Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.320Z DEBUG modem << 03 NRF_RTC1             Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.322Z DEBUG modem << 04 NRF_NVMC             Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.323Z DEBUG modem << 05 NRF_UARTE1           Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.331Z DEBUG modem << 06 NRF_UARTE2           Secure\x09\x09SKIP\x0D\x0A
    2020-06-30T22:51:22.335Z DEBUG modem << 07 NRF_TWIM2            Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.337Z DEBUG modem << 08 NRF_SPIM3            Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.340Z DEBUG modem << 09 NRF_TIMER0           Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.341Z DEBUG modem << 10 NRF_TIMER1           Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.343Z DEBUG modem << 11 NRF_TIMER2           Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.350Z DEBUG modem << 12 NRF_SAADC            Non-Secure\x09OK\x0D
    2020-06-30T22:51:22.352Z DEBUG modem << 13 NRF_PWM0             Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.354Z DEBUG modem << 14 NRF_PWM1             Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.358Z DEBUG modem << 15 NRF_PWM2             Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.359Z DEBUG modem << 16 NRF_PWM3             Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.366Z DEBUG modem << 17 NRF_WDT              Non-Secure\x09OK\x0D
    2020-06-30T22:51:22.370Z DEBUG modem << 18 NRF_IPC              Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.373Z DEBUG modem << 19 NRF_VMC              Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.375Z DEBUG modem << 20 NRF_FPU              Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.377Z DEBUG modem << 21 NRF_EGU1             Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.388Z DEBUG modem << 22 NRF_EGU2             Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.391Z DEBUG modem << 23 NRF_DPPIC            Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.394Z DEBUG modem << 24 NRF_GPIOTE1          Non-Secure\x09OK\x0D\x0A
    2020-06-30T22:51:22.395Z DEBUG modem << 25 NRF_REGULATORS       Non-Secure\x09OK\x0D\x0A\x0D\x0A
    2020-06-30T22:51:22.396Z DEBUG modem << SPM: NS image at 0x1c200\x0D\x0A
    2020-06-30T22:51:22.401Z DEBUG modem << SPM: NS MSP at 0x20031010\x0D\x0A
    2020-06-30T22:51:22.404Z DEBUG modem << SPM: NS reset vector at 0x25845\x0D\x0A
    2020-06-30T22:51:22.405Z DEBUG modem << SPM: prepare to jump to Non-Secure image.\x0D\x0A
    2020-06-30T22:51:22.598Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-06-30T22:51:22.607Z DEBUG modem << [00:00:00.190,582] \x1B[0m<dbg> nrf9160_gps.setup: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.615Z DEBUG modem << [00:00:00.199,554] \x1B[0m<dbg> nrf9160_gps.setup: COEX0 set: AT%XCOEX0=1,1,1570,1580\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.622Z DEBUG modem << [00:00:00.207,366] \x1B[0m<inf> asset_tracker: Asset tracker started\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.633Z DEBUG modem << [00:00:00.213,714] \x1B[0m<inf> watchdog: Watchdog timeout installed. Timeout: 10000\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.636Z DEBUG modem << [00:00:00.221,435] \x1B[0m<inf> watchdog: Watchdog started\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.643Z DEBUG modem << [00:00:00.226,867] \x1B[0m<inf> watchdog: Watchdog feed enabled. Timeout: 5000\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.659Z DEBUG modem << [00:00:00.241,180] \x1B[0m<dbg> nrf_cloud_transport.nct_client_id_get: client_id = nrf-352656100367955\x1B[0m\x0D
    2020-06-30T22:51:22.670Z DEBUG modem << [00:00:00.250,518] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_base_topic: $aws/things/nrf-352656100367955/shadow\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.682Z DEBUG modem << [00:00:00.262,298] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: accepted_topic: nrf-352656100367955/shadow/get/accepted\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.699Z DEBUG modem << [00:00:00.273,925] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: rejected_topic: $aws/things/nrf-352656100367955/shadow/get/rejected\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.708Z DEBUG modem << [00:00:00.286,560] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_delta_topic: $aws/things/nrf-352656100367955/shadow/update/delta\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.720Z DEBUG modem << [00:00:00.299,621] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_topic: $aws/things/nrf-352656100367955/shadow/update\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.732Z DEBUG modem << [00:00:00.311,584] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_get_topic: $aws/things/nrf-352656100367955/shadow/get\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.739Z DEBUG modem << [00:00:00.323,883] \x1B[0m<inf> asset_tracker: Connecting to LTE network.\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.748Z DEBUG modem << [00:00:00.330,627] \x1B[0m<inf> asset_tracker: This may take several minutes.\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.757Z DEBUG modem << [00:00:00.337,890] \x1B[0m<dbg> lte_lc.lte_lc_system_mode_set: Sending AT command to set system mode: AT%XSYSTEMMODE=1,0,1,0\x1B[0m\x0D\x0A
    2020-06-30T22:51:22.790Z DEBUG modem << [00:00:00.370,788] \x1B[0m<dbg> lte_lc.lte_lc_system_mode_set: Sending AT command to set system mode: AT%XSYSTEMMODE=1,0,1,0\x1B[0m\x0D\x0A
    2020-06-30T22:51:24.631Z DEBUG modem << +CEREG: 2,"8B3B","0A125011",7,0,0,"11100000","11100000"\x0D\x0A
    2020-06-30T22:51:24.645Z DEBUG modem << [00:00:02.222,900] \x1B[0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 2,"8B3B","0A125011",7,0,0,"11100000","11100000"\x0D\x0A
    2020-06-30T22:51:24.647Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-06-30T22:51:24.651Z DEBUG modem << [00:00:02.234,832] \x1B[0m<dbg> lte_lc.parse_psm_cfg: TAU: -1 sec, active time: -1 sec\x0A
    2020-06-30T22:51:24.652Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-06-30T22:51:24.722Z DEBUG modem << +CSCON: 1\x0D
    2020-06-30T22:51:24.730Z DEBUG modem << [00:00:02.314,117] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:51:25.746Z DEBUG modem << +CEREG: 1,"8B3B","0A125011",7,,,"11100000","11100000"\x0D\x0A
    2020-06-30T22:51:25.754Z DEBUG modem >> AT+COPS=3,2\x0D\x0A
    2020-06-30T22:51:25.757Z DEBUG modem << [00:00:03.337,005] \x1B[0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 1,"8B3B","0A125011",7,,,"11100000","11100000"\x0D\x0A
    2020-06-30T22:51:25.758Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-06-30T22:51:25.765Z DEBUG modem << [00:00:03.348,785] \x1B[0m<dbg> lte_lc.parse_psm_cfg: TAU: -1 sec, active time: -1 sec\x0A
    2020-06-30T22:51:25.767Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-06-30T22:51:25.772Z DEBUG modem << [00:00:03.356,933] \x1B[0m<inf> asset_tracker: Connected to LTE network.\x1B[0m\x0D\x0A
    2020-06-30T22:51:25.782Z DEBUG modem << [00:00:03.363,616] \x1B[0m<inf> asset_tracker: Connecting to cloud, attempt 1 of 8\x1B[0m\x0D\x0A
    2020-06-30T22:51:25.786Z DEBUG modem << [00:00:03.371,185] \x1B[0m<inf> asset_tracker: Cloud connection request sent.\x1B[0m\x0D\x0A
    2020-06-30T22:51:25.799Z DEBUG modem << [00:00:03.378,265] \x1B[0m<inf> asset_tracker: Connection response timeout is set to 30 seconds.\x1B[0m\x0D\x0A
    2020-06-30T22:51:25.800Z DEBUG modem << +CEDRXP: 4,"1001","1001","0001"\x0D\x0A
    2020-06-30T22:51:25.805Z DEBUG modem << [00:00:03.390,136] \x1B[0m<dbg> lte_lc.at_handler: +CEDRXP notification\x1B[0m\x0D\x0A
    2020-06-30T22:51:25.815Z DEBUG modem << [00:[00:00:03.398,620] \x1B[0m<dbg> lte_lc.parse_edrx: eDRX value: 163.83, PTW: 2.55\x1B[0m\x0D\x0A
    2020-06-30T22:51:25.817Z DEBUG modem << OK\x0D\x0A
    2020-06-30T22:51:25.820Z DEBUG modem >> AT+COPS?\x0D\x0A
    2020-06-30T22:51:25.822Z DEBUG modem << 00:03.396,911] \x1B[0m<inf> asset_tracker: CLOUD_EVT_CONNECTING\x1B[0m\x0D\x0A
    2020-06-30T22:51:25.826Z DEBUG modem << +COPS: 0,2,"310410",7\x0D\x0A
    2020-06-30T22:51:25.829Z DEBUG modem << OK\x0D
    2020-06-30T22:51:25.840Z DEBUG modem >> AT%XCBAND\x0D\x0A
    2020-06-30T22:51:25.849Z DEBUG modem << %XCBAND: 17\x0D\x0A
    2020-06-30T22:51:25.851Z DEBUG modem << OK\x0D\x0A
    2020-06-30T22:51:25.855Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2020-06-30T22:51:25.866Z DEBUG modem << +CGDCONT: 0,"IP","m2m.com.attz","10.33.54.193",0,0\x0D\x0A
    2020-06-30T22:51:25.869Z DEBUG modem << OK\x0D\x0A
    2020-06-30T22:51:25.876Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2020-06-30T22:51:25.887Z DEBUG modem << +CGACT: 0,1\x0D\x0A
    2020-06-30T22:51:25.889Z DEBUG modem << OK\x0D\x0A
    2020-06-30T22:51:25.962Z DEBUG modem << [00:00:03.546,020] \x1B[0m<dbg> nrf_cloud_transport.nct_connect: IPv4 address: 54.166.209.143\x1B[0m\x0D\x0A
    2020-06-30T22:51:25.972Z DEBUG modem << [00:00:03.554,534] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_connect: mqtt_connect requesting persistent session\x1B[0m\x0D
    2020-06-30T22:51:30.607Z DEBUG modem << [00:00:08.191,864] \x1B[0m<inf> nrf_cloud_transport: Using non-blocking socket\x1B[0m\x0D\x0A
    2020-06-30T22:51:30.615Z DEBUG modem << [00:00:08.199,127] \x1B[0m<dbg> nrf_cloud.nrf_cloud_run: Cloud connection request sent.\x1B[0m\x0D\x0A
    2020-06-30T22:51:30.981Z DEBUG modem << [00:00:08.562,438] \x1B[0m<dbg> aws_fota.aws_fota_mqtt_evt_handler: Previous session valid; skipping FOTA subscriptions\x1B[0m\x0D\x0A
    2020-06-30T22:51:30.992Z DEBUG modem << [00:00:08.573,364] \x1B[0m<inf> aws_fota: Created notify_next_topic $aws/things/nrf-352656100367955/jobs/notify-next\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.002Z DEBUG modem << [00:00:08.583,984] \x1B[0m<inf> aws_fota: Created get_topic $aws/things/nrf-352656100367955/jobs/$next/get/#\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.009Z DEBUG modem << [00:00:08.593,841] \x1B[0m<inf> aws_fota: previously subscribed to notify-next topic\x1B[0m\x0D
    2020-06-30T22:51:31.020Z DEBUG modem << [00:00:08.601,654] \x1B[0m<inf> aws_jobs: Publish topic: $aws/things/nrf-352656100367955/jobs/$next/get\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.026Z DEBUG modem << [00:00:08.611,053] \x1B[0m<inf> aws_jobs: Publish payload {"clientToken": ""}\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.037Z DEBUG modem << [00:00:08.619,445] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_CONNACK: result 0\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.049Z DEBUG modem << [00:00:08.628,631] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 2\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.053Z DEBUG modem << [00:00:08.636,413] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_TRANSPORT_CONNECTED\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.059Z DEBUG modem << [00:00:08.645,050] \x1B[0m<inf> asset_tracker: CLOUD_EVT_CONNECTED\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.067Z DEBUG modem << [00:00:08.651,214] \x1B[0m<inf> asset_tracker: Persistent Sessions = 1\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.076Z DEBUG modem << [00:00:08.657,684] \x1B[0m<dbg> nrf_cloud_fsm.connection_handler: Previous session valid; skipping nct_cc_connect()\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.086Z DEBUG modem << [00:00:08.668,151] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 4\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.093Z DEBUG modem << [00:00:08.676,025] \x1B[0m<dbg> nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 5678 opcode = 0 len = 0\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.102Z DEBUG modem << [00:00:08.686,523] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 5\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.216Z DEBUG modem << [00:00:08.798,309] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 20255 result = 0\x1B[0m\x0D
    2020-06-30T22:51:31.248Z DEBUG modem << [00:00:08.828,582] \x1B[0m<dbg> aws_fota.on_publish_evt: Received topic: $aws/things/nrf-352656100367955/jobs/$next/get/accepted\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.255Z DEBUG modem << [00:00:08.840,240] \x1B[0m<inf> aws_fota: Checking for an available job\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.265Z DEBUG modem << [00:00:08.846,954] \x1B[0m<dbg> aws_fota.get_job_execution: Job doc: {"clientToken":"","timestamp":1593557489}\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.272Z DEBUG modem << [00:00:08.857,299] \x1B[0m<dbg> aws_fota.get_job_execution: Got only one field\x1B[0m\x0D
    2020-06-30T22:51:31.283Z DEBUG modem << [00:00:08.864,562] \x1B[0m<inf> aws_fota: No queued jobs for this device\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.375Z DEBUG modem << [00:00:08.957,458] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 5678 result = 0\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.383Z DEBUG modem << [00:00:08.967,590] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 5\x1B[0m\x0D
    2020-06-30T22:51:31.650Z DEBUG modem << [00:00:09.231,628] \x1B[0m<dbg> aws_fota.on_publish_evt: Received topic: nrf-352656100367955/shadow/get/accepted\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.664Z DEBUG modem << [00:00:09.241,882] \x1B[0m<dbg> aws_fota.on_publish_evt: received an unhandled MQTT publish event on topic: nrf-352656100367955/shadow/get/accepted\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.674Z DEBUG modem << [00:00:09.256,164] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBLISH: id = 0 len = 317\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.684Z DEBUG modem << [00:00:09.267,272] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 5\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.691Z DEBUG modem << [00:00:09.275,085] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_RX_DATA\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.700Z DEBUG modem << [00:00:09.282,592] \x1B[0m<inf> asset_tracker: CLOUD_EVT_DATA_RECEIVED\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.707Z DEBUG modem << [00:00:09.290,008] \x1B[0m<inf> cloud_codec: [cloud_search_config:900] Found cfg item GPS, enable\x0A
    2020-06-30T22:51:31.709Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-06-30T22:51:31.718Z DEBUG modem << [00:00:09.301,696] \x1B[0m<dbg> nrf_cloud_transport.nct_dc_endpoint_set: nct_dc_endpoint_set\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.731Z DEBUG modem << [00:00:09.310,333] \x1B[0m<dbg> nrf_cloud_transport.nct_dc_endpoint_get: nct_dc_endpoint_get\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.738Z DEBUG modem << [00:00:09.320,159] \x1B[0m<dbg> nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 7890 opcode = 1 len = 329\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.751Z DEBUG modem << [00:00:09.332,183] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 7\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.756Z DEBUG modem << [00:00:09.339,996] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_USER_ASSOCIATED\x1B[0m\x0D\x0A
    2020-06-30T22:51:31.767Z DEBUG modem << [00:00:09.348,236] \x1B[0m<inf> asset_tracker: CLOUD_EVT_PAIR_DONE\x1B[0m\x0D\x0A
    2020-06-30T22:51:32.104Z DEBUG modem << [00:00:09.686,370] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 7890 result = 0\x1B[0m\x0D\x0A
    2020-06-30T22:51:32.115Z DEBUG modem << [00:00:09.696,472] \x1B[0m<dbg> nrf_cloud_fsm.cc_tx_ack_handler: Previous session valid; skipping nct_dc_connect()\x1B[0m\x0D\x0A
    2020-06-30T22:51:32.123Z DEBUG modem << [00:00:09.706,817] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 9\x1B[0m\x0D\x0A
    2020-06-30T22:51:32.134Z DEBUG modem << [00:00:09.714,599] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_READY\x1B[0m\x0D\x0A
    2020-06-30T22:51:32.136Z DEBUG modem << [00:00:09.721,954] \x1B[0m<inf> asset_tracker: CLOUD_EVT_READY\x1B[0m\x0D\x0A
    2020-06-30T22:51:32.154Z DEBUG modem << [00:00:09.728,424] \x1B[0m<dbg> nrf9160_gps.init: GPS socket created, fd: 1232491587\x1B[0m\x0D\x0A
    2020-06-30T22:51:32.157Z DEBUG modem << [00:00:09.743,377] \x1B[0m<inf> gps_control: GPS initialized\x1B[0m\x0D\x0A
    2020-06-30T22:51:32.196Z DEBUG modem << [00:00:09.777,038] \x1B[0m<dbg> nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 1 opcode = 1 len = 618\x1B[0m\x0D\x0A
    2020-06-30T22:51:32.491Z DEBUG modem << [00:00:10.073,516] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 1 result = 0\x1B[0m\x0D\x0A
    2020-06-30T22:51:38.451Z DEBUG modem << +CSCON: 0\x0D
    2020-06-30T22:51:38.458Z DEBUG modem << [00:00:16.043,792] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:51:40.094Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-06-30T22:51:40.105Z DEBUG modem << [00:00:17.686,187] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:51:46.472Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-06-30T22:51:46.479Z DEBUG modem << [00:00:24.065,124] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:51:47.652Z DEBUG modem << +CSCON: 1\x0D
    2020-06-30T22:51:47.659Z DEBUG modem << [00:00:25.244,781] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:51:48.965Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-06-30T22:51:48.972Z DEBUG modem << [00:00:26.558,074] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:51:49.063Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-06-30T22:51:49.070Z DEBUG modem << [00:00:26.654,846] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:51:49.127Z DEBUG modem << +CEREG: 1,"8B3B","0A125011",7,,,"00011110","00011110"\x0D\x0A
    2020-06-30T22:51:49.133Z DEBUG modem >> AT+COPS=3,2\x0D\x0A
    2020-06-30T22:51:49.138Z DEBUG modem << [00:00:26.719,635] \x1B[0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 1,"8B3B","0A125011",7,,,"00011110","00011110"\x0D\x0A
    2020-06-30T22:51:49.139Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-06-30T22:51:49.149Z DEBUG modem << [00:00:26.731,414] \x1B[0m<dbg> lte_lc.parse_psm_cfg: TAU: 18000 sec, active time: 60 sec\x0A
    2020-06-30T22:51:49.150Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-06-30T22:51:49.153Z DEBUG modem << OK\x0D\x0A
    2020-06-30T22:51:49.155Z DEBUG modem >> AT+COPS?\x0D\x0A
    2020-06-30T22:51:49.171Z DEBUG modem << +COPS: 0,2,"310410",7\x0D\x0A
    2020-06-30T22:51:49.172Z DEBUG modem << OK\x0D\x0A
    2020-06-30T22:51:49.182Z DEBUG modem >> AT%XCBAND\x0D\x0A
    2020-06-30T22:51:49.188Z DEBUG modem << %XCBAND: 17\x0D\x0A
    2020-06-30T22:51:49.189Z DEBUG modem << OK\x0D\x0A
    2020-06-30T22:51:49.192Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2020-06-30T22:51:49.204Z DEBUG modem << +CGDCONT: 0,"IP","m2m.com.attz","10.33.54.193",0,0\x0D\x0A
    2020-06-30T22:51:49.205Z DEBUG modem << OK\x0D\x0A
    2020-06-30T22:51:49.219Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2020-06-30T22:51:49.224Z DEBUG modem << +CGACT: 0,1\x0D\x0A
    2020-06-30T22:51:49.225Z DEBUG modem << OK\x0D\x0A
    2020-06-30T22:51:50.045Z DEBUG modem << %CESQ: 35,1,10,1\x0D
    2020-06-30T22:51:50.382Z DEBUG modem << +CSCON: 0\x0D
    2020-06-30T22:51:50.389Z DEBUG modem << [00:00:27.975,158] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:51:50.482Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-06-30T22:51:50.489Z DEBUG modem << [00:00:28.074,890] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:51:56.635Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-06-30T22:51:56.641Z DEBUG modem << [00:00:34.227,691] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:52:18.387Z DEBUG modem << %CESQ: 40,2,10,1\x0D\x0A
    2020-06-30T22:52:50.654Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-06-30T22:52:50.662Z DEBUG modem << [00:01:28.248,260] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:52:50.732Z DEBUG modem << %CESQ: 40,2,5,0\x0D\x0A
    2020-06-30T22:52:51.140Z DEBUG modem << %CESQ: 35,1,5,0\x0D\x0A
    2020-06-30T22:52:56.814Z DEBUG modem << +CSCON: 0\x0D
    2020-06-30T22:52:56.821Z DEBUG modem << [00:01:34.408,172] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:53:05.747Z DEBUG modem << %CESQ: 40,2,10,1\x0D\x0A
    2020-06-30T22:53:56.840Z DEBUG modem << %CESQ: 255,0,255,0\x0D\x0A
    2020-06-30T22:54:50.630Z DEBUG modem << %CESQ: 37,1,0,0\x0D
    2020-06-30T22:54:51.233Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-06-30T22:54:51.239Z DEBUG modem << [00:03:28.830,169] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D
    2020-06-30T22:54:51.606Z DEBUG modem << %CESQ: 37,1,5,0\x0D
    2020-06-30T22:54:55.650Z DEBUG modem << %CESQ: 37,1,10,1\x0D\x0A
    2020-06-30T22:54:57.232Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-06-30T22:54:57.238Z DEBUG modem << [00:03:34.828,979] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:55:13.747Z DEBUG modem << %CESQ: 42,2,10,1\x0D\x0A
    2020-06-30T22:55:50.733Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-06-30T22:55:50.740Z DEBUG modem << [00:04:28.331,939] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:55:53.166Z DEBUG modem << %CESQ: 37,1,10,1\x0D
    2020-06-30T22:55:56.667Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-06-30T22:55:56.677Z DEBUG modem << [00:04:34.266,784] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:55:56.690Z DEBUG modem << %CESQ: 37,1,3,0\x0D\x0A
    2020-06-30T22:55:57.267Z DEBUG modem << %CESQ: 37,1,8,1\x0D\x0A
    2020-06-30T22:56:07.507Z DEBUG modem << %CESQ: 42,2,8,1\x0D\x0A
    2020-06-30T22:56:10.067Z DEBUG modem << %CESQ: 42,2,14,2\x0D\x0A
    2020-06-30T22:56:35.667Z DEBUG modem << %CESQ: 42,2,9,1\x0D
    2020-06-30T22:56:52.293Z DEBUG modem << %CESQ: 42,2,14,2\x0D\x0A
    2020-06-30T22:56:56.694Z DEBUG modem << %CESQ: 255,0,255,0\x0D\x0A
    2020-06-30T22:57:50.751Z DEBUG modem << %CESQ: 37,1,7,1\x0D\x0A
    2020-06-30T22:57:51.343Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-06-30T22:57:51.350Z DEBUG modem << [00:06:28.945,434] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:57:54.291Z DEBUG modem << %CESQ: 37,1,12,1\x0D\x0A
    2020-06-30T22:57:57.472Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-06-30T22:57:57.478Z DEBUG modem << [00:06:35.074,249] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:58:57.498Z DEBUG modem << %CESQ: 255,0,255,0\x0D\x0A
    2020-06-30T22:59:50.950Z DEBUG modem << %CESQ: 37,1,9,1\x0D\x0A
    2020-06-30T22:59:51.557Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-06-30T22:59:51.565Z DEBUG modem << [00:08:29.162,963] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T22:59:57.612Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-06-30T22:59:57.624Z DEBUG modem << [00:08:35.217,773] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T23:00:19.667Z DEBUG modem << %CESQ: 43,2,9,1\x0D\x0A
    2020-06-30T23:00:19.764Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-06-30T23:00:19.770Z DEBUG modem << [00:08:57.369,812] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T23:00:21.879Z DEBUG modem << %CESQ: 38,1,9,1\x0D\x0A
    2020-06-30T23:00:25.703Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-06-30T23:00:25.712Z DEBUG modem << [00:09:03.309,692] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-06-30T23:00:38.867Z DEBUG modem << %CESQ: 38,1,14,2\x0D
    2020-06-30T23:00:42.707Z DEBUG modem << %CESQ: 43,2,14,2\x0D
    2020-06-30T23:01:01.097Z INFO Modem port is closed
    

    • In line 170, I flip SW2 to enable PSM. Here we can see that the network grants me 5 hours PSM TAU and 1 minute Active Time
    • CESQ notifications are on so we can see when the modem goes into PSM. This first occurs on line 204, roughly 2 minutes after line 170
    • Then about a minute later, the devices appear to wake up and we can see the CESQ notification in line 205.
    • It stays awake for 2 minutes before going back to sleep in line 224
    • Then wakes up a minute later in line 225
    • It stays awake this time for only 1 minute before going back to sleep in line 231
    • It wakes up again a minute later in line 232

    And here is the full project (to use with SDK v1.3.0): /cfs-file/__key/communityserver-discussions-components-files/4/asset_5F00_tracker.zip

    I am building with west build -b nrf9160dk_nrf9160ns

    Can you help me understand what is causing the device to wake up after only being in PSM for about a minute? I would like to modify this example so it transmits data to nRF Cloud, then goes to PSM and wakes up x minutes/hours later, transmits again, and goes back to PSM. Here I was trying to accomplish x = 10 minutes but it is waking up multiple times inside of those 10 minutes.

    Regards,

    Akash Patel

  • Hi Akash,

    The reason the modem goes in RRC Connected mode is because of the MQTT ping.
    You need to increase the:

    CONFIG_MQTT_KEEPALIVE=600

    preferably to the same value as the:

    CONFIG_ENVIRONMENT_DATA_SEND_INTERVAL=600

    See the Kconfig for MQTT_KEEPALIVE:

    config MQTT_KEEPALIVE
    	int "Time after last transmission to send a ping to keep connection on"
    	default 1200
    	help
    	  This should be set to the expected time between messages sent from
    	  this device. Making it larger than the expected data period does not
    	  conserve bandwidth, as the ping is only sent if nothing else
    	  has been within the specified period. Shorter values can prevent hidden
    	  NAT timeouts at the carrier, but also will interrupt GPS fix attempts
    	  and slow down TTFF.

    I tested on my side and from the logs it looks like it stays in PSM for at least 10minutes

    Best regards,
    Martin L.

  • Hi Martin,

    The MQTT_KEEPALIVE configuration seems to have helped. Now it looks like we are going into PSM for about 8-9 minutes and staying awake for 1-2 minutes with the 600 second settings in your above response.

    Here is the new log if anyone is wondering what it looks like:

    2020-07-01T17:04:00.688Z INFO Application data folder: C:\Users\Akash\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2020-07-01T17:04:00.720Z DEBUG App pc-nrfconnect-linkmonitor v1.1.1 official
    2020-07-01T17:04:00.720Z DEBUG App path: C:\Users\Akash\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2020-07-01T17:04:00.720Z DEBUG nRFConnect 3.4.1 is supported by the app (^3.2.0)
    2020-07-01T17:04:00.720Z DEBUG nRFConnect path: C:\Users\Akash\AppData\Local\Programs\nrfconnect\resources\app.asar
    2020-07-01T17:04:00.720Z DEBUG HomeDir: C:\Users\Akash
    2020-07-01T17:04:00.720Z DEBUG TmpDir: C:\Users\Akash\AppData\Local\Temp
    2020-07-01T17:04:00.727Z VERBOSE Could not fetch serial number for serial port at COM3
    2020-07-01T17:04:02.068Z INFO Modem port is opened
    2020-07-01T17:04:02.072Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2020-07-01T17:04:16.951Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-07-01T17:04:16.962Z DEBUG modem << [00:00:00.005,249] \x1B[0m<inf> mcuboot: Starting bootloader\x1B[0m\x0D\x0A
    2020-07-01T17:04:16.968Z DEBUG modem << [00:00:00.013,519] \x1B[0m<inf> mcuboot: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3\x1B[0m\x0D\x0A
    2020-07-01T17:04:16.973Z DEBUG modem << [00:00:00.026,947] \x1B[0m<inf> mcuboot: Boot source: none\x1B[0m\x0D\x0A
    2020-07-01T17:04:16.981Z DEBUG modem << [00:00:00.034,240] \x1B[0m<inf> mcuboot: Swap type: none\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.330Z DEBUG modem << [00:00:00.498,260] \x1B[0m<inf> mcuboot: Bootloader chainload address offset: 0x10000\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.337Z DEBUG modem << [00:00:00.508,605] \x1B[0m<inf> mcuboot: Jumping to the first image slot\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.342Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-07-01T17:04:17.347Z DEBUG modem << Flash regions\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2020-07-01T17:04:17.349Z DEBUG modem << 00 02 0x00000 0x18000 \x09Secure\x09\x09rwxl\x0D\x0A
    2020-07-01T17:04:17.352Z DEBUG modem << 03 31 0x18000 0x100000 \x09Non-Secure\x09rwxl\x0D
    2020-07-01T17:04:17.363Z DEBUG modem << Non-secure callable region 0 placed in flash region 2 with size 32.\x0D\x0A\x0D\x0A
    2020-07-01T17:04:17.530Z DEBUG modem << SRAM region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2020-07-01T17:04:17.535Z DEBUG modem << 00 07 0x00000 0x10000 \x09Secure\x09\x09rwxl\x0D\x0A
    2020-07-01T17:04:17.539Z DEBUG modem << 08 31 0x10000 0x40000 \x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
    2020-07-01T17:04:17.546Z DEBUG modem << Peripheral\x09\x09Domain\x09\x09Status\x0D\x0A
    2020-07-01T17:04:17.549Z DEBUG modem << 00 NRF_P0               Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.551Z DEBUG modem << 01 NRF_CLOCK            Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.555Z DEBUG modem << 02 NRF_RTC0             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.557Z DEBUG modem << 03 NRF_RTC1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.565Z DEBUG modem << 04 NRF_NVMC             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.569Z DEBUG modem << 05 NRF_UARTE1           Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.571Z DEBUG modem << 06 NRF_UARTE2           Secure\x09\x09SKIP\x0D\x0A
    2020-07-01T17:04:17.573Z DEBUG modem << 07 NRF_TWIM2            Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.577Z DEBUG modem << 08 NRF_SPIM3            Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.583Z DEBUG modem << 09 NRF_TIMER0           Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.585Z DEBUG modem << 10 NRF_TIMER1           Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.587Z DEBUG modem << 11 NRF_TIMER2           Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.589Z DEBUG modem << 12 NRF_SAADC            Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.590Z DEBUG modem << 13 NRF_PWM0             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.597Z DEBUG modem << 14 NRF_PWM1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.600Z DEBUG modem << 15 NRF_PWM2             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.601Z DEBUG modem << 16 NRF_PWM3             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.603Z DEBUG modem << 17 NRF_WDT              Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.605Z DEBUG modem << 18 NRF_IPC              Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.613Z DEBUG modem << 19 NRF_VMC              Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.616Z DEBUG modem << 20 NRF_FPU              Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.618Z DEBUG modem << 21 NRF_EGU1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.620Z DEBUG modem << 22 NRF_EGU2             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.622Z DEBUG modem << 23 NRF_DPPIC            Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.630Z DEBUG modem << 24 NRF_GPIOTE1          Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.637Z DEBUG modem << 25 NRF_REGULATORS       Non-Secure\x09OK\x0D\x0A\x0D\x0A
    2020-07-01T17:04:17.639Z DEBUG modem << SPM: NS image at 0x1c200\x0D\x0A
    2020-07-01T17:04:17.640Z DEBUG modem << SPM: NS MSP at 0x20031010\x0D\x0A
    2020-07-01T17:04:17.641Z DEBUG modem << SPM: NS reset vector at 0x25845\x0D\x0A
    2020-07-01T17:04:17.647Z DEBUG modem << SPM: prepare to jump to Non-Secure image.\x0D\x0A
    2020-07-01T17:04:17.833Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-07-01T17:04:17.843Z DEBUG modem << [00:00:00.188,079] \x1B[0m<dbg> nrf9160_gps.setup: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.850Z DEBUG modem << [00:00:00.197,021] \x1B[0m<dbg> nrf9160_gps.setup: COEX0 set: AT%XCOEX0=1,1,1570,1580\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.857Z DEBUG modem << [00:00:00.204,833] \x1B[0m<inf> asset_tracker: Asset tracker started\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.869Z DEBUG modem << [00:00:00.211,212] \x1B[0m<inf> watchdog: Watchdog timeout installed. Timeout: 10000\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.872Z DEBUG modem << [00:00:00.218,933] \x1B[0m<inf> watchdog: Watchdog started\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.882Z DEBUG modem << [00:00:00.224,395] \x1B[0m<inf> watchdog: Watchdog feed enabled. Timeout: 5000\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.898Z DEBUG modem << [00:00:00.238,586] \x1B[0m<dbg> nrf_cloud_transport.nct_client_id_get: client_id = nrf-352656100367955\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.905Z DEBUG modem << [00:00:00.247,924] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_base_topic: $aws/things/nrf-352656100367955/shadow\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.917Z DEBUG modem << [00:00:00.259,735] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: accepted_topic: nrf-352656100367955/shadow/get/accepted\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.931Z DEBUG modem << [00:00:00.271,362] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: rejected_topic: $aws/things/nrf-352656100367955/shadow/get/rejected\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.948Z DEBUG modem << [00:00:00.284,027] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_delta_topic: $aws/things/nrf-352656100367955/shadow/update/delta\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.955Z DEBUG modem << [00:00:00.297,088] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_topic: $aws/things/nrf-352656100367955/shadow/update\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.967Z DEBUG modem << [00:00:00.309,082] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_get_topic: $aws/things/nrf-352656100367955/shadow/get\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.974Z DEBUG modem << [00:00:00.321,411] \x1B[0m<inf> asset_tracker: Connecting to LTE network.\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.983Z DEBUG modem << [00:00:00.328,155] \x1B[0m<inf> asset_tracker: This may take several minutes.\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.998Z DEBUG modem << [00:00:00.335,327] \x1B[0m<dbg> lte_lc.lte_lc_system_mode_set: Sending AT command to set system mode: AT%XSYSTEMMODE=1,0,1,0\x1B[0m\x0D\x0A
    2020-07-01T17:04:18.019Z DEBUG modem << [00:00:00.362,060] \x1B[0m<dbg> lte_lc.lte_lc_system_mode_set: Sending AT command to set system mode: AT%XSYSTEMMODE=1,0,1,0\x1B[0m\x0D\x0A
    2020-07-01T17:04:19.952Z DEBUG modem << +CEREG: 2,"8B3B","0A125011",7,0,0,"11100000","11100000"\x0D\x0A
    2020-07-01T17:04:19.966Z DEBUG modem << [00:00:02.306,976] \x1B[0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 2,"8B3B","0A125011",7,0,0,"11100000","11100000"\x0D\x0A
    2020-07-01T17:04:19.968Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:19.972Z DEBUG modem << [00:00:02.318,908] \x1B[0m<dbg> lte_lc.parse_psm_cfg: TAU: -1 sec, active time: -1 sec\x0A
    2020-07-01T17:04:19.973Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:20.043Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:04:20.050Z DEBUG modem << [00:00:02.398,162] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:20.985Z DEBUG modem << +CEREG: 1,"8B3B","0A125011",7,,,"11100000","11100000"\x0D
    2020-07-01T17:04:20.995Z DEBUG modem >> AT+COPS=3,2\x0D\x0A
    2020-07-01T17:04:20.997Z DEBUG modem << [00:00:03.340,118] \x1B[0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 1,"8B3B","0A125011",7,,,"11100000","11100000"\x0D\x0A
    2020-07-01T17:04:20.999Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:21.005Z DEBUG modem << [00:00:03.351,867] \x1B[0m<dbg> lte_lc.parse_psm_cfg: TAU: -1 sec, active time: -1 sec\x0A
    2020-07-01T17:04:21.007Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:21.017Z DEBUG modem << [00:00:03.359,985] \x1B[0m<inf> asset_tracker: Connected to LTE network.\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.019Z DEBUG modem << [00:00:03.366,638] \x1B[0m<inf> asset_tracker: Connecting to cloud, attempt 1 of 8\x1B[0m\x0D
    2020-07-01T17:04:21.028Z DEBUG modem << [00:00:03.374,206] \x1B[0m<inf> asset_tracker: Cloud connection request sent.\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.035Z DEBUG modem << [00:00:03.381,286] \x1B[0m<inf> asset_tracker: Connection response timeout is set to 30 seconds.\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.038Z DEBUG modem << +CEDRXP: 4,"1001","1001","0001"\x0D
    2020-07-01T17:04:21.047Z DEBUG modem << [00:00:03.393,096] \x1B[0m<dbg> lte_lc.at_handler: +CEDRXP notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.054Z DEBUG modem << [00:0[00:00:03.401,641] \x1B[0m<dbg> lte_lc.parse_edrx: eDRX value: 163.83, PTW: 2.55\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.056Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:21.062Z DEBUG modem >> AT+COPS?\x0D\x0A
    2020-07-01T17:04:21.065Z DEBUG modem << 0:03.399,871] \x1B[0m<inf> asset_tracker: CLOUD_EVT_CONNECTING\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.068Z DEBUG modem << +COPS: 0,2,"310410",7\x0D\x0A
    2020-07-01T17:04:21.071Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:21.084Z DEBUG modem >> AT%XCBAND\x0D\x0A
    2020-07-01T17:04:21.089Z DEBUG modem << %XCBAND: 17\x0D\x0A
    2020-07-01T17:04:21.095Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:21.103Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2020-07-01T17:04:21.114Z DEBUG modem << +CGDCONT: 0,"IP","m2m.com.attz","10.243.0.202",0,0\x0D\x0A
    2020-07-01T17:04:21.116Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:21.122Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2020-07-01T17:04:21.132Z DEBUG modem << +CGACT: 0,1\x0D\x0A
    2020-07-01T17:04:21.135Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:21.182Z DEBUG modem << [00:00:03.528,961] \x1B[0m<dbg> nrf_cloud_transport.nct_connect: IPv4 address: 52.0.149.79\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.198Z DEBUG modem << [00:00:03.537,200] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_connect: mqtt_connect requesting persistent session\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.407Z DEBUG modem << [00:00:07.754,150] \x1B[0m<inf> nrf_cloud_transport: Using non-blocking socket\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.414Z DEBUG modem << [00:00:07.761,352] \x1B[0m<dbg> nrf_cloud.nrf_cloud_run: Cloud connection request sent.\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.700Z DEBUG modem << [00:00:08.044,128] \x1B[0m<dbg> aws_fota.aws_fota_mqtt_evt_handler: Previous session valid; skipping FOTA subscriptions\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.713Z DEBUG modem << [00:00:08.054,992] \x1B[0m<inf> aws_fota: Created notify_next_topic $aws/things/nrf-352656100367955/jobs/notify-next\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.721Z DEBUG modem << [00:00:08.065,551] \x1B[0m<inf> aws_fota: Created get_topic $aws/things/nrf-352656100367955/jobs/$next/get/#\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.736Z DEBUG modem << [00:00:08.075,378] \x1B[0m<inf> aws_fota: previously subscribed to notify-next topic\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.738Z DEBUG modem << [00:00:08.083,160] \x1B[0m<inf> aws_jobs: Publish topic: $aws/things/nrf-352656100367955/jobs/$next/get\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.752Z DEBUG modem << [00:00:08.092,529] \x1B[0m<inf> aws_jobs: Publish payload {"clientToken": ""}\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.754Z DEBUG modem << [00:00:08.100,616] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_CONNACK: result 0\x1B[0m\x0D
    2020-07-01T17:04:25.767Z DEBUG modem << [00:00:08.109,741] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 2\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.773Z DEBUG modem << [00:00:08.117,553] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_TRANSPORT_CONNECTED\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.783Z DEBUG modem << [00:00:08.126,129] \x1B[0m<inf> asset_tracker: CLOUD_EVT_CONNECTED\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.785Z DEBUG modem << [00:00:08.132,232] \x1B[0m<inf> asset_tracker: Persistent Sessions = 1\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.800Z DEBUG modem << [00:00:08.138,732] \x1B[0m<dbg> nrf_cloud_fsm.connection_handler: Previous session valid; skipping nct_cc_connect()\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.802Z DEBUG modem << [00:00:08.149,139] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 4\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.815Z DEBUG modem << [00:00:08.156,951] \x1B[0m<dbg> nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 5678 opcode = 0 len = 0\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.820Z DEBUG modem << [00:00:08.167,419] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 5\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.887Z DEBUG modem << [00:00:08.231,781] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 3264 result = 0\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.931Z DEBUG modem << [00:00:08.274,688] \x1B[0m<dbg> aws_fota.on_publish_evt: Received topic: $aws/things/nrf-352656100367955/jobs/$next/get/accepted\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.938Z DEBUG modem << [00:00:08.286,254] \x1B[0m<inf> aws_fota: Checking for an available job\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.948Z DEBUG modem << [00:00:08.292,938] \x1B[0m<dbg> aws_fota.get_job_execution: Job doc: {"clientToken":"","timestamp":1593623065}\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.955Z DEBUG modem << [00:00:08.303,192] \x1B[0m<dbg> aws_fota.get_job_execution: Got only one field\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.966Z DEBUG modem << [00:00:08.310,363] \x1B[0m<inf> aws_fota: No queued jobs for this device\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.049Z DEBUG modem << [00:00:08.394,165] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 5678 result = 0\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.057Z DEBUG modem << [00:00:08.404,266] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 5\x1B[0m\x0D
    2020-07-01T17:04:26.291Z DEBUG modem << [00:00:08.636,291] \x1B[0m<dbg> aws_fota.on_publish_evt: Received topic: nrf-352656100367955/shadow/get/accepted\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.305Z DEBUG modem << [00:00:08.646,423] \x1B[0m<dbg> aws_fota.on_publish_evt: received an unhandled MQTT publish event on topic: nrf-352656100367955/shadow/get/accepted\x1B[0m\x0D
    2020-07-01T17:04:26.315Z DEBUG modem << [00:00:08.659,667] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBLISH: id = 0 len = 317\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.324Z DEBUG modem << [00:00:08.670,745] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 5\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.334Z DEBUG modem << [00:00:08.678,527] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_RX_DATA\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.337Z DEBUG modem << [00:00:08.686,065] \x1B[0m<inf> asset_tracker: CLOUD_EVT_DATA_RECEIVED\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.350Z DEBUG modem << [00:00:08.693,420] \x1B[0m<inf> cloud_codec: [cloud_search_config:900] Found cfg item GPS, enable\x0A
    2020-07-01T17:04:26.351Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:26.366Z DEBUG modem << [00:00:08.705,108] \x1B[0m<dbg> nrf_cloud_transport.nct_dc_endpoint_set: nct_dc_endpoint_set\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.368Z DEBUG modem << [00:00:08.713,714] \x1B[0m<dbg> nrf_cloud_transport.nct_dc_endpoint_get: nct_dc_endpoint_get\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.383Z DEBUG modem << [00:00:08.723,541] \x1B[0m<dbg> nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 7890 opcode = 1 len = 329\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.389Z DEBUG modem << [00:00:08.735,656] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 7\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.400Z DEBUG modem << [00:00:08.743,469] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_USER_ASSOCIATED\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.403Z DEBUG modem << [00:00:08.751,678] \x1B[0m<inf> asset_tracker: CLOUD_EVT_PAIR_DONE\x1B[0m\x0D
    2020-07-01T17:04:26.693Z DEBUG modem << [00:00:09.037,811] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 7890 result = 0\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.703Z DEBUG modem << [00:00:09.047,912] \x1B[0m<dbg> nrf_cloud_fsm.cc_tx_ack_handler: Previous session valid; skipping nct_dc_connect()\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.713Z DEBUG modem << [00:00:09.058,227] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 9\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.718Z DEBUG modem << [00:00:09.066,040] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_READY\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.731Z DEBUG modem << [00:00:09.073,364] \x1B[0m<inf> asset_tracker: CLOUD_EVT_READY\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.740Z DEBUG modem << [00:00:09.080,047] \x1B[0m<dbg> nrf9160_gps.init: GPS socket created, fd: 1232491587\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.750Z DEBUG modem << [00:00:09.094,940] \x1B[0m<inf> gps_control: GPS initialized\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.784Z DEBUG modem << [00:00:09.129,455] \x1B[0m<dbg> nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 1 opcode = 1 len = 618\x1B[0m\x0D\x0A
    2020-07-01T17:04:27.088Z DEBUG modem << [00:00:09.433,074] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 1 result = 0\x1B[0m\x0D\x0A
    2020-07-01T17:04:32.703Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:04:32.710Z DEBUG modem << [00:00:15.058,624] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:32.793Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:04:32.800Z DEBUG modem << [00:00:15.148,590] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:38.703Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:04:38.718Z DEBUG modem << [00:00:21.058,441] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:41.285Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:04:41.292Z DEBUG modem << [00:00:23.640,838] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:42.607Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:04:42.613Z DEBUG modem << [00:00:24.962,127] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:42.684Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:04:42.690Z DEBUG modem << [00:00:25.038,879] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:42.751Z DEBUG modem << +CEREG: 1,"8B3B","0A125011",7,,,"00011110","00011110"\x0D\x0A
    2020-07-01T17:04:42.759Z DEBUG modem >> AT+COPS=3,2\x0D\x0A
    2020-07-01T17:04:42.763Z DEBUG modem << [00:00:25.106,811] \x1B[0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 1,"8B3B","0A125011",7,,,"00011110","00011110"\x0D\x0A
    2020-07-01T17:04:42.764Z DEBUG modem << \x1B[0m\x0D
    2020-07-01T17:04:42.771Z DEBUG modem << [00:00:25.118,560] \x1B[0m<dbg> lte_lc.parse_psm_cfg: TAU: 18000 sec, active time: 60 sec\x0A
    2020-07-01T17:04:42.772Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:42.773Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:42.784Z DEBUG modem >> AT+COPS?\x0D\x0A
    2020-07-01T17:04:42.789Z DEBUG modem << +COPS: 0,2,"310410",7\x0D\x0A
    2020-07-01T17:04:42.798Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:42.805Z DEBUG modem >> AT%XCBAND\x0D\x0A
    2020-07-01T17:04:42.815Z DEBUG modem << %XCBAND: 17\x0D\x0A
    2020-07-01T17:04:42.817Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:42.821Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2020-07-01T17:04:42.832Z DEBUG modem << +CGDCONT: 0,"IP","m2m.com.attz","10.243.0.202",0,0\x0D\x0A
    2020-07-01T17:04:42.833Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:42.837Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2020-07-01T17:04:42.849Z DEBUG modem << +CGACT: 0,1\x0D\x0A
    2020-07-01T17:04:42.850Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:44.007Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:04:44.014Z DEBUG modem << [00:00:26.362,182] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:05:44.034Z DEBUG modem << %CESQ: 255,0,255,0\x0D\x0A
    2020-07-01T17:14:31.817Z DEBUG modem << %CESQ: 35,1,6,0\x0D\x0A
    2020-07-01T17:14:32.474Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:14:32.481Z DEBUG modem << [00:10:14.846,343] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:14:34.513Z DEBUG modem << %CESQ: 35,1,11,1\x0D\x0A
    2020-07-01T17:14:38.339Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:14:38.350Z DEBUG modem << [00:10:20.711,212] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:15:38.366Z DEBUG modem << %CESQ: 255,0,255,0\x0D
    2020-07-01T17:24:31.837Z DEBUG modem << %CESQ: 31,1,0,0\x0D\x0A
    2020-07-01T17:24:32.434Z DEBUG modem << +CSCON: 1\x0D
    2020-07-01T17:24:32.441Z DEBUG modem << [00:20:14.824,066] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:24:32.620Z DEBUG modem << %CESQ: 31,1,5,0\x0D\x0A
    2020-07-01T17:24:33.232Z DEBUG modem << %CESQ: 36,1,5,0\x0D\x0A
    2020-07-01T17:24:34.192Z DEBUG modem << %CESQ: 36,1,10,1\x0D\x0A
    2020-07-01T17:24:38.334Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:24:38.342Z DEBUG modem << [00:20:20.722,869] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:24:40.429Z DEBUG modem << %CESQ: 36,1,5,0\x0D\x0A
    2020-07-01T17:25:21.390Z DEBUG modem << %CESQ: 36,1,10,1\x0D\x0A
    2020-07-01T17:25:31.924Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:25:31.933Z DEBUG modem << [00:21:14.315,856] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:25:37.839Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:25:37.848Z DEBUG modem << [00:21:20.230,682] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:25:37.872Z DEBUG modem << %CESQ: 36,1,15,2\x0D\x0A
    2020-07-01T17:26:07.469Z DEBUG modem << %CESQ: 36,1,10,1\x0D\x0A
    2020-07-01T17:26:16.429Z DEBUG modem << %CESQ: 36,1,5,0\x0D\x0A
    2020-07-01T17:26:26.669Z DEBUG modem << %CESQ: 36,1,10,1\x0D\x0A
    2020-07-01T17:26:37.865Z DEBUG modem << %CESQ: 255,0,255,0\x0D\x0A
    2020-07-01T17:34:31.853Z DEBUG modem << %CESQ: 33,1,0,0\x0D\x0A
    2020-07-01T17:34:32.445Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:34:32.451Z DEBUG modem << [00:30:14.851,806] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:34:32.625Z DEBUG modem << %CESQ: 33,1,6,0\x0D\x0A
    2020-07-01T17:34:33.228Z DEBUG modem << %CESQ: 38,1,6,0\x0D\x0A
    2020-07-01T17:34:38.390Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:34:38.397Z DEBUG modem << [00:30:20.796,691] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:34:43.309Z DEBUG modem << %CESQ: 38,1,11,1\x0D\x0A
    2020-07-01T17:35:31.995Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:35:32.003Z DEBUG modem << [00:31:14.403,594] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:35:37.847Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:35:37.863Z DEBUG modem << [00:31:20.256,408] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:36:37.874Z DEBUG modem << %CESQ: 255,0,255,0\x0D\x0A
    

    Regards,

    Akash 

Reply
  • Hi Martin,

    The MQTT_KEEPALIVE configuration seems to have helped. Now it looks like we are going into PSM for about 8-9 minutes and staying awake for 1-2 minutes with the 600 second settings in your above response.

    Here is the new log if anyone is wondering what it looks like:

    2020-07-01T17:04:00.688Z INFO Application data folder: C:\Users\Akash\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2020-07-01T17:04:00.720Z DEBUG App pc-nrfconnect-linkmonitor v1.1.1 official
    2020-07-01T17:04:00.720Z DEBUG App path: C:\Users\Akash\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2020-07-01T17:04:00.720Z DEBUG nRFConnect 3.4.1 is supported by the app (^3.2.0)
    2020-07-01T17:04:00.720Z DEBUG nRFConnect path: C:\Users\Akash\AppData\Local\Programs\nrfconnect\resources\app.asar
    2020-07-01T17:04:00.720Z DEBUG HomeDir: C:\Users\Akash
    2020-07-01T17:04:00.720Z DEBUG TmpDir: C:\Users\Akash\AppData\Local\Temp
    2020-07-01T17:04:00.727Z VERBOSE Could not fetch serial number for serial port at COM3
    2020-07-01T17:04:02.068Z INFO Modem port is opened
    2020-07-01T17:04:02.072Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2020-07-01T17:04:16.951Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-07-01T17:04:16.962Z DEBUG modem << [00:00:00.005,249] \x1B[0m<inf> mcuboot: Starting bootloader\x1B[0m\x0D\x0A
    2020-07-01T17:04:16.968Z DEBUG modem << [00:00:00.013,519] \x1B[0m<inf> mcuboot: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3\x1B[0m\x0D\x0A
    2020-07-01T17:04:16.973Z DEBUG modem << [00:00:00.026,947] \x1B[0m<inf> mcuboot: Boot source: none\x1B[0m\x0D\x0A
    2020-07-01T17:04:16.981Z DEBUG modem << [00:00:00.034,240] \x1B[0m<inf> mcuboot: Swap type: none\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.330Z DEBUG modem << [00:00:00.498,260] \x1B[0m<inf> mcuboot: Bootloader chainload address offset: 0x10000\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.337Z DEBUG modem << [00:00:00.508,605] \x1B[0m<inf> mcuboot: Jumping to the first image slot\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.342Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-07-01T17:04:17.347Z DEBUG modem << Flash regions\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2020-07-01T17:04:17.349Z DEBUG modem << 00 02 0x00000 0x18000 \x09Secure\x09\x09rwxl\x0D\x0A
    2020-07-01T17:04:17.352Z DEBUG modem << 03 31 0x18000 0x100000 \x09Non-Secure\x09rwxl\x0D
    2020-07-01T17:04:17.363Z DEBUG modem << Non-secure callable region 0 placed in flash region 2 with size 32.\x0D\x0A\x0D\x0A
    2020-07-01T17:04:17.530Z DEBUG modem << SRAM region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2020-07-01T17:04:17.535Z DEBUG modem << 00 07 0x00000 0x10000 \x09Secure\x09\x09rwxl\x0D\x0A
    2020-07-01T17:04:17.539Z DEBUG modem << 08 31 0x10000 0x40000 \x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
    2020-07-01T17:04:17.546Z DEBUG modem << Peripheral\x09\x09Domain\x09\x09Status\x0D\x0A
    2020-07-01T17:04:17.549Z DEBUG modem << 00 NRF_P0               Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.551Z DEBUG modem << 01 NRF_CLOCK            Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.555Z DEBUG modem << 02 NRF_RTC0             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.557Z DEBUG modem << 03 NRF_RTC1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.565Z DEBUG modem << 04 NRF_NVMC             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.569Z DEBUG modem << 05 NRF_UARTE1           Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.571Z DEBUG modem << 06 NRF_UARTE2           Secure\x09\x09SKIP\x0D\x0A
    2020-07-01T17:04:17.573Z DEBUG modem << 07 NRF_TWIM2            Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.577Z DEBUG modem << 08 NRF_SPIM3            Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.583Z DEBUG modem << 09 NRF_TIMER0           Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.585Z DEBUG modem << 10 NRF_TIMER1           Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.587Z DEBUG modem << 11 NRF_TIMER2           Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.589Z DEBUG modem << 12 NRF_SAADC            Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.590Z DEBUG modem << 13 NRF_PWM0             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.597Z DEBUG modem << 14 NRF_PWM1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.600Z DEBUG modem << 15 NRF_PWM2             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.601Z DEBUG modem << 16 NRF_PWM3             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.603Z DEBUG modem << 17 NRF_WDT              Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.605Z DEBUG modem << 18 NRF_IPC              Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.613Z DEBUG modem << 19 NRF_VMC              Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.616Z DEBUG modem << 20 NRF_FPU              Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.618Z DEBUG modem << 21 NRF_EGU1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.620Z DEBUG modem << 22 NRF_EGU2             Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.622Z DEBUG modem << 23 NRF_DPPIC            Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.630Z DEBUG modem << 24 NRF_GPIOTE1          Non-Secure\x09OK\x0D\x0A
    2020-07-01T17:04:17.637Z DEBUG modem << 25 NRF_REGULATORS       Non-Secure\x09OK\x0D\x0A\x0D\x0A
    2020-07-01T17:04:17.639Z DEBUG modem << SPM: NS image at 0x1c200\x0D\x0A
    2020-07-01T17:04:17.640Z DEBUG modem << SPM: NS MSP at 0x20031010\x0D\x0A
    2020-07-01T17:04:17.641Z DEBUG modem << SPM: NS reset vector at 0x25845\x0D\x0A
    2020-07-01T17:04:17.647Z DEBUG modem << SPM: prepare to jump to Non-Secure image.\x0D\x0A
    2020-07-01T17:04:17.833Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-07-01T17:04:17.843Z DEBUG modem << [00:00:00.188,079] \x1B[0m<dbg> nrf9160_gps.setup: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.850Z DEBUG modem << [00:00:00.197,021] \x1B[0m<dbg> nrf9160_gps.setup: COEX0 set: AT%XCOEX0=1,1,1570,1580\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.857Z DEBUG modem << [00:00:00.204,833] \x1B[0m<inf> asset_tracker: Asset tracker started\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.869Z DEBUG modem << [00:00:00.211,212] \x1B[0m<inf> watchdog: Watchdog timeout installed. Timeout: 10000\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.872Z DEBUG modem << [00:00:00.218,933] \x1B[0m<inf> watchdog: Watchdog started\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.882Z DEBUG modem << [00:00:00.224,395] \x1B[0m<inf> watchdog: Watchdog feed enabled. Timeout: 5000\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.898Z DEBUG modem << [00:00:00.238,586] \x1B[0m<dbg> nrf_cloud_transport.nct_client_id_get: client_id = nrf-352656100367955\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.905Z DEBUG modem << [00:00:00.247,924] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_base_topic: $aws/things/nrf-352656100367955/shadow\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.917Z DEBUG modem << [00:00:00.259,735] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: accepted_topic: nrf-352656100367955/shadow/get/accepted\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.931Z DEBUG modem << [00:00:00.271,362] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: rejected_topic: $aws/things/nrf-352656100367955/shadow/get/rejected\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.948Z DEBUG modem << [00:00:00.284,027] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_delta_topic: $aws/things/nrf-352656100367955/shadow/update/delta\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.955Z DEBUG modem << [00:00:00.297,088] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_topic: $aws/things/nrf-352656100367955/shadow/update\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.967Z DEBUG modem << [00:00:00.309,082] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_get_topic: $aws/things/nrf-352656100367955/shadow/get\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.974Z DEBUG modem << [00:00:00.321,411] \x1B[0m<inf> asset_tracker: Connecting to LTE network.\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.983Z DEBUG modem << [00:00:00.328,155] \x1B[0m<inf> asset_tracker: This may take several minutes.\x1B[0m\x0D\x0A
    2020-07-01T17:04:17.998Z DEBUG modem << [00:00:00.335,327] \x1B[0m<dbg> lte_lc.lte_lc_system_mode_set: Sending AT command to set system mode: AT%XSYSTEMMODE=1,0,1,0\x1B[0m\x0D\x0A
    2020-07-01T17:04:18.019Z DEBUG modem << [00:00:00.362,060] \x1B[0m<dbg> lte_lc.lte_lc_system_mode_set: Sending AT command to set system mode: AT%XSYSTEMMODE=1,0,1,0\x1B[0m\x0D\x0A
    2020-07-01T17:04:19.952Z DEBUG modem << +CEREG: 2,"8B3B","0A125011",7,0,0,"11100000","11100000"\x0D\x0A
    2020-07-01T17:04:19.966Z DEBUG modem << [00:00:02.306,976] \x1B[0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 2,"8B3B","0A125011",7,0,0,"11100000","11100000"\x0D\x0A
    2020-07-01T17:04:19.968Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:19.972Z DEBUG modem << [00:00:02.318,908] \x1B[0m<dbg> lte_lc.parse_psm_cfg: TAU: -1 sec, active time: -1 sec\x0A
    2020-07-01T17:04:19.973Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:20.043Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:04:20.050Z DEBUG modem << [00:00:02.398,162] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:20.985Z DEBUG modem << +CEREG: 1,"8B3B","0A125011",7,,,"11100000","11100000"\x0D
    2020-07-01T17:04:20.995Z DEBUG modem >> AT+COPS=3,2\x0D\x0A
    2020-07-01T17:04:20.997Z DEBUG modem << [00:00:03.340,118] \x1B[0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 1,"8B3B","0A125011",7,,,"11100000","11100000"\x0D\x0A
    2020-07-01T17:04:20.999Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:21.005Z DEBUG modem << [00:00:03.351,867] \x1B[0m<dbg> lte_lc.parse_psm_cfg: TAU: -1 sec, active time: -1 sec\x0A
    2020-07-01T17:04:21.007Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:21.017Z DEBUG modem << [00:00:03.359,985] \x1B[0m<inf> asset_tracker: Connected to LTE network.\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.019Z DEBUG modem << [00:00:03.366,638] \x1B[0m<inf> asset_tracker: Connecting to cloud, attempt 1 of 8\x1B[0m\x0D
    2020-07-01T17:04:21.028Z DEBUG modem << [00:00:03.374,206] \x1B[0m<inf> asset_tracker: Cloud connection request sent.\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.035Z DEBUG modem << [00:00:03.381,286] \x1B[0m<inf> asset_tracker: Connection response timeout is set to 30 seconds.\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.038Z DEBUG modem << +CEDRXP: 4,"1001","1001","0001"\x0D
    2020-07-01T17:04:21.047Z DEBUG modem << [00:00:03.393,096] \x1B[0m<dbg> lte_lc.at_handler: +CEDRXP notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.054Z DEBUG modem << [00:0[00:00:03.401,641] \x1B[0m<dbg> lte_lc.parse_edrx: eDRX value: 163.83, PTW: 2.55\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.056Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:21.062Z DEBUG modem >> AT+COPS?\x0D\x0A
    2020-07-01T17:04:21.065Z DEBUG modem << 0:03.399,871] \x1B[0m<inf> asset_tracker: CLOUD_EVT_CONNECTING\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.068Z DEBUG modem << +COPS: 0,2,"310410",7\x0D\x0A
    2020-07-01T17:04:21.071Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:21.084Z DEBUG modem >> AT%XCBAND\x0D\x0A
    2020-07-01T17:04:21.089Z DEBUG modem << %XCBAND: 17\x0D\x0A
    2020-07-01T17:04:21.095Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:21.103Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2020-07-01T17:04:21.114Z DEBUG modem << +CGDCONT: 0,"IP","m2m.com.attz","10.243.0.202",0,0\x0D\x0A
    2020-07-01T17:04:21.116Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:21.122Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2020-07-01T17:04:21.132Z DEBUG modem << +CGACT: 0,1\x0D\x0A
    2020-07-01T17:04:21.135Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:21.182Z DEBUG modem << [00:00:03.528,961] \x1B[0m<dbg> nrf_cloud_transport.nct_connect: IPv4 address: 52.0.149.79\x1B[0m\x0D\x0A
    2020-07-01T17:04:21.198Z DEBUG modem << [00:00:03.537,200] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_connect: mqtt_connect requesting persistent session\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.407Z DEBUG modem << [00:00:07.754,150] \x1B[0m<inf> nrf_cloud_transport: Using non-blocking socket\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.414Z DEBUG modem << [00:00:07.761,352] \x1B[0m<dbg> nrf_cloud.nrf_cloud_run: Cloud connection request sent.\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.700Z DEBUG modem << [00:00:08.044,128] \x1B[0m<dbg> aws_fota.aws_fota_mqtt_evt_handler: Previous session valid; skipping FOTA subscriptions\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.713Z DEBUG modem << [00:00:08.054,992] \x1B[0m<inf> aws_fota: Created notify_next_topic $aws/things/nrf-352656100367955/jobs/notify-next\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.721Z DEBUG modem << [00:00:08.065,551] \x1B[0m<inf> aws_fota: Created get_topic $aws/things/nrf-352656100367955/jobs/$next/get/#\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.736Z DEBUG modem << [00:00:08.075,378] \x1B[0m<inf> aws_fota: previously subscribed to notify-next topic\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.738Z DEBUG modem << [00:00:08.083,160] \x1B[0m<inf> aws_jobs: Publish topic: $aws/things/nrf-352656100367955/jobs/$next/get\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.752Z DEBUG modem << [00:00:08.092,529] \x1B[0m<inf> aws_jobs: Publish payload {"clientToken": ""}\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.754Z DEBUG modem << [00:00:08.100,616] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_CONNACK: result 0\x1B[0m\x0D
    2020-07-01T17:04:25.767Z DEBUG modem << [00:00:08.109,741] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 2\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.773Z DEBUG modem << [00:00:08.117,553] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_TRANSPORT_CONNECTED\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.783Z DEBUG modem << [00:00:08.126,129] \x1B[0m<inf> asset_tracker: CLOUD_EVT_CONNECTED\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.785Z DEBUG modem << [00:00:08.132,232] \x1B[0m<inf> asset_tracker: Persistent Sessions = 1\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.800Z DEBUG modem << [00:00:08.138,732] \x1B[0m<dbg> nrf_cloud_fsm.connection_handler: Previous session valid; skipping nct_cc_connect()\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.802Z DEBUG modem << [00:00:08.149,139] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 4\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.815Z DEBUG modem << [00:00:08.156,951] \x1B[0m<dbg> nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 5678 opcode = 0 len = 0\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.820Z DEBUG modem << [00:00:08.167,419] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 5\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.887Z DEBUG modem << [00:00:08.231,781] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 3264 result = 0\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.931Z DEBUG modem << [00:00:08.274,688] \x1B[0m<dbg> aws_fota.on_publish_evt: Received topic: $aws/things/nrf-352656100367955/jobs/$next/get/accepted\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.938Z DEBUG modem << [00:00:08.286,254] \x1B[0m<inf> aws_fota: Checking for an available job\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.948Z DEBUG modem << [00:00:08.292,938] \x1B[0m<dbg> aws_fota.get_job_execution: Job doc: {"clientToken":"","timestamp":1593623065}\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.955Z DEBUG modem << [00:00:08.303,192] \x1B[0m<dbg> aws_fota.get_job_execution: Got only one field\x1B[0m\x0D\x0A
    2020-07-01T17:04:25.966Z DEBUG modem << [00:00:08.310,363] \x1B[0m<inf> aws_fota: No queued jobs for this device\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.049Z DEBUG modem << [00:00:08.394,165] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 5678 result = 0\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.057Z DEBUG modem << [00:00:08.404,266] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 5\x1B[0m\x0D
    2020-07-01T17:04:26.291Z DEBUG modem << [00:00:08.636,291] \x1B[0m<dbg> aws_fota.on_publish_evt: Received topic: nrf-352656100367955/shadow/get/accepted\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.305Z DEBUG modem << [00:00:08.646,423] \x1B[0m<dbg> aws_fota.on_publish_evt: received an unhandled MQTT publish event on topic: nrf-352656100367955/shadow/get/accepted\x1B[0m\x0D
    2020-07-01T17:04:26.315Z DEBUG modem << [00:00:08.659,667] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBLISH: id = 0 len = 317\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.324Z DEBUG modem << [00:00:08.670,745] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 5\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.334Z DEBUG modem << [00:00:08.678,527] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_RX_DATA\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.337Z DEBUG modem << [00:00:08.686,065] \x1B[0m<inf> asset_tracker: CLOUD_EVT_DATA_RECEIVED\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.350Z DEBUG modem << [00:00:08.693,420] \x1B[0m<inf> cloud_codec: [cloud_search_config:900] Found cfg item GPS, enable\x0A
    2020-07-01T17:04:26.351Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:26.366Z DEBUG modem << [00:00:08.705,108] \x1B[0m<dbg> nrf_cloud_transport.nct_dc_endpoint_set: nct_dc_endpoint_set\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.368Z DEBUG modem << [00:00:08.713,714] \x1B[0m<dbg> nrf_cloud_transport.nct_dc_endpoint_get: nct_dc_endpoint_get\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.383Z DEBUG modem << [00:00:08.723,541] \x1B[0m<dbg> nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 7890 opcode = 1 len = 329\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.389Z DEBUG modem << [00:00:08.735,656] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 7\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.400Z DEBUG modem << [00:00:08.743,469] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_USER_ASSOCIATED\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.403Z DEBUG modem << [00:00:08.751,678] \x1B[0m<inf> asset_tracker: CLOUD_EVT_PAIR_DONE\x1B[0m\x0D
    2020-07-01T17:04:26.693Z DEBUG modem << [00:00:09.037,811] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 7890 result = 0\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.703Z DEBUG modem << [00:00:09.047,912] \x1B[0m<dbg> nrf_cloud_fsm.cc_tx_ack_handler: Previous session valid; skipping nct_dc_connect()\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.713Z DEBUG modem << [00:00:09.058,227] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 9\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.718Z DEBUG modem << [00:00:09.066,040] \x1B[0m<dbg> nrf_cloud.api_event_handler: NRF_CLOUD_EVT_READY\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.731Z DEBUG modem << [00:00:09.073,364] \x1B[0m<inf> asset_tracker: CLOUD_EVT_READY\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.740Z DEBUG modem << [00:00:09.080,047] \x1B[0m<dbg> nrf9160_gps.init: GPS socket created, fd: 1232491587\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.750Z DEBUG modem << [00:00:09.094,940] \x1B[0m<inf> gps_control: GPS initialized\x1B[0m\x0D\x0A
    2020-07-01T17:04:26.784Z DEBUG modem << [00:00:09.129,455] \x1B[0m<dbg> nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 1 opcode = 1 len = 618\x1B[0m\x0D\x0A
    2020-07-01T17:04:27.088Z DEBUG modem << [00:00:09.433,074] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 1 result = 0\x1B[0m\x0D\x0A
    2020-07-01T17:04:32.703Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:04:32.710Z DEBUG modem << [00:00:15.058,624] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:32.793Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:04:32.800Z DEBUG modem << [00:00:15.148,590] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:38.703Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:04:38.718Z DEBUG modem << [00:00:21.058,441] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:41.285Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:04:41.292Z DEBUG modem << [00:00:23.640,838] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:42.607Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:04:42.613Z DEBUG modem << [00:00:24.962,127] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:42.684Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:04:42.690Z DEBUG modem << [00:00:25.038,879] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:04:42.751Z DEBUG modem << +CEREG: 1,"8B3B","0A125011",7,,,"00011110","00011110"\x0D\x0A
    2020-07-01T17:04:42.759Z DEBUG modem >> AT+COPS=3,2\x0D\x0A
    2020-07-01T17:04:42.763Z DEBUG modem << [00:00:25.106,811] \x1B[0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 1,"8B3B","0A125011",7,,,"00011110","00011110"\x0D\x0A
    2020-07-01T17:04:42.764Z DEBUG modem << \x1B[0m\x0D
    2020-07-01T17:04:42.771Z DEBUG modem << [00:00:25.118,560] \x1B[0m<dbg> lte_lc.parse_psm_cfg: TAU: 18000 sec, active time: 60 sec\x0A
    2020-07-01T17:04:42.772Z DEBUG modem << \x1B[0m\x0D\x0A
    2020-07-01T17:04:42.773Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:42.784Z DEBUG modem >> AT+COPS?\x0D\x0A
    2020-07-01T17:04:42.789Z DEBUG modem << +COPS: 0,2,"310410",7\x0D\x0A
    2020-07-01T17:04:42.798Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:42.805Z DEBUG modem >> AT%XCBAND\x0D\x0A
    2020-07-01T17:04:42.815Z DEBUG modem << %XCBAND: 17\x0D\x0A
    2020-07-01T17:04:42.817Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:42.821Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2020-07-01T17:04:42.832Z DEBUG modem << +CGDCONT: 0,"IP","m2m.com.attz","10.243.0.202",0,0\x0D\x0A
    2020-07-01T17:04:42.833Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:42.837Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2020-07-01T17:04:42.849Z DEBUG modem << +CGACT: 0,1\x0D\x0A
    2020-07-01T17:04:42.850Z DEBUG modem << OK\x0D\x0A
    2020-07-01T17:04:44.007Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:04:44.014Z DEBUG modem << [00:00:26.362,182] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:05:44.034Z DEBUG modem << %CESQ: 255,0,255,0\x0D\x0A
    2020-07-01T17:14:31.817Z DEBUG modem << %CESQ: 35,1,6,0\x0D\x0A
    2020-07-01T17:14:32.474Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:14:32.481Z DEBUG modem << [00:10:14.846,343] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:14:34.513Z DEBUG modem << %CESQ: 35,1,11,1\x0D\x0A
    2020-07-01T17:14:38.339Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:14:38.350Z DEBUG modem << [00:10:20.711,212] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:15:38.366Z DEBUG modem << %CESQ: 255,0,255,0\x0D
    2020-07-01T17:24:31.837Z DEBUG modem << %CESQ: 31,1,0,0\x0D\x0A
    2020-07-01T17:24:32.434Z DEBUG modem << +CSCON: 1\x0D
    2020-07-01T17:24:32.441Z DEBUG modem << [00:20:14.824,066] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:24:32.620Z DEBUG modem << %CESQ: 31,1,5,0\x0D\x0A
    2020-07-01T17:24:33.232Z DEBUG modem << %CESQ: 36,1,5,0\x0D\x0A
    2020-07-01T17:24:34.192Z DEBUG modem << %CESQ: 36,1,10,1\x0D\x0A
    2020-07-01T17:24:38.334Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:24:38.342Z DEBUG modem << [00:20:20.722,869] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:24:40.429Z DEBUG modem << %CESQ: 36,1,5,0\x0D\x0A
    2020-07-01T17:25:21.390Z DEBUG modem << %CESQ: 36,1,10,1\x0D\x0A
    2020-07-01T17:25:31.924Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:25:31.933Z DEBUG modem << [00:21:14.315,856] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:25:37.839Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:25:37.848Z DEBUG modem << [00:21:20.230,682] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:25:37.872Z DEBUG modem << %CESQ: 36,1,15,2\x0D\x0A
    2020-07-01T17:26:07.469Z DEBUG modem << %CESQ: 36,1,10,1\x0D\x0A
    2020-07-01T17:26:16.429Z DEBUG modem << %CESQ: 36,1,5,0\x0D\x0A
    2020-07-01T17:26:26.669Z DEBUG modem << %CESQ: 36,1,10,1\x0D\x0A
    2020-07-01T17:26:37.865Z DEBUG modem << %CESQ: 255,0,255,0\x0D\x0A
    2020-07-01T17:34:31.853Z DEBUG modem << %CESQ: 33,1,0,0\x0D\x0A
    2020-07-01T17:34:32.445Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:34:32.451Z DEBUG modem << [00:30:14.851,806] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:34:32.625Z DEBUG modem << %CESQ: 33,1,6,0\x0D\x0A
    2020-07-01T17:34:33.228Z DEBUG modem << %CESQ: 38,1,6,0\x0D\x0A
    2020-07-01T17:34:38.390Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:34:38.397Z DEBUG modem << [00:30:20.796,691] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:34:43.309Z DEBUG modem << %CESQ: 38,1,11,1\x0D\x0A
    2020-07-01T17:35:31.995Z DEBUG modem << +CSCON: 1\x0D\x0A
    2020-07-01T17:35:32.003Z DEBUG modem << [00:31:14.403,594] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:35:37.847Z DEBUG modem << +CSCON: 0\x0D\x0A
    2020-07-01T17:35:37.863Z DEBUG modem << [00:31:20.256,408] \x1B[0m<dbg> lte_lc.at_handler: +CSCON notification\x1B[0m\x0D\x0A
    2020-07-01T17:36:37.874Z DEBUG modem << %CESQ: 255,0,255,0\x0D\x0A
    

    Regards,

    Akash 

Children
No Data
Related