Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

structs

Andrew Mee edited this page Nov 17, 2021 · 2 revisions

MIDICI

Often passed as when receiving MIDICI messages.

struct MIDICI{
    uint8_t deviceId = MIDI_PORT;
    uint8_t ciType = 255;
    uint8_t ciVer = 1;
    uint32_t remoteMUID = M2_CI_BROADCAST;
    uint32_t localMUID = 0;
};

umpSysex7Internal

Only ever passed when using setRecvUnknownMIDICI

struct umpSysex7Internal {
    uint8_t realtime = 0;
    uint8_t universalId = 0;
    uint8_t peRequestIdx = 255;
    uint16_t pos = 0;
    uint8_t buffer1[PE_HEAD_BUFFERLEN];
    /* in Discovery this is [sysexID1,sysexID2,sysexID3,famId1,famid2,modelId1,modelId2,ver1,ver2,ver3,ver4]
     * in Profiles this is [pf1, pf1, pf3, pf4, pf5]
     */

    uint16_t intbuffer1[2];
    /* in Discovery this is [ciSupport, maxSysex]
     * in Profile Inquiry Reply, this is [Enabled Profiles Length, Disabled Profile Length]
     * in PE this is [header length, Body Length]
     */
};
Clone this wiki locally