Hi, I have a simple question.
In GATT Server/Client example, what are the basic APIs to write/read data?
GATT Server/Client
Re: GATT Server/Client
When one uses GATT, the notion is that there is a GATT server (usually in the peripheral) that hosts a "store" of data values known as "characteristics". From a GATT client we can then issue requests to write the value of a GATT characteristic or read the value of a GATT characteristic. The APIs that one uses to achieve those goals are:
* esp_ble_gattc_write_char
and
* esp_ble_gattc_read_char
* esp_ble_gattc_write_char
and
* esp_ble_gattc_read_char
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Who is online
Users browsing this forum: No registered users and 111 guests