Closed MrYsLab closed 12 months ago
Should be fixed by https://github.com/arduino/ArduinoCore-renesas/commit/96963d8574956e6fc02e56666ecdbc215dbfdf84 . @MrYsLab can you retest with latest library + core?
@facchinm I tested, and yes, it is fixed. Thank you. I am closing this issue.
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