Open geoffrey-oongo opened 8 months ago
@geoffrey-oongo check the #29 let me know if it solves the issue
Thanks for the assistance Nataraja
On Wed, Feb 21, 2024 at 4:05 PM Nataraja @.***> wrote:
@geoffrey-oongo https://github.com/geoffrey-oongo check the #29 https://github.com/jpnurmi/flutter_libserialport/issues/29 let me know if it solves the issue
— Reply to this email directly, view it on GitHub https://github.com/jpnurmi/flutter_libserialport/issues/87#issuecomment-1956611427, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN6OYJI3RZYOS6TOOSJRLJ3YUXWKZAVCNFSM6AAAAAA4MR6D6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJWGYYTCNBSG4 . You are receiving this because you were mentioned.Message ID: @.***>
void getDataFromLibSerial( LibSerial.SerialPort? port, LibSerial.SerialPortReader? reader) async { try { if (reader != null) { Stream upcomingData = reader.stream.map((event) {
print(event);
var data = ascii.decode(event);
print(data);
}
void didChangeDependencies() async { final connectionProvider = Provider.of(context, listen: false).connection;
}