Page 1 of 1

BSON for ESP-IDF?

Posted: Tue Jan 31, 2023 12:16 pm
by dmitrij999
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?

Re: BSON for ESP-IDF?

Posted: Tue Jan 31, 2023 1:48 pm
by dmitrij999
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 ;)