Comments (4)
Okay so I tested it with a new Heltec Lora ESP32 V3.
With this board it works, it has a ESP32S3.
I am still interested why it is not working on the Lolin D32 Board.
from esp32-snippets.
This is what I get from the Verbose Debugging on the ESP..
It does recognize if I send something, but the funktion never get's executed.
21:31:12.254 -> [D][BLEDevice.cpp:104] gattServerEventHandler(): gattServerEventHandler [esp_gatt_if: 4] ... Unknown
21:31:12.287 -> [V][BLEUtils.cpp:1531] dumpGattServerEvent(): GATT ServerEvent: Unknown
21:31:12.287 -> [V][BLEUtils.cpp:1721] dumpGattServerEvent(): dumpGattServerEvent: *** NOT CODED ***
21:31:12.287 -> [D][BLEServer.cpp:153] handleGATTServerEvent(): >> handleGATTServerEvent: Unknown
21:31:12.287 -> [D][BLECharacteristic.cpp:203] handleGATTServerEvent(): >> handleGATTServerEvent: Unknown
21:31:12.287 -> [D][BLEValue.cpp:46] addPart(): >> addPart: length=1
21:31:12.321 -> [D][BLECharacteristic.cpp:292] handleGATTServerEvent(): - Response to write event: New value: handle: 2a, uuid: beb5483e-36e1-4688-b7f5-ea07361b26a8
21:31:12.321 -> [D][BLECharacteristic.cpp:295] handleGATTServerEvent(): - Data: length: 1, data: 25
21:31:12.321 -> [D][BLECharacteristic.cpp:459] handleGATTServerEvent(): << handleGATTServerEvent
21:31:12.321 -> [D][BLEServer.cpp:280] handleGATTServerEvent(): << handleGATTServerEvent
21:31:12.354 -> [D][BLEDevice.cpp:104] gattServerEventHandler(): gattServerEventHandler [esp_gatt_if: 4] ... Unknown
21:31:12.354 -> [V][BLEUtils.cpp:1531] dumpGattServerEvent(): GATT ServerEvent: Unknown
21:31:12.354 -> [V][BLEUtils.cpp:1721] dumpGattServerEvent(): dumpGattServerEvent: *** NOT CODED ***
21:31:12.354 -> [D][BLEServer.cpp:153] handleGATTServerEvent(): >> handleGATTServerEvent: Unknown
21:31:12.392 -> [D][BLECharacteristic.cpp:203] handleGATTServerEvent(): >> handleGATTServerEvent: Unknown
21:31:12.392 -> [D][BLECharacteristic.cpp:459] handleGATTServerEvent(): << handleGATTServerEvent
21:31:12.392 -> [D][BLEServer.cpp:280] handleGATTServerEvent(): << handleGATTServerEvent
from esp32-snippets.
I'm struggling with the same issue. The onWrite
callback doesn't work on my Seeed Xiao ESP32-C3 board, but it's working fine on Seeed Xiao ESP32-S3.
from esp32-snippets.
I am having a similar issue using a Waveshare ESP32-S3 mini. When I run the BLEwrite Example the onWrite event is never triggered on Platformio (Ubuntu). But when I run it on Arduino IDE (Windows) with the same code it is working fine.
As the Waveshare board is not on the platform I am using lolin_s3_mini with below ini file.
[env:lolin_s3_mini]
; platform = espressif32
platform = [email protected]
board = lolin_s3_mini
board_upload.flash_size = 4MB
build_flags =
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=0
-DARDUINO_RUNNING_CORE=1
framework = arduino
lib_deps =
upload_protocol = esp-prog
upload_port = //dev/ttyUSB2
upload_speed = 921600
debug_tool = esp-prog
monitor_port = //dev/ttyUSB0
monitor_speed = 115200
from esp32-snippets.
Related Issues (20)
- How to configure the number of packets per every BLE connection interval
- problèmes de compilation de la bibliothèque BleDevice HOT 1
- 677777j77ü-gt
- 'class BLEClient' has no member named 'setMTU' in version 1.0.6 HOT 2
- Notification frequency capability
- How to prevent remote-control from disconnecting after 2 minutes
- Bluetooth devices pinging
- Is it possible to get static MAC of BLE client ?
- Pairing an ESP32 with a health device from the client (master) HOT 2
- ESP32 BLE Characteristics increase the maximum HOT 1
- How to check if server currently advertising or not?
- Is it possible to scan and detect smartphones? HOT 7
- How a ESP-32 got mouse and keyboard input?
- Standard BLE on ESP32 can only support 4 notifications on 4 characteristics
- Wi Fi is not able to connect
- ESP32 is not able to connect with the wi fi
- [Feature Request] Please make BLECharacteristic::notify() return an error message
- How to manually connect BLE Client to BLE Server
- ESP32-C6, issues with Bluetooth HOT 1
- ESP32 C3 Mini using Bluetooth LE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-snippets.