send method
Send the message bytes to all connected devices
Implementation
@override
void send() {
var length = valueLSB > -1 ? 12 : 9;
data = Uint8List(length);
// Data Entry MSB
data[0] = 0xB0 + channel;
data[1] = 0x65;
data[2] = parameterMSB;
// Data Entry LSB
data[3] = 0xB0 + channel;
data[4] = 0x64;
data[5] = parameterLSB;
// Data Value MSB
data[6] = 0xB0 + channel;
data[7] = 0x06;
data[8] = valueMSB;
// Data Value LSB
if (valueLSB > -1) {
data[9] = 0xB0 + channel;
data[10] = 0x26;
data[11] = valueLSB;
}
super.send();
}