Program to read/send SDS011 written in C

I have an intention create a C program for reading SDS011 and other UART based PM sensor using FOSS OpenIPC embedded linux distributive for IP Cameras.
Maybe, there are already some ready made FOSS program for this so no need to reinvent the wheel?

C language is important as IP Cameras have very limited resources.

The point of creating this program is that modern IP Cameras almost all have free UART port. Yet, IP cameras are widely used, have internet connection, power source. So, why not to add PM sensors to this setup?

Yet they have I2C - for video sensor connection, but it is quite tricky to get physical access.

Here it is:

PS: fun to talk to myself )))