Coder Social home page Coder Social logo

Comments (4)

JanB97 avatar JanB97 commented on June 13, 2024 1

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.

JanB97 avatar JanB97 commented on June 13, 2024

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.

LukaszWiktor avatar LukaszWiktor commented on June 13, 2024

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.

evanderkuy avatar evanderkuy commented on June 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.