How to get a value of a GATT characteristic periodically
Posted: Wed Jul 31, 2019 2:47 am
Hello. I'm working on IDF example "ble_gatt_client". In this example GATT client (ESP32) uses notifications to get fresh data from GATT server. However my GATT server device (game pad) does not support notifications. The characteristic properties are "READ and WRITE" only. I managed to read the characteristic once (using esp_ble_gattc_read_char()), but probably I need to read it periodically (maybe every 10 ms). So how to obtain "fresh" characteristic value continuously without using notifications. Hope you can give me some tips or ways where I should search. Thanks in advance.