linux - Within C program use Picocom to read/write streams -
i thinking of creating c program use picocom read , write serial streams ports (gps module, ntpd). c program run on debian os.
is possible using picocom? bad design interact picocom through c , system commands?
while that's technically possible, it's bad idea; picocom uncommon tool, , it's designed used interactively user. trying use within application pretty weird.
it'll easier interact serial port directly application. there's nice introduction doing in answer how open, read, , write serial port in c.
Comments
Post a Comment