1 Reply Latest reply on Aug 1, 2019 11:25 PM by DheerajP_41

    CYBT-213043-MESH sensor temperature LPN stuck in SLEEP timeout

    WeLi_2041066

      Hi,

      I try to use a low power node to send temperature data.

      I use "Code-Examples-BT-SDK-for-ModusToolbox-1.3\CYBT-213043-MESH\apps\demo\mesh\sensor_temperature".

      I adjust poll_timeout to 600, I think that mean device will wakeup after 1 min.

      It is very hard to build a network.

      The first problem after I successfully build the network is

      When the device sleep timeout It will stuck in "mesh_state_changed_cb:LPN_SCAN: scan:0"

      below is the message from UART (blue is I push the user botton, red is after time out).

       

       

       

      \0setup nvram ids: net_key_max_num:4 app_key_max_num:8 nvm_idx_seq:3fd0 3fd2-3fff cfg_data_len:192

      Mesh Start

      ## mesh_application_init free_bytes:13000 ##

      mesh_application_init: provisioned GATT DB status:0

      ds1:0x00501400, len:0x0003cc00

      ds2:0x0053e000, len:0x00002000

      Active DS:501400 vs1:500400 vs2:501400

      thermistor_read high:3254 low:1981 cal:6426

      Pub value:71 time:4296002

       

      company_id:ffff opcode:52

      ignored

      ***** Free mem after app_init:11328

      mesh_publication_callback: idx:0 company_id:ffff model_id:1100 period:0000

      Sensor data send period:0ms

      sensor restart timer period:0

      mesh_publication_callback: idx:0 company_id:ffff model_id:1101 period:0000

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_FRIENDSHIP: established:0 addr:5/0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_FRIENDSHIP: established:1 addr:5/5

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SLEEP: timeout:56000

      \0setup nvram ids: net_key_max_num:4 app_key_max_num:8 nvm_idx_seq:3fd0 3fd2-3fff cfg_data_len:192

      Mesh Start

      ## mesh_application_init free_bytes:13000 ##

      mesh_application_init: provisioned GATT DB status:0

      ds1:0x00501400, len:0x0003cc00

      ds2:0x0053e000, len:0x00002000

      Active DS:501400 vs1:500400 vs2:501400

      thermistor_read high:3260 low:1985 cal:6423

      Pub value:71 time:4296012

       

      company_id:ffff opcode:52

      ignored

      ***** Free mem after app_init:11328

      mesh_publication_callback: idx:0 company_id:ffff model_id:1100 period:0000

      Sensor data send period:0ms

      sensor restart timer period:0

      mesh_publication_callback: idx:0 company_id:ffff model_id:1101 period:0000

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

       

      company_id:ffff opcode:8231

      mesh_sensor_server_report_handler msg: 112

      thermistor_read high:3297 low:1992 cal:6551

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

       

      company_id:ffff opcode:8231

      mesh_sensor_server_report_handler msg: 112

      thermistor_read high:3313 low:1991 cal:6639

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

       

      company_id:ffff opcode:8231

      mesh_sensor_server_report_handler msg: 112

      thermistor_read high:3288 low:1990 cal:6522

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SCAN: scan:1

      mesh_state_changed_cb:LPN_SCAN: scan:0

      mesh_state_changed_cb:LPN_SLEEP: timeout:56000

      \0setup nvram ids: net_key_max_num:4 app_key_max_num:8 nvm_idx_seq:3fd0 3fd2-3fff cfg_data_len:192

      Mesh Start

      ## mesh_application_init free_bytes:13000 ##

      mesh_application_init: provisioned GATT DB status:0

      ds1:0x00501400, len:0x0003cc00

      ds2:0x0053e000, len:0x00002000

      Active DS:501400 vs1:500400 vs2:501400

      thermistor_read high:3262 low:1995 cal:6350

      Pub value:71 time:4296006

       

      company_id:ffff opcode:52

      ignored

      ***** Free mem after app_init:11328

      mesh_publication_callback: idx:0 company_id:ffff model_id:1100 period:0000

      Sensor data send period:0ms

      sensor restart timer period:0

      mesh_publication_callback: idx:0 company_id:ffff model_id:1101 period:0000

      mesh_state_changed_cb:LPN_SCAN: scan:0