NordicSemiconductor / IOS-nRF-Mesh-Library

Provision, configure and control Bluetooth mesh devices with nRF Mesh library.
https://www.nordicsemi.com/
BSD 3-Clause "New" or "Revised" License
305 stars 120 forks source link

Why is the Bluetooth device json table data in my configuration table sometimes inexplicably cleared? I hope to reply to me #615

Open liuhk8 opened 1 week ago

liuhk8 commented 1 week ago

Version

4.2.0 (latest)

Ask the question

Why is the Bluetooth device json table data in my configuration table sometimes inexplicably cleared? I hope to reply to me

Relevant log output

No response

philips77 commented 1 week ago

Hello, The mesh configuration doesn't clear on its own. You may be creating a new mesh network and saving it at some point, or not calling manager.save() after it has been set up. The network can also be remotely cleared by another Node if it knows the Device Key of the phone's local node.

philips77 commented 1 week ago

I highly doubt remove node reset is what you observe, by twe way.

liuhk8 commented 1 week ago

I didn't call the node removal interface to handle it. It was often very sudden, and the device list was cleared. I suspected that some actions would clear the node collection in the json table. I found that one possible cause of this problem is to create two mesh networks in quick succession, which is likely to clear the node collection of the first one.