arduino-esp32/libraries/BLE
mixa3607 89e7893b1a
[2.0.0] Add BLE characteristic callbacks overloads (#4832)
Add BLE characteristic callbacks overloads with esp_ble_gatts_cb_param_t* param.
Example:

class BleCharactCallback : public BLECharacteristicCallbacks
{
    void onRead(BLECharacteristic *pCharacteristic, esp_ble_gatts_cb_param_t *param)
    {
        auto addr = param->read.bda;
        ESP_LOGV(TAG, "Device " ESP_BD_ADDR_STR " request data", ESP_BD_ADDR_HEX(addr));
    }
    void onWrite(BLECharacteristic *pCharacteristic, esp_ble_gatts_cb_param_t *param)
    {
        auto addr = param->write.bda;
        ESP_LOGV(TAG, "Device " ESP_BD_ADDR_STR " transmit data", ESP_BD_ADDR_HEX(addr));
    }
};
2021-04-15 16:08:22 +03:00
..
examples Initial Esp32c3 Support (#5060) 2021-04-14 18:10:05 +03:00
src [2.0.0] Add BLE characteristic callbacks overloads (#4832) 2021-04-15 16:08:22 +03:00
library.properties Set ESP-IDF to 3.2 (#2662) 2019-04-12 15:43:53 +02:00
README.md Set ESP-IDF to 3.2 (#2662) 2019-04-12 15:43:53 +02:00

ESP32 BLE for Arduino

The Arduino IDE provides an excellent library package manager where versions of libraries can be downloaded and installed. This Github project provides the repository for the ESP32 BLE support for Arduino.

The actual source of the project which is being maintained can be found here:

https://github.com/nkolban/esp32-snippets

Issues and questions should be raised here:

https://github.com/nkolban/esp32-snippets/issues

Documentation for using the library can be found here:

https://github.com/nkolban/esp32-snippets/tree/master/Documentation