Is it possible to use libpq with the IDF?

Talesduque
Posts: 11
Joined: Wed Jul 08, 2020 1:40 pm

Is it possible to use libpq with the IDF?

Postby Talesduque » Thu Feb 11, 2021 1:27 pm

I need to use a postgres lib to communicate my ESP32 to a postgres database. Anyone knows if it is possible to use this lib on ESP-IDF projects? If not, is there any alternative to communicating to a database with ESP32?

Victoria Nope
Posts: 75
Joined: Fri Dec 04, 2020 9:56 pm

Re: Is it possible to use libpq with the IDF?

Postby Victoria Nope » Thu Feb 11, 2021 3:46 pm

Proper design would be based on application tier on your server side (which would communicate with data tier). That being followed would mean for you having a server application with which you would communicate e.g. over some known protocol such as TCP, HTTP, etc. (which are having support on your ESP32 client side already implemented) and only that server application would talk with the PostgreSQL data tier.

Who is online

Users browsing this forum: No registered users and 64 guests