-
-
Notifications
You must be signed in to change notification settings - Fork 187
Description
Hi!
I've been trying to use this library with a simple arduino based project and I am having some issues. I am using the 2.1 version installed through swift package manager on Mac Os Catalina.
The whole connecting part works nicely. I can open the connection to a port, I get the serialPortWasOpened delegate call, ... If I send some data to the device this works as well (device has display so I can see that the data is received correctly).
The issue is that I am unable to receive any data from device. The serialPort(_ serialPort: ORSSerialPort, didReceive data: Data) delegate function is never called. Whenever I press a button on the device it should send some data back (I can confirm that it does this with Arduino serial monitor), but I never get that data using this library. I've also tried using the ORSSerialPortDemo example and I get the same behavior. Computer -> device works, but I get no data back.