3#include <Settings/NamespaceSettings.hpp>
55 this->
end = data + length;
60 bool pull(uint8_t &output) {
81 uint16_t timestampLow = *
data++ & 0x7F;
#define BEGIN_CS_NAMESPACE
Class for parsing BLE-MIDI packets.
void extend(const uint8_t *data, size_t length)
Extend the BLE packet with the given buffer.
static bool isData(uint8_t data)
Check if the given byte is a data byte (and not a header, timestamp or status byte).
bool pull(uint8_t &output)
Get the next MIDI byte from the BLE packet (if available).
BLEMIDIParser(const uint8_t *data, size_t length)
uint16_t getTimestamp() const