ESP-BLE-MESH: Heartbeat pub/sub
Posted: Tue Apr 23, 2024 4:05 am
I'm trying to publish and subscribe to heartbeat of a node using
esp_err_t err = esp_ble_mesh_config_client_set_state(&common, &set_state);
it is working fine but after sometime i want stop publishing and stop subscribing heartbeat ,
how can i stop a node from publishing and subscribing heartbeat?
Please help me with this.
Thanks in advance.
esp_err_t err = esp_ble_mesh_config_client_set_state(&common, &set_state);
it is working fine but after sometime i want stop publishing and stop subscribing heartbeat ,
how can i stop a node from publishing and subscribing heartbeat?
Please help me with this.
Thanks in advance.