Expand description
MIDI Capability Inquiry (MIDI-CI) Discovery message — minimal, spec-shaped.
MIDI-CI messages are Universal Non-Real-Time System Exclusive messages:
F0 7E <device_id> 0D <sub_id2> <ci_version> <src MUID> <dst MUID> …payload… F7.
Multi-byte fields are little-endian groups of 7-bit bytes. The MUID is a
28-bit value carried as four 7-bit bytes, LSB first; the broadcast MUID is
0x0FFF_FFFF (four 0x7F bytes). This models the Discovery message
(sub_id2 = 0x70); build/parse operate over caller buffers (zero-heap).
Structs§
- Midi
CiDiscovery - A MIDI-CI Discovery message (initiator → responder).
Constants§
- BROADCAST_
MUID - Broadcast MUID (28 bits all set).
- DISCOVERY_
LEN - Serialized length of a Discovery frame (bytes),
F0..F7inclusive. - MIDI_
CI_ SUB_ ID - MIDI-CI sub-ID#1.
- SUBI
D2_ DISCOVERY - Discovery message sub-ID#2.
- SYSEX_
END - SysEx end.
- SYSEX_
START - SysEx start.
- UNIVERSAL_
NON_ REALTIME - Universal Non-Real-Time SysEx ID.