Peter Lum

Results 34 comments of Peter Lum

I am facing the same issue on Macos 11.4 Big Sur on a Mac Mini M1

My program got halted when I cal BLEPeripheral Peripheral = BLEPeripheral(); .. .. Peripheral.begin(); HELP!

Just wondering, is the issue I am facing related to the fact I am using the Nordic 52832 chip with Arduino framework, Visual Studio Code and PlatformIO?

I added a new function to the library to achieve the above

The problem is there are no Exception raised when DTR is not configured correctly. It is wait/hang indefinitely. ``` final reader = SerialPortReader(port, timeout: 2000); reader.port.drain(); reader.port.flush(); print("readSerialPort just before...

should be await for (Uint8List value in reader.stream.timeout(timeout)) { ?

I am getting old data in the serial stream/pipe. Using MacOS. Despite flush() and drain(), I am getting it. Any pointers?

``` ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════ The following SerialPortError was thrown while handling a gesture: Invalid argument, errno = 22 When the exception was thrown, this was the stack:...