-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Trying out the example SerialToSerialBLE_TranparentUART from the repository I get a compile time warning
In file included from C:\Source\Arduino\FlightRecorder\LoraBridge.V.0.3\LoraBridge.V.0.3.ino:14:
c:\Source\Arduino\libraries\Serial_BLE\src/BLESerial.h: In member function 'void BLESerial::begin(BLECharacteristic*, BLECharacteristic*)':
c:\Source\Arduino\libraries\Serial_BLE\src/BLESerial.h:370:50: warning: 'BLE2902' is deprecated: NimBLE does not support manually adding 2902 descriptors as they are automatically added when the characteristic has notifications or indications enabled. Get/Set the notifications/indications properties of the characteristic instead. This class will be removed in a future version. [-Wdeprecated-declarations]
370 | this->m_pRxCharacteristic->addDescriptor(new BLE2902());
BTW I had to add a Serial.begin(115200) statement in setup or it would just do a reboot cycle.
When examining it in nRF Connect the service ID are all wrong. They look like some sort of default UUID
0000aaa0-0000-8000-aabbccddeeff
XAIO ESP32S3