Skip to content

02-Basic-Midi-Client example compiles but doesn't send messages without a fix to BLEMidiClientClass.sendPacket #44

Description

@llemtt

Hello, don't know if anyone tried recently 02-Basic-Midi-Client example, or other client mode code that sends midi messages.
I compiled 02-Basic-Midi-Client example using Esp32 boards v2.0.17 and NimBLE-Arduino v1.4.7, it runs but no message gets sent.

I've managed to fix it changing

pRemoteCharacteristic->writeValue(packet, packetSize, false);

to

pRemoteCharacteristic->writeValue(packet, packetSize, true);

in BLEMidiClientClass.sendPacket.

I've used Nim-BLE in the past but I've always set the "response" parameter to "true", can't remember why..

Teo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions