Forums › Life › Computers, Gadgets & Technology › question for Linux programmers
is it possible for one C appplication running as root and a Python program running as a less privileged user (but with appropriate permissions for access to ttyS0 and pySerial library) to access the serial port (read only) as the same time?
The reason I want to do this is I’ve got “ugly but working” system already for monitoring an embedded system in near real time (3 minute update) but would like to get it to real time working whilst also processing the ASCII data it generates. I have already tried this in C but my test code just segfaulted badly (as I had tried to either re-use a pointer or let one go wild) ; and I’m not enough of a masochist to try and do things that way when Python seems to have lots of much better string handling libraries..
0
Voices
1
Reply
Tags
This topic has no tags
Forums › Life › Computers, Gadgets & Technology › question for Linux programmers