BSON for ESP-IDF?

dmitrij999
Posts: 71
Joined: Sat Mar 02, 2019 8:06 pm

BSON for ESP-IDF?

Postby dmitrij999 » Tue Jan 31, 2023 12:16 pm

Hello everyone!

I have the infrastructure which receives files to storage thru MQTT by chunks in BSON format.
For now I found the article where I can use BSON library with Arduino Framework.

But I couldn't compile this library as ESP-IDF component.
I need to send photos from the camera by chunks, so I need to put every chunk in binary format.

Any ideas to have BSON in ESP-IDF projects?

dmitrij999
Posts: 71
Joined: Sat Mar 02, 2019 8:06 pm

Re: BSON for ESP-IDF?

Postby dmitrij999 » Tue Jan 31, 2023 1:48 pm

Here is the nlohmann-json library adapted for ESP-IDF.

Just clone/download this repo to components folder of your project, if needed, put in the dependencies into your custom components, and enjoy using this lib ;)

Who is online

Users browsing this forum: No registered users and 103 guests