-
-
Notifications
You must be signed in to change notification settings - Fork 182
Open
Description
Hi!
I am using the nordic uart service and characteristic UUID which is:
#define SERVICE_UUID "6E400001-B5A3-F393-E0A9-E50E24DCCA9E" // UART service UUID
#define CHARACTERISTIC_UUID_RX "6E400002-B5A3-F393-E0A9-E50E24DCCA9E"
#define CHARACTERISTIC_UUID_TX "6E400003-B5A3-F393-E0A9-E50E24DCCA9E"
With the newest 2.3.0 and 2.3.1 it throws an error on advertising as shown below and especially on ESP32-S3 based boards like the Heltec Wifi Lora v3 for example and similar, advertising is not enabled and so they disappear when doing a scan and can not be connected anymore. Is the only solution to use a 16bit UUID? If yes, on BLE what would be recommended as BLE UART service as I can not find it in the official documentation of the BLE SIG.
Thanks for any help in advance!
Here is the log:
[BLE ]...Device started with BLE-Name <MC-f25c-OE1KFR-6>
I NimBLEDevice: BLE Host Task Started
I NimBLEDevice: NimBle host synced.
[BLE ]...Device-Address <64:e8:33:69:f2:5d>
D NimBLEDevice: Setting bonding: 0, mitm: 0, sc: 0
D NimBLEService: >> start(): Starting service: UUID: 6e400001-b5a3-f393-e0a9-e50e24dcca9e, handle: 0x0000
D NimBLEService: Adding 2 characteristics for service UUID: 6e400001-b5a3-f393-e0a9-e50e24dcca9e, handle: 0x0000
D NimBLEService: << start()
E NimBLEAdvertisementData: Data length exceeded
E NimBLEAdvertisementData: Cannot add UUID, data length exceeded!
E NimBLEAdvertisementData: Cannot add UUID, data length exceeded!
D NimBLEAdvertising: >> Advertising start: duration=0, dirAddr=NULL
primary service
uuid 0x1800
handle 1
end_handle 5
characteristic
uuid 0x2a00
def_handle 2
val_handle 3
min_key_size 0
flags [READ]
characteristic
uuid 0x2a01
def_handle 4
val_handle 5
min_key_size 0
flags [READ]
primary service
uuid 0x1801
handle 6
end_handle 13
characteristic
uuid 0x2a05
def_handle 7
val_handle 8
min_key_size 0
flags [INDICATE]
ccc descriptor
uuid 0x2902
handle 9
min_key_size 0
flags [READ|WRITE]
characteristic
uuid 0x2b3a
def_handle 10
val_handle 11
min_key_size 0
flags [READ]
characteristic
uuid 0x2b29
def_handle 12
val_handle 13
min_key_size 0
flags [READ|WRITE]
primary service
uuid 6e400001-b5a3-f393-e0a9-e50e24dcca9e
handle 14
end_handle 20
characteristic
uuid 6e400003-b5a3-f393-e0a9-e50e24dcca9e
def_handle 15
val_handle 16
min_key_size 0
flags [READ|WRITE|NOTIFY]
ccc descriptor
uuid 0x2902
handle 17
min_key_size 0
flags [READ|WRITE]
characteristic
uuid 6e400002-b5a3-f393-e0a9-e50e24dcca9e
def_handle 18
val_handle 19
min_key_size 0
flags [READ|WRITE|NOTIFY]
ccc descriptor
uuid 0x2902
handle 20
min_key_size 0
flags [READ|WRITE]
D NimBLEAdvertising: setAdvertisementData: 02 01 06 11 09 4d 43 2d 66 32 35 63 2d 4f 45 31 4b 46 52 2d 36
D NimBLEAdvertising: setScanResponseData: 13 ff 4d 43 4d 43 2d 66 32 35 63 2d 4f 45 31 4b 46 52 2d 36
E NimBLEAdvertising: Error enabling advertising; rc=519,
Metadata
Metadata
Assignees
Labels
No labels