Adding a second characteristic stops the service to be reachable #309
Labels
status: waiting for information
More information must be provided before work can proceed
type: imperfection
Perceived defect in any part of project
Hello,
I am trying to create a service with two characteristics using an Arduino uno r4 wifi. With one service and one characteristic everything works fine, if I define a second characteristic the service is not available anymore (checked with nRF Connect).
Here a code to reproduce the issue:
As you can see I commented everything related to the second characteristic, only the definition of the variable is not commented. If I comment the line
BLEByteCharacteristic characteristicTest2("19B10012-E8F2-537E-4F6C-D104768A1214", BLERead | BLEWrite);
everything starts working again.Here what I see when the second characteristic is commented:
Just uncommenting the second characteristic this happens:
As you can see the service and the first characteristic is not visible anymore.
I am using the ArduinoBLE version 1.3.5, with this PR to have the support for the Arduino uno r4 wifi.
Any idea of what the issue could be? Sorry in advance if this is a trivial issue given by my code, I am not an expert with C++ and BLE.
The text was updated successfully, but these errors were encountered: