esp32-snippets icon indicating copy to clipboard operation
esp32-snippets copied to clipboard

Sample ESP32 snippets and code fragments

Results 173 esp32-snippets issues
Sort by recently updated
recently updated
newest added

I'm facing several stability issues with this library on multiple ESP32 boards. I made a custom version of the BLE_client example for reading a BLE heart rate monitor and printing...

【BLE_server_multiconnect】and 【BLE_notify】 I have read these two projects, but I can't see the specific difference. How can you connect multiple people?

onAuthenticationComplete(esp_ble_auth_cmpl_t) ESP_GAP_BLE_AUTH_CMPL_EVT I am using this event but having issues if pin fails. Is there an auth fail event?

Hi thanks for all this contribution, its wonderful and I am very thankful for it. I need a direction to be able to read characters on a BLE 4.0 keyboard...

Hi everyone, I'm trying to use this BLE joystick (https://www.amazon.it/gp/product/B095JZ3L5J/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1) as a Server to send data to Esp32 as a client. Now... First of all I tried this code (https://www.instructables.com/ESP32-Bluetooth-BLE-Remote-Control/)...

I want to use a request/response pattern (similar to http). I read on internet that I should use notifications to send response back to the client. However, notifications are send...

I am building a BLE HID keyboard/mouse client. It is trying to talk to a Rii mini keyboard v3. Ideally this would have 5 notifications for battery + 4 HID...

In file included from c:\Users\User\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEAdvertising.h:15, from c:\Users\User\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEServer.h:19, from c:\Users\User\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEDevice.h:18, from C:\Users\User\Downloads\sketch_aug17a\sketch_aug17a.ino:2: c:\Users\User\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/FreeRTOS.h:61:28: error: 'ringbuf_type_t' has not been declared Ringbuffer(size_t length, ringbuf_type_t type = RINGBUF_TYPE_NOSPLIT); ^~~~~~~~~~~~~~ exit status 1 Compilation error:...

Hello everyone, I have been testing (a lot) and reading a lot about BLE scanning and I am unable to detect any smartphone, with BLEScan or NimBLEScan sketches. At some...