I need to use cJSON to parse the uart data. I found the file in SDK15.3 but how can I use the related function?
I need to use cJSON to parse the uart data. I found the file in SDK15.3 but how can I use the related function?
Hi,
just add sources and headers to your project and call functions as usual... you also need to add mem_manager library from SDK. cJSON has a good README with detailed instructions how to use this library.
Now, I am using cJSON_malloc, cJSON_free (equivalent to the C standard function malloc, free) to manage the space size.
Now, I am using cJSON_malloc, cJSON_free (equivalent to the C standard function malloc, free) to manage the space size.