- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
I find a question that if a device have been reset to factory,on the app,the device icon and message have not been removed from the provisioner,
I want to know if there is any API to notify the provisioner that the device was removed from the mesh network.
if there is a mechanism that the provisioner can get the network nodes heartbeat during a fixed period
thanks!
mandy
Solved! Go to Solution.
- Tags:
- cyw20735
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a secure process to remove a node from a mesh network, where necessary key refreshments and database changes has to be done.
If anyone intentionally do factory reset to one of the node in the network then provisioner will not be knowing about it at the time of reset. But during the next key refresh procedure, provisioner will know about the unreachable(reset node) node when it does not receive new keys. And this node will be blacklisted by config client and will be notified about it to the user.
You can use below APIs to configure heartbeat publication and subscription.
wiced_bt_mesh_config_heartbeat_publication_set
wiced_bt_mesh_config_heartbeat_publication_get
wiced_bt_mesh_config_heartbeat_subscription_get
wiced_bt_mesh_config_heartbeat_subscription_set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a secure process to remove a node from a mesh network, where necessary key refreshments and database changes has to be done.
If anyone intentionally do factory reset to one of the node in the network then provisioner will not be knowing about it at the time of reset. But during the next key refresh procedure, provisioner will know about the unreachable(reset node) node when it does not receive new keys. And this node will be blacklisted by config client and will be notified about it to the user.
You can use below APIs to configure heartbeat publication and subscription.
wiced_bt_mesh_config_heartbeat_publication_set
wiced_bt_mesh_config_heartbeat_publication_get
wiced_bt_mesh_config_heartbeat_subscription_get
wiced_bt_mesh_config_heartbeat_subscription_set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi DheerajP_41 :
now I don't know how to use this APIs, Can you briefly introduce how to use this heartbeat APIs
thanks!
mandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can get the description of these APIs from wiced_bt_mesh_provision.h. Please go through it.
Also you can refer mesh_provision_client app where these APIs have been used to GET/SET the heartbeat messages.
When mesh core receives the heartbeat messages, it will set the parameters accordingly and give responses. Please check the clientcontrol logs for the sent and received messages.
Thanks,
-Dheeraj