MBNG_SYSEX
Detailed Description
SysEx Parser to access decicated MIDIbox NG functions (not really used yet)
Define Documentation
#define MBNG_SYSEX_ACK 0x0f |
#define MBNG_SYSEX_CMD_STATE_BEGIN 0 |
Include files local definitions
#define MBNG_SYSEX_CMD_STATE_CONT 1 |
#define MBNG_SYSEX_CMD_STATE_END 2 |
#define MBNG_SYSEX_DISACK 0x0e |
#define MBNG_SYSEX_DISACK_BS_NOT_AVAILABLE 0x0a |
#define MBNG_SYSEX_DISACK_INVALID_COMMAND 0x0c |
#define MBNG_SYSEX_DISACK_LESS_BYTES_THAN_EXP 0x01 |
#define MBNG_SYSEX_DISACK_MORE_BYTES_THAN_EXP 0x02 |
#define MBNG_SYSEX_DISACK_WRONG_CHECKSUM 0x03 |
Function Documentation
s32 MBNG_SYSEX_Init |
( |
u32 |
mode |
) |
|
local variables This function initializes the SysEx handler
This function parses an incoming sysex stream for SysEx messages
This function sends a SysEx acknowledge to notify the user about the received command expects acknowledge code (e.g. 0x0f for good, 0x0e for error) and additional argument
This function is called from NOTIFY_MIDI_TimeOut() in app.c if the MIDI parser runs into timeout