Hi. I am new with KEIL MDK and Nordic and ARM ..... I will create an MIDI BLE, but maybe anybody has an working Example for this? Or what for an Example i can modify?
Thanks Remo
Hi. I am new with KEIL MDK and Nordic and ARM ..... I will create an MIDI BLE, but maybe anybody has an working Example for this? Or what for an Example i can modify?
Thanks Remo
AFIK. Nordic do not have a examples of Midi over BLE.
Bluetooth.org does not list a Midi service type www.bluetooth.com/.../services
If you want to use the Apple Midi service, youre probably going need to code it from their spec
developer.apple.com/.../Apple-Bluetooth-Low-Energy-MIDI-Specification.pdf
If you search this forum, you will find people have already investigated using the uart service but changing it to use Apple's 128 bit service ID for their proprietary Midi service / profile
I can confirm that we don't have any official examples for this.
OK i found this UUID on example ble_app_uart and i changed it to one of the Apple's UUID. But not work,
#define NUS_BASE_UUID {{0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x00, 0x00, 0x40, 0x6E}} /**< Used vendor specific UUID. */
#define NUS_BASE_UUID {{0x77, 0x72, 0xE5, 0xDB, 0x38, 0x68, 0x41, 0x12, 0xA1, 0xA9, 0xF2, 0x66, 0x9D, 0x10, 0x6B, 0xF3}} /**< MIDI I/O Characteristic */
#define NUS_BASE_UUID {{0x03, 0xB8, 0x0E, 0x5A, 0xED, 0xE8, 0x4B, 0x33, 0xA7, 0x51, 0x6C, 0xE3, 0x4E, 0xC4, 0xC7, 0x00}} /**< MIDI Service */
I think this Need more changes on the source.
You will need to carefully read the Midi BLE spec produced by Apple and implement their requirements in your code.
(See link in my answer)
Maybe you can use some code from this repo: github.com/.../blidino