-
Notifications
You must be signed in to change notification settings - Fork 41
Description
I am trying to make the example "MidiBle_Client" work on an ESP32-S3, but without success. I have a server running on another ESP32-S3, and it is working as it was detected by my Android phone and could share Midi messages between them. It also works with other ESP32 with a client code using an older version of this library, but that does not compile anymore unfortunately.
When trying to connect to the same server with the above mentioned example, it doesn't connect. The only change I did was "BLEMIDI_CREATE_CUSTOM_INSTANCE("", MIDI, CustomSettings);" so the client tries to connect to the first Midi server it finds.
I have added the line "#define MIDIBLECLIENTVERBOSE " before the includes and the serial output does find the server. This is the serial output:
DbgBC: Scanning...
DbgBC: Advertised Device found:
DbgBC: Name: iL9_BLE, Address: 7c:df:a1:e8:74:91, serviceUUID: 03b80e5a-ede8-4b33-a751-6ce34ec4c700
DbgBC: Found MIDI Service
DbgBC: Failed to connect, deleted client
DbgBC: Scanning...
It does find the server "iL9_BLE" but it does not connect to it.
If I change the code to:
BLEMIDI_CREATE_CUSTOM_INSTANCE("iL9_BLE", MIDI, CustomSettings);
I get:
DbgBC: Advertised Device found:
DbgBC: Name: , Address: 2d:6d:4b:eb:54:9f
Service Data:
UUID: 0xfcf1, Data: �s`B�V���J�d\������`&
And also:
DbgBC: Scanning...
DbgBC: Scanning...
DbgBC: Advertised Device found:
DbgBC: Name: iL9_BLE, Address: 7c:df:a1:e8:74:91, serviceUUID: 03b80e5a-ede8-4b33-a751-6ce34ec4c700
DbgBC: Found MIDI Service
DbgBC: Failed to connect, deleted client
Thanks in advance for looking into this.