send method

  1. @override
void send({
  1. String? deviceId,
  2. int? timestamp,
})
override

Send the message bytes to all connected devices

Implementation

@override
void send({String? deviceId, int? timestamp}) {
  data = Uint8List(2);
  data[0] = 0xC0 + channel;
  data[1] = program;
  super.send(deviceId: deviceId, timestamp: timestamp);
}