Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BLE library notification receives no callback #11450

Open
Assignees
Labels
@bombzj

Description

Board

ESP32-S3 devkit C1

Device Description

plain module on breadboard

Hardware Configuration

using USB to connect to PC

Version

v3.2.0

IDE Name

VSCode

Operating System

Windows 10

Flash frequency

40Mhz

PSRAM enabled

yes

Upload speed

115200

Description

using BLE library like the example (client.ino)

pChar->registerForNotify(notifyCallback);

after register, not notify is received from callback function. switching to NimBLE works no problem. (same device, characteristic and descriptor).

Sketch

PlatformIO

Debug Message

[BLE] Reading all readable characteristics to trigger controller:
[BLE] Read characteristic 00002a4a-0000-1000-8000-00805f9b34fb length: 4 data: 11 01 00 03
[BLE] Read characteristic 00002a4b-0000-1000-8000-00805f9b34fb length: 283 data: 05 01 09 
05 A1 01 85 01 09 01 A1 00 09 30 09 31 15 00 27 FF FF 00 00 95 02 75 10 81 02 C0 09 01 A1 
00 09 32 09 35 15 00 27 FF FF 00 00 95 02 75 10 81 02 C0 05 02 09 C5 15 00 26 FF 03 95 01 
75 0A 81 02 15 00 25 00 75 06 95 01 81 03 05 02 09 C4 15 00 26 FF 03 95 01 75 0A 81 02 15 
00 25 00 75 06 95 01 81 03 05 01 09 39 15 01 25 08 35 00 46 3B 01 66 14 00 75 04 95 01 81 
42 75 04 95 01 15 00 25 00 35 00 45 00 65 00 81 03 05 09 19 01 29 0F 15 00 25 01 75 01 95 
0F 81 02 15 00 25 00 75 01 95 01 81 03 05 0C 0A B2 00 15 00 25 01 95 01 75 01 81 02 15 00 
25 00 75 07 95 01 81 03 05 0F 09 21 85 03 A1 02 09 97 15 00 25 01 75 04 95 01 91 02 15 00 
25 00 75 04 95 01 91 03 09 70 15 00 25 64 75 08 95 04 91 02 09 50 66 01 10 55 0E 15 00 26 
FF 00 75 08 95 01 91 02 09 A7 15 00 26 FF 00 75 08 95 01 91 02 65 00 55 00 09 7C 15 00 26 
FF 00 75 08 95 01 91 02 C0 C0
[BLE] Read characteristic 00002a4d-0000-1000-8000-00805f9b34fb length: 0 data:
[BLE] Read characteristic 00002a4e-0000-1000-8000-00805f9b34fb length: 1 data: 01
[BLE] Attempting to enable notifications on characteristic: 00002a4d-0000-1000-8000-00805f9b34fb

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /