|
enum | BlocksProtocol::MessageFromDevice {
BlocksProtocol::MessageFromDevice::deviceTopology = 0x01,
BlocksProtocol::packetACK = 0x02,
BlocksProtocol::firmwareUpdateACK = 0x03,
BlocksProtocol::MessageFromDevice::deviceTopologyExtend = 0x04,
BlocksProtocol::MessageFromDevice::deviceTopologyEnd = 0x05,
BlocksProtocol::MessageFromDevice::deviceVersion = 0x06,
BlocksProtocol::MessageFromDevice::deviceName = 0x07,
BlocksProtocol::MessageFromDevice::touchStart = 0x10,
BlocksProtocol::MessageFromDevice::touchMove = 0x11,
BlocksProtocol::MessageFromDevice::touchEnd = 0x12,
BlocksProtocol::MessageFromDevice::touchStartWithVelocity = 0x13,
BlocksProtocol::MessageFromDevice::touchMoveWithVelocity = 0x14,
BlocksProtocol::MessageFromDevice::touchEndWithVelocity = 0x15,
BlocksProtocol::MessageFromDevice::configMessage = 0x18,
BlocksProtocol::MessageFromDevice::controlButtonDown = 0x20,
BlocksProtocol::MessageFromDevice::controlButtonUp = 0x21,
BlocksProtocol::programEventMessage = 0x28,
BlocksProtocol::MessageFromDevice::logMessage = 0x30
} |
| Messages that a device may send to the host. More...
|
|
enum | BlocksProtocol::MessageFromHost {
BlocksProtocol::MessageFromHost::deviceCommandMessage = 0x01,
BlocksProtocol::MessageFromHost::sharedDataChange = 0x02,
BlocksProtocol::programEventMessage = 0x03,
BlocksProtocol::MessageFromHost::firmwareUpdatePacket = 0x04,
BlocksProtocol::MessageFromHost::configMessage = 0x10,
BlocksProtocol::MessageFromHost::factoryReset = 0x11,
BlocksProtocol::MessageFromHost::blockReset = 0x12,
BlocksProtocol::MessageFromHost::setName = 0x20
} |
| Messages that the host may send to a device. More...
|
|
enum | BlocksProtocol::ConfigItemId {
BlocksProtocol::midiStartChannel = 0,
BlocksProtocol::midiEndChannel = 1,
BlocksProtocol::midiUseMPE = 2,
BlocksProtocol::pitchBendRange = 3,
BlocksProtocol::octave = 4,
BlocksProtocol::transpose = 5,
BlocksProtocol::slideCC = 6,
BlocksProtocol::slideMode = 7,
BlocksProtocol::octaveTopology = 8,
BlocksProtocol::midiChannelRange = 9,
BlocksProtocol::MPEZone = 40,
BlocksProtocol::velocitySensitivity = 10,
BlocksProtocol::glideSensitivity = 11,
BlocksProtocol::slideSensitivity = 12,
BlocksProtocol::pressureSensitivity = 13,
BlocksProtocol::liftSensitivity = 14,
BlocksProtocol::fixedVelocity = 15,
BlocksProtocol::fixedVelocityValue = 16,
BlocksProtocol::pianoMode = 17,
BlocksProtocol::glideLock = 18,
BlocksProtocol::glideLockEnable = 19,
BlocksProtocol::mode = 20,
BlocksProtocol::volume = 21,
BlocksProtocol::scale = 22,
BlocksProtocol::hideMode = 23,
BlocksProtocol::chord = 24,
BlocksProtocol::arpPattern = 25,
BlocksProtocol::tempo = 26,
BlocksProtocol::key = 27,
BlocksProtocol::autoTransposeToKey = 28,
BlocksProtocol::xTrackingMode = 30,
BlocksProtocol::yTrackingMode = 31,
BlocksProtocol::zTrackingMode = 32,
BlocksProtocol::gammaCorrection = 33,
BlocksProtocol::globalKeyColour = 34,
BlocksProtocol::rootKeyColour = 35,
BlocksProtocol::brightness = 36,
BlocksProtocol::user0 = 64,
BlocksProtocol::user1 = 65,
BlocksProtocol::user2 = 66,
BlocksProtocol::user3 = 67,
BlocksProtocol::user4 = 68,
BlocksProtocol::user5 = 69,
BlocksProtocol::user6 = 70,
BlocksProtocol::user7 = 71,
BlocksProtocol::user8 = 72,
BlocksProtocol::user9 = 73,
BlocksProtocol::user10 = 74,
BlocksProtocol::user11 = 75,
BlocksProtocol::user12 = 76,
BlocksProtocol::user13 = 77,
BlocksProtocol::user14 = 78,
BlocksProtocol::user15 = 79,
BlocksProtocol::user16 = 80,
BlocksProtocol::user17 = 81,
BlocksProtocol::user18 = 82,
BlocksProtocol::user19 = 83,
BlocksProtocol::user20 = 84,
BlocksProtocol::user21 = 85,
BlocksProtocol::user22 = 86,
BlocksProtocol::user23 = 87,
BlocksProtocol::user24 = 88,
BlocksProtocol::user25 = 89,
BlocksProtocol::user26 = 90,
BlocksProtocol::user27 = 91,
BlocksProtocol::user28 = 92,
BlocksProtocol::user29 = 93,
BlocksProtocol::user30 = 94,
BlocksProtocol::user31 = 95
} |
| Configuration Item Identifiers. More...
|
|
enum | BlocksProtocol::DeviceCommands {
BlocksProtocol::beginAPIMode = 0x00,
BlocksProtocol::requestTopologyMessage = 0x01,
BlocksProtocol::endAPIMode = 0x02,
BlocksProtocol::ping = 0x03,
BlocksProtocol::debugMode = 0x04,
BlocksProtocol::saveProgramAsDefault = 0x05
} |
|
enum | BlocksProtocol::ConfigCommands {
BlocksProtocol::setConfig = 0x00,
BlocksProtocol::requestConfig = 0x01,
BlocksProtocol::requestFactorySync = 0x02,
BlocksProtocol::requestUserSync = 0x03,
BlocksProtocol::updateConfig = 0x04,
BlocksProtocol::updateUserConfig = 0x05,
BlocksProtocol::setConfigState = 0x06,
BlocksProtocol::factorySyncEnd = 0x07,
BlocksProtocol::clusterConfigSync = 0x08,
BlocksProtocol::factorySyncReset = 0x09
} |
|
enum | BlocksProtocol::DataChangeCommands {
BlocksProtocol::endOfPacket = 0,
BlocksProtocol::endOfChanges = 1,
BlocksProtocol::skipBytesFew = 2,
BlocksProtocol::skipBytesMany = 3,
BlocksProtocol::setSequenceOfBytes = 4,
BlocksProtocol::setFewBytesWithValue = 5,
BlocksProtocol::setFewBytesWithLastValue = 6,
BlocksProtocol::setManyBytesWithValue = 7
} |
|
enum | BlocksProtocol::BitSizes {
BlocksProtocol::topologyMessageHeader = (int) MessageType::bits + (int) ProtocolVersion::bits + (int) DeviceCount::bits + (int) ConnectionCount::bits,
BlocksProtocol::topologyDeviceInfo = (int) BlockSerialNumber::maxLength * 7 + (int) BatteryLevel::bits + (int) BatteryCharging::bits,
BlocksProtocol::topologyConnectionInfo = topologyIndexBits + (int) ConnectorPort::bits + topologyIndexBits + (int) ConnectorPort::bits,
BlocksProtocol::typeDeviceAndTime = (int) MessageType::bits + (int) PacketTimestampOffset::bits,
BlocksProtocol::touchMessage = (int) typeDeviceAndTime + (int) TouchIndex::bits + (int) TouchPosition::bits,
BlocksProtocol::touchMessageWithVelocity = (int) touchMessage + (int) TouchVelocity::bits,
BlocksProtocol::programEventMessage = (int) MessageType::bits + 32 * numProgramMessageInts,
BlocksProtocol::programEventMessage = 0x28,
BlocksProtocol::programEventMessage = 0x03,
BlocksProtocol::packetACK = (int) MessageType::bits + (int) PacketCounter::bits,
BlocksProtocol::packetACK = 0x02,
BlocksProtocol::firmwareUpdateACK = (int) MessageType::bits + (int) FirmwareUpdateACKCode::bits + (int) FirmwareUpdateACKDetail::bits,
BlocksProtocol::firmwareUpdateACK = 0x03,
BlocksProtocol::controlButtonMessage = (int) typeDeviceAndTime + (int) ControlButtonID::bits,
BlocksProtocol::configSetMessage = (int) MessageType::bits + (int) ConfigCommand::bits + (int) ConfigItemIndex::bits + (int) ConfigItemValue::bits,
BlocksProtocol::configRespMessage = (int) MessageType::bits + (int) ConfigCommand::bits + (int) ConfigItemIndex::bits + ((int) ConfigItemValue::bits * 3),
BlocksProtocol::configSyncEndMessage = (int) MessageType::bits + (int) ConfigCommand::bits
} |
| Contains the number of bits required to encode various items in the packets. More...
|
|