dataResponse property

Stream<List<int>> get dataResponse

Implementation

Stream<List<int>> get dataResponse {
  // changed to only listen for data coming through the Frame's rx characteristic, not all attached devices as before
  return _rxChannel!.onValueReceived
      .where((event) => event[0] == 0x01)
      .map((event) {
    _log.finest(() => "Received data: ${event.sublist(1)}");
    return event.sublist(1);
  });
}