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

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -