4 ms·
Allows multiple applications to use a GPS source.
by gsich 5y ago
Allows multiple applications to use a GPS source.
- dheera 5y agoOkay, then why not just take the /dev/ttyACM0 output and redirect it to a standard TCP port with like 5 lines of code? And can't multiple applications read a /dev/tty device read-only with just e.g. "cat /dev/ttyACM0"?
- BenjiWiebe 5y agoNo, multiple applications cannot read the same data from a tty device.
- rcxdude 5y agoTechnically you can (in that you won't usually get an error), but the result is not what you would want: each byte only gets delivered to one of the readers, in a somewhat unpredictable manner, either mangling the data or starving one of the readers