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.
Hi,
I have already used the cJSON library, but now there is a problem. When the data length is too long, the parsing fails. (The data format is normal.) I suspect that the heap size is not enough. Can you tell me how to use the mem_manager library to manage the space size, and Meaning of the parameter?
Hi,
I have already used the cJSON library, but now there is a problem. When the data length is too long, the parsing fails. (The data format is normal.) I suspect that the heap size is not enough. Can you tell me how to use the mem_manager library to manage the space size, and Meaning of the parameter?