You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by mi...@mdc-service.de on 2022/10/27 14:57:42 UTC

libpq and libscpi: how to start

Dear all,

i would like to see Nuttx support for the PostgreSQL client library 
libpq(https://github.com/postgres/postgres/tree/master/src/interfaces/libpq), 
and a library for SCPI(https://www.jaybee.cz/scpi-parser/api/). These 
scpi parser lib could then be used for USBTMC and LXI, 2 standards to 
expose lab instruments in a standardized way to software like LabView, 
GNU Octave, ect.

Both projects are under BSD license, so they should be compatible from 
the license side with Nuttx.

I think, as common libraries for other app, and maybe service, they 
should be placed under nuttxspace/nuttx/libs in the Nuttx tree, not in 
the application tree. At least the PostgreSQL client library requires 
network. What would be the advice, where to place these kind of 
libraries?

For the PostgreSQL client library, there are implementations for 
Arudino, additional to the PC based implementations. But because the 
POSIX compatibility of Nuttx, starting from the Linux version should 
make more sense, or?

regards,
Michael