Search found 4 matches

by Ernesto
Sat Dec 30, 2017 4:47 pm
Forum: ESP-IDF
Topic: The BLE APIs and the concept of "handles" ...
Replies: 16
Views: 27861

Re: The BLE APIs and the concept of "handles" ...

Well, for the moment I just copied the missing header files to the ESP32_BLE library folder. But I get the following error: Documents/Arduino/libraries/ESP32_BLE/src/BLEExceptions.h:13:2: error: #error "C++ exception handling must be enabled within make menuconfig. See Compiler Options > Enable C++ ...
by Ernesto
Sat Dec 30, 2017 4:14 pm
Forum: ESP-IDF
Topic: The BLE APIs and the concept of "handles" ...
Replies: 16
Views: 27861

Re: The BLE APIs and the concept of "handles" ...

Cool, your lastest BT library containts a method setValue in BLERemoteService. I guess thats exactly what I am looking for. What I realized is that the Arduino Core of esp32 (https://github.com/espressif/arduino-esp32.git) does not contain the esp_bt.h you use. How did you work around that? Do you u...
by Ernesto
Fri Dec 29, 2017 7:54 am
Forum: ESP-IDF
Topic: The BLE APIs and the concept of "handles" ...
Replies: 16
Views: 27861

Re: The BLE APIs and the concept of "handles" ...

Since this original post, it appears that handles are now indeed exposed by the APIs. If one is a client, one can find the handle of a service, characteristic or descriptor and if one is a server, one can be told of ones own handle. Hi Neil, thanks for your reply! Does anyone have an example how th...
by Ernesto
Sat Dec 23, 2017 3:56 am
Forum: ESP-IDF
Topic: The BLE APIs and the concept of "handles" ...
Replies: 16
Views: 27861

Re: The BLE APIs and the concept of "handles" ...

Gatt client use "UUID + inst_id" to realize different attribute(corresponding to handle). Bluedroid do that. Maybe, in future, we will modify or add API to use "handle". Even though it feels a bit like thread necromancy, but I stumbled across this discussion because I am wondering the very same as ...