Open HerrMuellerluedenscheid opened 2 weeks ago
It turned out that the exclusive
flag was preventing access. I cross-checked with pySerial
where the exclusive
flag works. Under the hood they use different flags as a colleague of mine found out (Thanks Sebastian 👍) :
pyserial uses flock(…, LOCK_EX) while serialport-rs uses ioctl(…, TIOCEXCL). Probably thats why one works while the other doesnt. For now, I'm using exclusive=false
under OSX.
Hi, I'm on OSX. The device I'm trying to connect to responds fine using e.g. screen. When using
tokio-serial
I'm getting the response:What I tried and what works fine os linux: