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

About deleting node, then configuring node failed

nordic team,

sdk:mesh2.11+sdk15.1

Follow the steps below:

Configuring Node(adress = 0x100) ->delete node(adress = 0x100) 

Repeat the above action,I found a problem

1.Every time you configure node, it is longer than the last time.

2.Repeat more than ten times, the configuration will fail

3.I don't understand why the previous configuration can be successfully configured, and then it will fail after multiple configurations.

The last few configuration logs are as follows:

<t:   15989889>, node_setup.c,  713, Configuring Node: 0x0100
<t:   15989894>, node_setup.c,  627, Config client setup: addr_handle:1 devkey_handle:2 
<t:   15989899>, node_setup.c,  383, Getting composition data
<t:     195737>, mesh_main.c,  488, Config client event
<t:     195742>, node_setup.c,  646, Acknowledged message status not received 
<t:     195747>, node_setup.c,  650, Retry ...
<t:     195751>, node_setup.c,  383, Getting composition data
<t:     559880>, mesh_main.c, 1580, scan device UUID: : F3185691
<t:     559884>, mesh_main.c, 1583, Provisoned Nodes: 1, Configured Nodes: 0 Now Address: 0x0100, Next Address: 0x0101
 <t:     559891>, mesh_main.c, 1585, Waiting for Server node to be provisioned ...
<t:     559897>, provisioner_helper.c,  315, Scanning For Unprovisioned Devices
<t:    1178805>, mesh_main.c,  488, Config client event
<t:    1178810>, node_setup.c,  646, Acknowledged message status not received 
<t:    1178815>, node_setup.c,  650, Retry ...
<t:    1178819>, node_setup.c,  383, Getting composition data
<t:    1305265>, mesh_main.c,  488, Config client event
<t:    1305270>, node_setup.c,  393, Adding appkey
<t:    1312836>, mesh_main.c,  488, Config client event
<t:    1312840>, node_setup.c,  251, Unexpected opcode: exp 0x8003  rx 0x0002
<t:    1389149>, mesh_main.c,  488, Config client event
<t:    1389153>, node_setup.c,  289, opcode status field: 0 
<t:    1389159>, node_setup.c,  404, App key bind: Health server
<t:    1390006>, mesh_main.c,  488, Config client event
<t:    1390010>, node_setup.c,  289, opcode status field: 0 
<t:    1390015>, node_setup.c,  419, App key bind: Simple On/Off server
<t:    1390962>, mesh_main.c,  488, Config client event
<t:    1390966>, node_setup.c,  289, opcode status field: 0 
<t:    1390971>, node_setup.c,  472, Setting publication address for the health server to 0x0001
<t:    1394605>, mesh_main.c,  488, Config client event
<t:    1394610>, node_setup.c,  289, opcode status field: 0 
<t:    1394615>, node_setup.c,  510, Adding subscription
<t:    1396575>, mesh_main.c,  488, Config client event
<t:    1396579>, node_setup.c,  289, opcode status field: 0 
<t:    1396584>, mesh_main.c,  304, Configuration of device 0 successful
<t

<t:    2299625>, node_setup.c,  713, Configuring Node: 0x0100
<t:    2299631>, node_setup.c,  627, Config client setup: addr_handle:1 devkey_handle:2 
<t:    2299636>, node_setup.c,  383, Getting composition data
<t:    3282690>, mesh_main.c,  488, Config client event
<t:    3282695>, node_setup.c,  646, Acknowledged message status not received 
<t:    3282700>, node_setup.c,  650, Retry ...
<t:    3282704>, node_setup.c,  383, Getting composition data
<t:    4265758>, mesh_main.c,  488, Config client event
<t:    4265763>, node_setup.c,  646, Acknowledged message status not received 
<t:    4265768>, node_setup.c,  650, Retry ...
<t:    4265772>, node_setup.c,  383, Getting composition data
<t:    4494093>, mesh_main.c,  488, Config client event
<t:    4494097>, node_setup.c,  393, Adding appkey
<t:    4496973>, mesh_main.c,  488, Config client event
<t:    4496978>, node_setup.c,  289, opcode status field: 0 
<t:    4496982>, node_setup.c,  404, App key bind: Health server
<t:    4498510>, mesh_main.c,  488, Config client event
<t:    4498515>, node_setup.c,  289, opcode status field: 0 
<t:    4498519>, node_setup.c,  419, App key bind: Simple On/Off server
<t:    4499292>, mesh_main.c,  488, Config client event
<t:    4499297>, node_setup.c,  289, opcode status field: 0 
<t:    4499302>, node_setup.c,  472, Setting publication address for the health server to 0x0001
<t:    4524602>, mesh_main.c,  488, Config client event
<t:    4524606>, node_setup.c,  289, opcode status field: 0 
<t:    4524611>, node_setup.c,  510, Adding subscription
<t:    4526255>, mesh_main.c,  488, Config client event
<t:    4526260>, node_setup.c,  289, opcode status field: 0 
<t:    4526264>, mesh_main.c,  304, Configuration of device 0 successful



