Arduino R4 WIFI: If a Servo is added to a BLE sketch, incorrect UUID is returned by peripheral #311
Labels
conclusion: off topic
Off topic for this repository
conclusion: resolved
Issue was resolved
type: imperfection
Perceived defect in any part of project
I documented how I tested BLE Uart here. An incorrect Service UUID is returned if the sketch is modified to add a servo. The modified sketch is shown below. Also, a Python script is provided to act as a BLE central and to print out what is being returned from the Arduino R4.
I don't know if this is related to issue #309.
The expected UUID should be UART_SERVICE_UUID = "6E400001-B5A3-F393-E0A9-E50E24DCCA9E"
Here is the output of the Python script with the servo added. The item to look at is UUIDs. It is clearly not the UART_SERVICE_UUID.
If I comment out the lines adding the servo, here is the output of the Python script:
Here the UUID is correct.
Discussion topic:
https://forum.arduino.cc/t/ble-returns-incorrect-uuid-if-a-servo-is-instantiated/1150072
The text was updated successfully, but these errors were encountered: