Write data to characteristic in Service Table
Posted: Fri Sep 22, 2017 7:26 am
Hi everyone,
I'm working with ESP32 using sample project "gatt_server_service_table". I have a service with 4 characteristic. Now, I want to write data to characteristic. I use this function in event : ESP_GATTS_READ_EVT
I don't know how to find "attr_handle" of the characteristic, which need to be written data.
Someone can help me ?
Thanks very much.
I'm working with ESP32 using sample project "gatt_server_service_table". I have a service with 4 characteristic. Now, I want to write data to characteristic. I use this function in event : ESP_GATTS_READ_EVT
Code: Select all
esp_ble_gatts_get_attr_value(uint16_t attr_handle, uint16_t *length, const uint8_t **value)
Someone can help me ?
Thanks very much.