transmissionOfStatus method
Implementation
Future<int?> transmissionOfStatus({int n = 1}) async {
var waitFuture = _waitInputByte();
_socket.add(_generator.transmissionOfStatus(n: n));
await waitFuture;
var status = _inputBytes.lastOrNull;
if (status != null) {
// Remove reserved bits:
status = status & 0x0F;
}
return status;
}