<t:    8125810>, node_setup.c,  713, Configuring Node: 0x0100
<t:    8125815>, node_setup.c,  627, Config client setup: addr_handle:1 devkey_handle:2 
<t:    8125821>, node_setup.c,  383, Getting composition data
<t:    9108878>, mesh_main.c,  488, Config client event
<t:    9108883>, node_setup.c,  646, Acknowledged message status not received 
<t:    9108888>, node_setup.c,  650, Retry ...
<t:    9108892>, node_setup.c,  383, Getting composition data
<t:   10091946>, mesh_main.c,  488, Config client event
<t:   10091951>, node_setup.c,  646, Acknowledged message status not received 
<t:   10091956>, node_setup.c,  650, Retry ...
<t:   10091960>, node_setup.c,  383, Getting composition data
<t:   10790693>, mesh_main.c,  488, Config client event
<t:   10790697>, node_setup.c,  393, Adding appkey
<t:   10793730>, mesh_main.c,  488, Config client event
<t:   10793735>, node_setup.c,  289, opcode status field: 0 
<t:   10793740>, node_setup.c,  404, App key bind: Health server
<t:   10795293>, mesh_main.c,  488, Config client event
<t:   10795298>, node_setup.c,  289, opcode status field: 0 
<t:   10795302>, node_setup.c,  419, App key bind: Simple On/Off server
<t:   10796226>, mesh_main.c,  488, Config client event
<t:   10796231>, node_setup.c,  289, opcode status field: 0 
<t:   10796236>, node_setup.c,  472, Setting publication address for the health server to 0x0001
<t:   10821536>, mesh_main.c,  488, Config client event
<t:   10821540>, node_setup.c,  289, opcode status field: 0 
<t:   10821545>, node_setup.c,  510, Adding subscription
<t:   10823009>, mesh_main.c,  488, Config client event
<t:   10823013>, node_setup.c,  289, opcode status field: 0 
<t:   10823018>, mesh_main.c,  304, Configuration of device 0 successful


<t:   13200901>, node_setup.c,  713, Configuring Node: 0x0100
<t:   13200907>, node_setup.c,  627, Config client setup: addr_handle:1 devkey_handle:2 
<t:   13200912>, node_setup.c,  383, Getting composition data
<t:   14183966>, mesh_main.c,  488, Config client event
<t:   14183971>, node_setup.c,  646, Acknowledged message status not received 
<t:   14183976>, node_setup.c,  650, Retry ...
<t:   14183980>, node_setup.c,  383, Getting composition data
<t:   15167034>, mesh_main.c,  488, Config client event
<t:   15167039>, node_setup.c,  646, Acknowledged message status not received 
<t:   15167044>, node_setup.c,  650, Retry ...
<t:   15167048>, node_setup.c,  383, Getting composition data
<t:   16150102>, mesh_main.c,  488, Config client event
<t:   16150107>, node_setup.c,  646, Acknowledged message status not received 
<t:   16150112>, mesh_main.c,  367, Configuration of device 0 failed. Press Button 1 to retry.
<t:   16150118>, provisioner_helper.c,  321, stop For Unprovisioned Devices



client delete serve code:

    ERROR_CHECK(dsm_devkey_delete(deviceInfo[index].devkey_handle));

Server side:

  node_reset();

I suspect that deleting the server node is not complete, causing such a problem.

So, can you give me some help, thank you!

Parents Reply Children
No Data
Related