stringResponse property

Stream<String> get stringResponse

Implementation

Stream<String> get stringResponse {
  // 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) {
    if (event[0] != 0x02) {
      _log.info(() => "Received string: ${utf8.decode(event)}");
    }
    return utf8.decode(event);
  });
}