jyijyi:
How about pulling wakeup pin to low again after receiving the +KCELLMEAS URC?
I tried this, it seems to be continuous loop,
jyijyi:
From the AT command guide, the +KCELLMEAS should be received after wake up, does this mean that module already wakes up when receiving this URC? If so, not quite sure why it wakes up…
Yes, it is according to the command guide. I suspected asserting the wake up pin mistakenly. I double checked this but no I am asserting it. everything is as it needs to be normal.
jyijyi:
What happens if you disable the +psmev URC?
I cant disable it at the moment, all my sw psm mode is built on psmev URC. Do you really want me to do that?
jyijyi:
Btw, how do you configure the timeout parameter of +KCELLMEAS?
[AT+KCELLMEAS=1,10]
No, I didnt try this, just saw it. Is there any bug in the 5.5.8 causing this issue and fixed with the sw you recommended there?
Please have a look at this loogs, I am also printing pins’ status
+CEREG: 4,,,,,,"00001111","00001111"
3957 hl_netfeasa.c 36 |+CEREG: 4,,,,,,"00001111","00001111"|
[00:01:49.842,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: 3959 hl7812_rx_netfeasa.c msg: +CEREG: 4,,,,,,"00001111","00001111"
[00:01:49.842,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE +CEREG: (len:28)
[00:01:49.842,000] <dbg> modem_hl7812_rx: on_cmd_network_report: val: 4,,,,,,"00001111","00001111" stat: -1 urc_res_code: 0
[00:01:49.842,000] <dbg> modem_hl7812_rx: on_cmd_network_report: use URC CEREG parser
[00:01:49.842,000] <dbg> modem_hl7812_rx: on_cmd_network_report: Network status: 4,,,,,,"00001111","00001111"
[00:01:49.842,000] <dbg> modem_hl7812_rx: on_cmd_network_report: network state val: 4 0 valid parsed data: 1
[00:01:49.842,000] <dbg> modem_hl7812: get_network_state_string: get_network_state_string 4
[00:01:49.842,000] <dbg> modem_hl7812: set_network_state: SET NETWORK STATE: OUT_OF_COVERAGE
[00:01:49.842,000] <dbg> modem_hl7812: get_network_state_string: get_network_state_string 4
[00:01:49.842,000] <inf> modem_hl7812: Network State: 4 OUT_OF_COVERAGE
[00:01:49.842,000] <dbg> modem_hl7812: allow_sleep_timeout: Keep sleep 2424
[00:01:49.842,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:01:49.842,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> NOT_ASSERTED
4,,,,,,"00001111","00001111" 7
[00:01:49.843,000] <wrn> modem_hl7812: MDM_UART_CTS:1(36613526)
[00:01:49.844,000] <dbg> modem_hl7812_rx: on_cmd_network_report: Network supports psm, active_timer: 00001111 tau: 00001111
[00:01:49.844,000] <dbg> modem_hl7812: allow_sleep_work_callback: 1081 0 1 0 0
+PSMEV: 1
3957 hl_netfeasa.c 9 |+PSMEV: 1|
[00:01:49.844,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: 3959 hl7812_rx_netfeasa.c msg: +PSMEV: 1
[00:01:49.844,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE +PSMEV: (len:1)
[00:01:49.844,000] <dbg> modem_hl7812_rx: on_cmd_psm_event: PSMEV1: 1 sleep state: AWAKE
[00:01:49.844,000] <dbg> modem_hl7812: allow_sleep: Keep sleep 1032
[00:01:49.844,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:01:49.844,000] <dbg> modem_hl7812_rx: on_cmd_psm_event: Current pm status: 1
[00:01:49.849,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 3
[00:01:49.849,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:1
[00:01:54.845,000] <dbg> modem_hl7812: allow_sleep_work_callback: 1081 0 1 0 0
1099 Allow sleep
[00:01:54.845,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 0 1 1 1
[00:01:54.845,000] <wrn> modem_hl7812: Power OFF the UART
[00:01:54.845,000] <wrn> modem_hl7812: VGPIO:0
[00:01:54.845,000] <wrn> modem_hl7812: Preparing IO for reset/sleep
[00:01:54.845,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 0 1 1 0
[00:01:54.845,000] <wrn> modem_hl7812: Power OFF the UART
[00:01:54.845,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> NOT_ASSERTED
[00:01:54.845,000] <wrn> modem_hl7812: MDM_UART_CTS:0(5001220)
[00:01:54.845,000] <wrn> modem_hl7812: MDM_GPIO6:0
[00:01:54.845,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 1 0 0 0
[00:01:54.845,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> NOT_ASSERTED
[00:01:54.845,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 842
[00:01:54.845,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:0 GPIO6:0 UART_CTS:0
[00:01:54.845,000] <wrn> modem_hl7812: NOT awake
[00:01:54.845,000] <dbg> modem_hl7812: check_hl7812_awake: set_sleep_state(iface_ctx.desired_sleep_level);
[00:01:54.845,000] <dbg> modem_hl7812: set_sleep_state: set_sleep_state was: AWAKE, now: HIBERNATE
[00:01:54.845,000] <dbg> modem_hl7812: set_sleep_state: entered hibernate cancel shutdown work
[00:01:54.845,000] <dbg> modem_hl7812: generate_sleep_state_event: generate_sleep_state_event Sleep State: HIBERNATE gpio6: 0
[00:01:54.845,000] <dbg> modem_module: lte_evt_handler: MODEM MODULE LTE_LC_EVT_MODEM_SLEEP_ENTER
[00:01:54.845,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:01:54.845,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:0 GPIO6:0 UART_CTS:0
[00:01:54.850,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 3
[00:01:54.850,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:0 GPIO6:0 UART_CTS:0
[00:01:54.859,000] <wrn> modem_hl7812: VGPIO:1
[00:01:54.859,000] <dbg> modem_hl7812: mdm_vgpio_callback_isr: iface_ctx.off2: 0
[00:01:54.859,000] <dbg> modem_hl7812: power_on_uart: UART pm_device_state_get: 1 0
[00:01:54.859,000] <wrn> modem_hl7812: Power ON the UART
[00:01:54.859,000] <dbg> modem_hl7812: allow_sleep: Keep awake 907
[00:01:54.859,000] <dbg> modem_hl7812: allow_sleep_with_timeout: Keep awake
[00:01:54.859,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> ASSERTED
[00:01:54.859,000] <dbg> modem_hl7812: allow_sleep: Keep sleep 911
[00:01:54.859,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:01:54.860,000] <wrn> modem_hl7812: MDM_UART_CTS:1(14893)
[00:01:54.860,000] <wrn> modem_hl7812: MDM_GPIO6:1
[00:01:54.860,000] <dbg> modem_hl7812: power_on_uart: UART pm_device_state_get: 0 0
[00:01:54.860,000] <dbg> modem_hl7812: allow_sleep: Keep awake 983
[00:01:54.860,000] <dbg> modem_hl7812: allow_sleep_with_timeout: Keep awake
[00:01:54.860,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> ASSERTED
[00:01:54.860,000] <dbg> modem_hl7812: allow_sleep: Keep sleep 987
[00:01:54.860,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:01:54.860,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 842
[00:01:54.860,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:1
[00:01:54.860,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:01:54.860,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:1
[00:01:54.865,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 3
[00:01:54.865,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:1
[00:01:54.929,000] <wrn> modem_hl7812: MDM_UART_CTS:0(69580)
[00:01:54.935,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 3
[00:01:54.935,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:0
[00:01:55.250,000] <wrn> sensor_module: MODEM_EVT_LTE_PSM_ENTER
1464 sensor_module.c
[00:01:55.250,000] <dbg> ext_sensors: ext_sensors_all_power_down: sensor power status: 0
[00:01:55.250,000] <dbg> SENSORS_CMD: sensors_command_parser: Sub cmd: 9 SN+PRESS_CPOF=0
[00:01:56.250,000] <dbg> SENSORS_CMD: sn_command_switch: lps22@5c power down!
{"status":{"status":{"echo":"SN+PRESS_CPOF=0","cmd":"SENSOR","sub_cmd":"DEV_REQ_TURN_OFF","step":"FINISH_TEST","result":"DONE"}},"devices":{"name":"pressure","power":"PM_DEVICE_STATE_OFF"}}
[00:01:56.301,000] <dbg> SENSORS_CMD: sensors_command_parser: Sub cmd: 9 SN+EFLASH_CPOF=0
[00:01:57.301,000] <dbg> SENSORS_CMD: sn_command_switch: mx25r6435f@0 power down!
{"status":{"status":{"echo":"SN+EFLASH_CPOF=0","cmd":"SENSOR","sub_cmd":"DEV_REQ_TURN_OFF","step":"FINISH_TEST","result":"DONE"}},"devices":{"name":"extrnal_memory","power":"PM_DEVICE_STATE_OFF"}}
[00:01:57.335,000] <dbg> SENSORS_CMD: sensors_command_parser: Sub cmd: 9 SN+ACCEL_CPOF=0
[00:01:58.335,000] <dbg> SENSORS_CMD: sn_command_switch: lis2dw12@0 power down!
{"status":{"status":{"echo":"SN+ACCEL_CPOF=0","cmd":"SENSOR","sub_cmd":"DEV_REQ_TURN_OFF","step":"FINISH_TEST","result":"DONE"}},"devices":{"name":"accelorometer","power":"PM_DEVICE_STATE_OFF"}}
1472 sensor_module.c
[00:01:59.860,000] <dbg> modem_hl7812: allow_sleep_work_callback: 1081 0 1 0 0
1099 Allow sleep
[00:01:59.860,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 0 1 0 1
[00:01:59.860,000] <wrn> modem_hl7812: Power OFF the UART
[00:01:59.860,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> NOT_ASSERTED
[00:01:59.913,000] <wrn> modem_hl7812: MDM_GPIO6:0
[00:01:59.913,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 1 0 0 1
[00:01:59.914,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:01:59.914,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:0 UART_CTS:0
[00:02:00.068,000] <wrn> modem_hl7812: MDM_GPIO6:1
[00:02:00.068,000] <dbg> modem_hl7812: power_on_uart: UART pm_device_state_get: 1 0
[00:02:00.068,000] <wrn> modem_hl7812: Power ON the UART
[00:02:00.068,000] <dbg> modem_hl7812: allow_sleep: Keep awake 983
[00:02:00.068,000] "00001111","00001111
<dbg> modem_hl7812: allow_sleep_with_timeout: Keep awake
[00:02:00.068,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> ASSERTED
[00:02:00.068,000] <dbg> modem_hl7812: allow_sleep: Keep sleep 987
[00:02:00.068,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:02:00.068,000] <wrn> modem_hl7812: MDM_UART_CTS:1(5138428)
[00:02:00.068,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:02:00.068,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:1
[00:02:00.071,000] <wrn> modem_hl7812: MDM_UART_CTS:0(3418)
[00:02:00.076,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 3
[00:02:00.076,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:0
+CEREG: 5,"2332","02E9F81F",9,,,"00001111","00001111"
3957 hl_netfeasa.c 53 |+CEREG: 5,"2332","02E9F81F",9,,,"00001111","00001111"|
[00:02:00.162,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: 3959 hl7812_rx_netfeasa.c msg: +CEREG: 5,"2332","02E9F81F",9,,,"00001111","00001111"
[00:02:00.162,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE +CEREG: (len:45)
[00:02:00.162,000] <dbg> modem_hl7812_rx: on_cmd_network_report: val: 5,"2332","02E9F81F",9,,,"00001111","00001111" stat: -1 urc_res_code: 4
[00:02:00.162,000] <dbg> modem_hl7812_rx: on_cmd_network_report: use URC CEREG parser
[00:02:00.162,000] <dbg> modem_hl7812_rx: on_cmd_network_report: Network status: 5,"2332","02E9F81F",9,,,"00001111","00001111
[00:02:00.162,000] <dbg> modem_hl7812_rx: on_cmd_network_report: network state val: 5 2332 02E9F81F 9 valid parsed data: 4
[00:02:00.162,000] <dbg> modem_hl7812: get_network_state_string: get_network_state_string 5
[00:02:00.162,000] <dbg> modem_hl7812: set_network_state: SET NETWORK STATE: ROAMING
[00:02:00.162,000] <dbg> modem_hl7812: get_network_state_string: get_network_state_string 5
[00:02:00.162,000] <inf> modem_hl7812: Network State: 5 ROAMING
[00:02:00.162,000] <dbg> date_time: date_time_netfeasa_core_is_valid: date_time_netfeasa_core_is_valid 52130
[00:02:00.162,000] <wrn> date_time: Cellular network obtained, DATETIME is valied, no need to request
[00:02:00.162,000] <dbg> modem_hl7812: allow_sleep: Keep awake 2419
[00:02:00.162,000] <dbg> modem_hl7812: allow_sleep_with_timeout: Keep awake
[00:02:00.162,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> ASSERTED
5,"2332","02E9F81F",9,,,"00001111","00001111 7
[00:02:00.164,000] <dbg> modem_hl7812_rx: on_cmd_network_report: Network supports psm, active_timer: 00001111 tau: 00001111
+KCELLMEAS: -108.0,134.0,,,2.0,1,1
3957 hl_netfeasa.c 34 |+KCELLMEAS: -108.0,134.0,,,2.0,1,1|
[00:02:00.166,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: 3959 hl7812_rx_netfeasa.c msg: +KCELLMEAS: -108.0,134.0,,,2.0,1,1
[00:02:00.166,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE +KCELLMEAS: (len:22)
[00:02:00.166,000] <inf> modem_hl7812_rx: RSSI (RSRP): -108 SINR: 2
[00:02:00.662,000] <dbg> modem_hl7812: iface_status_work_cb: 649 hl_netfeasa.c 0 1 2
[00:02:00.662,000] <dbg> modem_hl7812: iface_status_work_cb: Wait for +KSUP before updating network state
[00:02:01.162,000] <dbg> modem_hl7812: iface_status_work_cb: 649 hl_netfeasa.c 0 1 2
[00:02:01.162,000] <dbg> modem_hl7812: iface_status_work_cb: Wait for +KSUP before updating network state
[00:02:01.663,000] <dbg> modem_hl7812: iface_status_work_cb: 649 hl_netfeasa.c 0 1 2
[00:02:01.663,000] <dbg> modem_hl7812: iface_status_work_cb: Wait for +KSUP before updating network state
[00:02:02.163,000] <dbg> modem_hl7812: iface_status_work_cb: 649 hl_netfeasa.c 0 1 2
[00:02:02.163,000] <dbg> modem_hl7812: iface_status_work_cb: Wait for +KSUP before updating network state
[00:02:02.663,000] <dbg> modem_hl7812: iface_status_work_cb: 649 hl_netfeasa.c 0 1 2
[00:02:02.663,000] <dbg> modem_hl7812: iface_status_work_cb: Wait for +KSUP before updating network state
[00:02:03.163,000] <dbg> modem_hl7812: iface_status_work_cb: 649 hl_netfeasa.c 0 1 2
[00:02:03.163,000] <dbg> modem_hl7812: iface_status_work_cb: Wait for +KSUP before updating network state
[00:02:03.664,000] <dbg> modem_hl7812: iface_status_work_cb: 649 hl_netfeasa.c 0 1 2
[00:02:03.664,000] <dbg> modem_hl7812: iface_status_work_cb: Wait for +KSUP before updating network state
[00:02:04.164,000] <dbg> modem_hl7812: iface_status_work_cb: 649 hl_netfeasa.c 0 1 2
[00:02:04.164,000] <dbg> modem_hl7812: iface_status_work_cb: Wait for +KSUP before updating network state
[00:02:04.664,000] <dbg> modem_hl7812: iface_status_work_cb: 649 hl_netfeasa.c 0 1 2
[00:02:04.664,000] <dbg> modem_hl7812: iface_status_work_cb: Wait for +KSUP before updating network state
[00:02:05.164,000] <dbg> modem_hl7812: iface_status_work_cb: 649 hl_netfeasa.c 0 1 2
[00:02:05.164,000] <dbg> modem_hl7812: iface_status_work_cb: Wait for +KSUP before updating network state
[00:02:05.665,000] <dbg> modem_hl7812: iface_status_work_cb: 649 hl_netfeasa.c 0 1 2
[00:02:05.665,000] <dbg> modem_hl7812: iface_status_work_cb: Give up waiting for
[00:02:05.665,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 0
[00:02:05.665,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:0
[00:02:05.665,000] <wrn> modem_hl7812: awake
[00:02:05.665,000] <dbg> modem_hl7812: set_sleep_state: set_sleep_state was: HIBERNATE, now: AWAKE
[00:02:05.665,000] <dbg> modem_hl7812: set_sleep_state: schedule callback to shutdown modem is PSM is not entered in x minutes
[00:02:05.665,000] <dbg> modem_hl7812: generate_sleep_state_event: generate_sleep_state_event Sleep State: AWAKE gpio6: 1
[00:02:05.665,000] <dbg> modem_module: lte_evt_handler: MODEM MODULE LTE_LC_EVT_MODEM_SLEEP_EXIT
[00:02:05.665,000] <dbg> modem_hl7812: iface_status_work_cb: Updating network state... 0
[00:02:05.665,000] <dbg> modem_hl7812: send_at_cmd: reset iface_ctx.response_sem: 0
[00:02:05.665,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+COPS?]
[00:02:05.665,000] <dbg> modem_hl7812: send_at_cmd: SEND ATCMD k_sem_take RET01 (RESPONSE SEM): 0
+COPS: 0,0,"Vodafone",9
3957 hl_netfeasa.c 23 |+COPS: 0,0,"Vodafone",9|
[00:02:05.669,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: 3959 hl7812_rx_netfeasa.c msg: +COPS: 0,0,"Vodafone",9
[00:02:05.669,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE +COPS: (len:16)
[00:02:05.669,000] <inf> modem_hl7812_rx: Operator: 0,0,"Vodafone",9
OK
[00:02:05.670,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE OK (len:0)
[00:02:05.670,000] <dbg> modem_hl7812: iface_status_work_cb: Query operator selection
[00:02:05.670,000] <dbg> modem_hl7812: iface_status_work_cb: iface_status: HL7812_ROAMING
[00:02:05.670,000] <dbg> modem_hl7812: iface_status_work_cb: HL7812 iface UP
[00:02:05.670,000] <dbg> modem_hl7812: iface_status_work_cb: 805 hl7812_netfeasa.c hl7812_netfeasa_start_rssi_work
[00:02:05.670,000] <dbg> modem_hl7812: send_at_cmd: reset iface_ctx.response_sem: 0
[00:02:05.670,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CGCONTRDP=1]
[00:02:05.671,000] <dbg> modem_hl7812: send_at_cmd: SEND ATCMD k_sem_take RET01 (RESPONSE SEM): 0
+CGCONTRDP: 1,5,"netfeasavodiot.mnc028.mcc901.gprs",10.149.91.36.255.255.255.248,10.149.91.33,10.105.16.254,10.105.144.254,,,,,,
3957 hl_netfeasa.c 128 |+CGCONTRDP: 1,5,"netfeasavodiot.mnc028.mcc901.gprs",10.149.91.36.255.255.255.248,10.149.91.33,10.105.16.254,10.105.144.254,,,,,,|
[00:02:05.685,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: 3959 hl7812_rx_netfeasa.c msg: +CGCONTRDP: 1,5,"netfeasavodiot.mnc028.mcc901.gprs",10.149.91.36.255.255.255.248,10.149.91.33,10.105.16.254,10.105.144.254,,,,,,
[00:02:05.685,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE +CGCONTRDP: (len:119)
[00:02:05.685,000] <dbg> modem_hl7812_rx: on_cmd_atcmdinfo_ipaddr: IP info: 119 1,5,"netfeasavodiot.mnc028.mcc901.gprs",10.149.91.36.255.255.255.248,10.149.91.33,10.105.16.254,10.105.144.254,,,,,,,,,
[00:02:05.685,000] <dbg> modem_hl7812_rx: on_cmd_atcmdinfo_ipaddr: IP string len: 29
[00:02:05.685,000] <dbg> modem_hl7812_rx: on_cmd_atcmdinfo_ipaddr: IP addr: 10.149.91.36
[00:02:05.685,000] <dbg> modem_hl7812_rx: on_cmd_atcmdinfo_ipaddr: IPv4 DNS addr: 10.105.16.254
OK
[00:02:05.685,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE OK (len:0)
[00:02:05.685,000] <dbg> modem_hl7812: send_at_cmd: reset iface_ctx.response_sem: 0
[00:02:05.685,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
[00:02:05.686,000] <dbg> modem_hl7812: send_at_cmd: SEND ATCMD k_sem_take RET01 (RESPONSE SEM): 0
+KBND: 1,0000000000000000080000
3957 hl_netfeasa.c 31 |+KBND: 1,0000000000000000080000|
[00:02:05.691,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: 3959 hl7812_rx_netfeasa.c msg: +KBND: 1,0000000000000000080000
[00:02:05.691,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE +KBND: (len:24)
OK
[00:02:05.692,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE OK (len:0)
[00:02:05.692,000] <dbg> modem_hl7812: iface_status_work_cb: Network state updated
[00:02:05.692,000] <dbg> modem_hl7812: allow_sleep: Keep sleep 834
[00:02:05.692,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:02:05.692,000] <dbg> modem_hl7812: allow_sleep: Keep awake 522
[00:02:05.692,000] <dbg> modem_hl7812: allow_sleep_with_timeout: Keep awake
[00:02:05.692,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> ASSERTED
[00:02:05.692,000] <dbg> modem_hl7812: wakeup_hl7812: desired_sleep_level 2 1 2 5 2
[00:02:05.692,000] <dbg> modem_hl7812: is_cmd_ready: 274 541 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:0
[00:02:05.692,000] <dbg> modem_hl7812: send_at_cmd: reset iface_ctx.response_sem: 0
[00:02:05.692,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KCELLMEAS=0]
[00:02:05.693,000] <dbg> modem_hl7812: send_at_cmd: SEND ATCMD k_sem_take RET01 (RESPONSE SEM): 0
+KCELLMEAS: -108.0,134.0,,,1.0
3957 hl_netfeasa.c 30 |+KCELLMEAS: -108.0,134.0,,,1.0|
[00:02:05.699,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: 3959 hl7812_rx_netfeasa.c msg: +KCELLMEAS: -108.0,134.0,,,1.0
[00:02:05.699,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE +KCELLMEAS: (len:18)
[00:02:05.699,000] <inf> modem_hl7812_rx: RSSI (RSRP): -108 SINR: 1
OK
[00:02:05.700,000] <dbg> modem_hl7812_rx: hl7812_netfeasa_rx: HANDLE OK (len:0)
[00:02:05.700,000] <dbg> modem_hl7812: allow_sleep: Keep sleep 1404
[00:02:05.700,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:02:06.221,000] <dbg> ext_sensors: ext_sensors_all_power_up: sensor power status: 0
[00:02:06.221,000] <dbg> SENSORS_CMD: sensors_command_parser: Sub cmd: 10 SN+PRESS_CPOF=1
[00:02:07.227,000] <dbg> SENSORS_CMD: sn_command_switch: lps22@5c power up!
{"status":{"status":{"echo":"SN+PRESS_CPOF=1","cmd":"SENSOR","sub_cmd":"DEV_REQ_TURN_ON","step":"FINISH_TEST","result":"DONE"}},"devices":{"name":"pressure","power":"PM_DEVICE_STATE_ACTIVE"}}
[00:02:07.263,000] <dbg> SENSORS_CMD: sensors_command_parser: Sub cmd: 10 SN+EFLASH_CPOF=1
[00:02:08.267,000] <dbg> SENSORS_CMD: sn_command_switch: mx25r6435f@0 power up!
{"status":{"status":{"echo":"SN+EFLASH_CPOF=1","cmd":"SENSOR","sub_cmd":"DEV_REQ_TURN_ON","step":"FINISH_TEST","result":"DONE"}},"devices":{"name":"extrnal_memory","power":"PM_DEVICE_STATE_ACTIVE"}}
[00:02:08.296,000] <dbg> SENSORS_CMD: sensors_command_parser: Sub cmd: 10 SN+ACCEL_CPOF=1
[00:02:09.297,000] <dbg> SENSORS_CMD: sn_command_switch: lis2dw12@0 power up!
{"status":{"status":{"echo":"SN+ACCEL_CPOF=1","cmd":"SENSOR","sub_cmd":"DEV_REQ_TURN_ON","step":"FINISH_TEST","result":"DONE"}},"devices":{"name":"accelorometer","power":"PM_DEVICE_STATE_ACTIVE"}}
[00:02:10.700,000] <dbg> modem_hl7812: allow_sleep_work_callback: 1081 0 1 0 0
1099 Allow sleep
[00:02:10.700,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 0 1 0 1
[00:02:10.700,000] <wrn> modem_hl7812: Power OFF the UART
[00:02:10.700,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> NOT_ASSERTED
[00:02:12.163,000] <wrn> modem_hl7812: MDM_GPIO6:0
[00:02:12.163,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 1 0 0 1
[00:02:12.163,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:02:12.163,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:0 UART_CTS:0
[00:02:12.163,000] <wrn> modem_hl7812: NOT awake
[00:02:12.163,000] <dbg> modem_hl7812: check_hl7812_awake: set_sleep_state(iface_ctx.desired_sleep_level);
[00:02:12.163,000] <dbg> modem_hl7812: set_sleep_state: set_sleep_state was: AWAKE, now: HIBERNATE
[00:02:12.163,000] <dbg> modem_hl7812: set_sleep_state: entered hibernate cancel shutdown work
[00:02:12.163,000] <dbg> modem_hl7812: generate_sleep_state_event: generate_sleep_state_event Sleep State: HIBERNATE gpio6: 0
[00:02:12.163,000] <dbg> modem_module: lte_evt_handler: MODEM MODULE LTE_LC_EVT_MODEM_SLEEP_ENTER
[00:02:12.253,000] <wrn> sensor_module: MODEM_EVT_LTE_PSM_ENTER
1464 sensor_module.c
[00:02:12.253,000] <dbg> ext_sensors: ext_sensors_all_power_down: sensor power status: 0
[00:02:12.254,000] <dbg> SENSORS_CMD: sensors_command_parser: Sub cmd: 9 SN+PRESS_CPOF=0
[00:02:13.254,000] <dbg> SENSORS_CMD: sn_command_switch: lps22@5c power down!
{"status":{"status":{"echo":"SN+PRESS_CPOF=0","cmd":"SENSOR","sub_cmd":"DEV_REQ_TURN_OFF","step":"FINISH_TEST","result":"DONE"}},"devices":{"name":"pressure","power":"PM_DEVICE_STATE_OFF"}}
[00:02:13.304,000] <dbg> SENSORS_CMD: sensors_command_parser: Sub cmd: 9 SN+EFLASH_CPOF=0
[00:02:13.409,000] <wrn> modem_hl7812: MDM_GPIO6:1
[00:02:13.409,000] <dbg> modem_hl7812: power_on_uart: UART pm_device_state_get: 1 0
[00:02:13.409,000] <wrn> modem_hl7812: Power ON the UART
[00:02:13.409,000] <dbg> modem_hl7812: allow_sleep: Keep awake 983
[00:02:13.409,000] <dbg> modem_hl7812: allow_sleep_with_timeout: Keep awake
[00:02:13.409,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> ASSERTED
[00:02:13.409,000] <dbg> modem_hl7812: allow_sleep: Keep sleep 987
[00:02:13.409,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:02:13.409,000] <wrn> modem_hl7812: MDM_UART_CTS:1(13338379)
[00:02:13.409,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:02:13.410,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:1
[00:02:13.413,000] <wrn> modem_hl7812: MDM_UART_CTS:0(3418)
[00:02:13.418,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 3
[00:02:13.418,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:0
[00:02:14.304,000] <dbg> SENSORS_CMD: sn_command_switch: mx25r6435f@0 power down!
{"status":{"status":{"echo":"SN+EFLASH_CPOF=0","cmd":"SENSOR","sub_cmd":"DEV_REQ_TURN_OFF","step":"FINISH_TEST","result":"DONE"}},"devices":{"name":"extrnal_memory","power":"PM_DEVICE_STATE_OFF"}}
[00:02:14.305,000] <dbg> SENSORS_CMD: sensors_command_parser: Sub cmd: 9 SN+ACCEL_CPOF=0
[00:02:14.872,000] <dbg> util_module: watchdog_handler: WATCHDOG_EVT_FEED
[00:02:15.305,000] <dbg> SENSORS_CMD: sn_command_switch: lis2dw12@0 power down!
{"status":{"status":{"echo":"SN+ACCEL_CPOF=0","cmd":"SENSOR","sub_cmd":"DEV_REQ_TURN_OFF","step":"FINISH_TEST","result":"DONE"}},"devices":{"name":"accelorometer","power":"PM_DEVICE_STATE_OFF"}}
1472 sensor_module.c
[00:02:18.410,000] <dbg> modem_hl7812: allow_sleep_work_callback: 1081 0 1 0 0
1099 Allow sleep
[00:02:18.410,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 0 1 0 1
[00:02:18.410,000] <wrn> modem_hl7812: Power OFF the UART
[00:02:18.410,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> NOT_ASSERTED
[00:02:21.902,000] <wrn> modem_hl7812: VGPIO:0
[00:02:21.902,000] <wrn> modem_hl7812: Preparing IO for reset/sleep
[00:02:21.902,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 1 1 0 0
[00:02:21.902,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> NOT_ASSERTED
[00:02:21.902,000] <wrn> modem_hl7812: MDM_GPIO6:0
[00:02:21.902,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 1 0 0 0
[00:02:21.902,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 842
[00:02:21.902,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:0 GPIO6:0 UART_CTS:0
[00:02:21.902,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:02:21.902,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:0 GPIO6:0 UART_CTS:0
[00:02:23.718,000] <wrn> modem_hl7812: VGPIO:1
[00:02:23.718,000] <dbg> modem_hl7812: mdm_vgpio_callback_isr: iface_ctx.off2: 0
[00:02:23.718,000] <dbg> modem_hl7812: power_on_uart: UART pm_device_state_get: 1 0
[00:02:23.718,000] <wrn> modem_hl7812: Power ON the UART
[00:02:23.718,000] <dbg> modem_hl7812: allow_sleep: Keep awake 907
[00:02:23.718,000] <dbg> modem_hl7812: allow_sleep_with_timeout: Keep awake
[00:02:23.718,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> ASSERTED
[00:02:23.718,000] <dbg> modem_hl7812: allow_sleep: Keep sleep 911
[00:02:23.718,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:02:23.718,000] <wrn> modem_hl7812: MDM_UART_CTS:1(10304931)
[00:02:23.718,000] <wrn> modem_hl7812: MDM_GPIO6:1
[00:02:23.718,000] <dbg> modem_hl7812: power_on_uart: UART pm_device_state_get: 0 0
[00:02:23.718,000] <dbg> modem_hl7812: allow_sleep: Keep awake 983
[00:02:23.718,000] <dbg> modem_hl7812: allow_sleep_with_timeout: Keep awake
[00:02:23.718,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> ASSERTED
[00:02:23.718,000] <dbg> modem_hl7812: allow_sleep: Keep sleep 987
[00:02:23.718,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:02:23.718,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 842
[00:02:23.718,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:1
[00:02:23.718,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:02:23.718,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:1
[00:02:23.723,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 3
[00:02:23.723,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:1
[00:02:23.788,000] <wrn> modem_hl7812: MDM_UART_CTS:0(69824)
[00:02:23.793,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 3
[00:02:23.793,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:0
[00:02:28.718,000] <dbg> modem_hl7812: allow_sleep_work_callback: 1081 0 1 0 0
1099 Allow sleep
[00:02:28.718,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 0 1 0 1
[00:02:28.718,000] <wrn> modem_hl7812: Power OFF the UART
[00:02:28.718,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> NOT_ASSERTED
[00:02:28.810,000] <wrn> modem_hl7812: MDM_GPIO6:0
[00:02:28.810,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 1 0 0 1
[00:02:28.810,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:02:28.810,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:0 UART_CTS:0
[00:02:29.117,000] <wrn> modem_hl7812: MDM_GPIO6:1
[00:02:29.117,000] <dbg> modem_hl7812: power_on_uart: UART pm_device_state_get: 1 0
[00:02:29.117,000] <wrn> modem_hl7812: Power ON the UART
[00:02:29.117,000] <dbg> modem_hl7812: allow_sleep: Keep awake 983
[00:02:29.117,000] <dbg> modem_hl7812: allow_sleep_with_timeout: Keep awake
[00:02:29.117,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> ASSERTED
[00:02:29.117,000] <dbg> modem_hl7812: allow_sleep: Keep sleep 987
[00:02:29.117,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:02:29.117,000] <wrn> modem_hl7812: MDM_UART_CTS:1(5329590)
[00:02:29.117,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:02:29.117,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:1
[00:02:29.122,000] <wrn> modem_hl7812: MDM_UART_CTS:0(5127)
[00:02:29.128,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 3
[00:02:29.128,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:0
[00:02:34.117,000] <dbg> modem_hl7812: allow_sleep_work_callback: 1081 0 1 0 0
1099 Allow sleep
[00:02:34.117,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 0 1 0 1
[00:02:34.117,000] <wrn> modem_hl7812: Power OFF the UART
[00:02:34.117,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> NOT_ASSERTED
[00:02:34.209,000] <wrn> modem_hl7812: MDM_GPIO6:0
[00:02:34.209,000] <dbg> modem_hl7812: shutdown_uart: UART pm_device_state_get: 1 0 0 1
[00:02:34.209,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:02:34.209,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:0 UART_CTS:0
[00:02:34.461,000] <wrn> modem_hl7812: MDM_GPIO6:1
[00:02:34.461,000] <dbg> modem_hl7812: power_on_uart: UART pm_device_state_get: 1 0
[00:02:34.461,000] <wrn> modem_hl7812: Power ON the UART
[00:02:34.461,000] <dbg> modem_hl7812: allow_sleep: Keep awake 983
[00:02:34.461,000] <dbg> modem_hl7812: allow_sleep_with_timeout: Keep awake
[00:02:34.461,000] <wrn> modem_hl7812: MDM_WAKE_PIN -> ASSERTED
[00:02:34.461,000] <dbg> modem_hl7812: allow_sleep: Keep sleep 987
[00:02:34.461,000] <dbg> modem_hl7812: allow_sleep_with_timeout: sleep scheduled
[00:02:34.461,000] <wrn> modem_hl7812: MDM_UART_CTS:1(5338379)
[00:02:34.461,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 950
[00:02:34.461,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:1
[00:02:34.466,000] <wrn> modem_hl7812: MDM_UART_CTS:0(5127)
[00:02:34.471,000] <dbg> modem_hl7812: check_hl7812_awake: 289 hl7812_netfeasa.c WHEREamIcallingfrom: 3
[00:02:34.471,000] <dbg> modem_hl7812: is_cmd_ready: 274 290 LOWPOWER VGPIO:1 GPIO6:1 UART_CTS:0
[00:02:39.461,000] <dbg> modem_hl7812: allow_sleep_work_callback: 1081 0 1 0 0