esp_ble_mesh_model_subscribe_group_addr() function
A local model of node or Provisioner subscribes a group address.
Arguments
element_addr
Unicast address of the element to which the model belongs.
company_id
A 16-bit company identifier.
model_id
A 16-bit model identifier.
group_addr
The group address to be subscribed.
Return value
ESP_OK on success or error code otherwise.
Notes
This function shall not be invoked before node is provisioned or Provisioner is enabled.
esp_ble_mesh_model_subscribe_group_addr() calls 2 functions:
![]()
esp_ble_mesh_model_subscribe_group_addr()
esp_ble_mesh_model_subscribe_group_addr() reads 6 variables and writes 7 variables:
![]()
esp_ble_mesh_model_subscribe_group_addr()