esp_ble_mesh_is_model_subscribed_to_group() function
Check if the model has subscribed to the given group address. Note: E.g., once a status message is received and the destination address is a group address, the model uses this API to check if it is successfully subscribed to the given group address.
Arguments
model
Pointer to the model.
Return value
Pointer to the group address within the Subscription List of the model on success, or NULL on failure which means the model has not subscribed to the given group address. Note: With the pointer to the group address returned, you can reset the group address to 0x0000 in order to unsubscribe the model from the group.
esp_ble_mesh_is_model_subscribed_to_group() calls 1 function:
![]()
esp_ble_mesh_is_model_subscribed_to_group()
esp_ble_mesh_is_model_subscribed_to_group():
![]()
esp_ble_mesh_is_model_subscribed_to_group()