-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage on simulated serial device #8
Comments
if I understand the use case well, you should create two tty_fake connected to the same ttymux. One process per plug. |
that's what i'm trying to do, but as soon as I attach the tty_fake the device simulator crashes, i'll try using the physical device instead of the simulator. The devices i'm talking about is a GPS that sand serial data via serial port, and to thest the code without the GPS board i've created this simulator |
Hello @FilippoGas - I have recently merged a bunch of contributions from different authors. Could you please check if the latest master fixes the issue for you? -- |
Hi @danielinux, the problem I had is now fixed but i noticed something else, when I have only one application reading from a fake device everything works well, but as soon as another application start reading from another fake device connected to the same bus, both application receive a reduced amount of data, compared to the readings with one application only, it's like the two applications are not seeing the same data stream, but some data goes to application 1 and not to application 2 and vice-versa |
First of all thank you for this tool, I'm trying to use it on a simulated serial device, that writes on /dev/ptmx and output in a pseudoterminal /dev/pts/[number], and I'd like to be able to read this device from multiple processes but when i link the real device to the fake tty the simulated devices just stop. could this be because of the original port being a simulated device and not a real device?
The text was updated successfully, but these errors were encountered: