Good morning
In the project we are developing, from the provisioner (h2) we configure remote nodes (also h2) into groups using the ESP_BLE_MESH_MODEL_OP_MODEL_SUB_ADD message.
I need to retrieve the configuration present on the remote node, but I found only the ESP_BLE_MESH_MODEL_OP_MODEL_PUB_GET message.
Even the ESP_BLE_MESH_MODEL_OP_SIG_MODEL_SUB_GET message does not seem to return a valid value to me, but if I send a message to the group, the configured node responds.
How can I find out which group a node is registered to?
Regards
BLE-MESH get subscription address
-
- Posts: 56
- Joined: Sat Jan 18, 2025 2:31 pm
Re: BLE-MESH get subscription address
When sending ESP_BLE_MESH_MODEL_OP_SIG_MODEL_SUB_GET, you need to specify the correct model ID (SIG or Vendor model).
The response handler should correctly process the returned addresses.
The response handler should correctly process the returned addresses.
Re: BLE-MESH get subscription address
Thank you for your response. I had set up the model correctly. After some testing, I saw that the information is returned in
within the sub_addr attribute.
This occurs only if the node has been registered to a group, otherwise the sub_addr.len is 0
Code: Select all
param->status_cb.model_sub_list
This occurs only if the node has been registered to a group, otherwise the sub_addr.len is 0
Who is online
Users browsing this forum: No registered users and 143 guests