Hi guys,
Is it possible to import and read the external JSON file in the BLE Mesh SDK? If it is, can I use the regular method for that in C or there are some other rules?
Best regards,
Adnan.
Hi guys,
Is it possible to import and read the external JSON file in the BLE Mesh SDK? If it is, can I use the regular method for that in C or there are some other rules?
Best regards,
Adnan.
Hello Adnan,
Due to Christmas holidays our technical support team is lower staffed, and the response time will be longer. Also, most of our R&D our out of office until January 4th. We apologize for any inconvenience this may cause.
Our mesh experts are currently out of office. Have you looked at our Mesh documentation? E.g. Using serial interface for provisioning and configuration. Can you elaborate on what you are trying to achieve?
Thank you.
Kind regards,
Øyvind
Hi Øyvind,
I want to parse the JSON file and read the data from it and use it in my code. That is all that I want to achieve, something like this: https://progur.com/2018/12/how-to-parse-json-in-c.html.
For example, I have already created an JSON file with some information ("functionName": "f_temp"). And I want for example in my code to write the instruction:
if ("functionName" == f_temp){
//call function to measure the temperature
}
I hope that now I elaborated in more depth.
Thanks in advance and I am looking forward to hearing your answer as soon as possible.
Best regards,
Adnan.
Hi Øyvind,
I want to parse the JSON file and read the data from it and use it in my code. That is all that I want to achieve, something like this: https://progur.com/2018/12/how-to-parse-json-in-c.html.
For example, I have already created an JSON file with some information ("functionName": "f_temp"). And I want for example in my code to write the instruction:
if ("functionName" == f_temp){
//call function to measure the temperature
}
I hope that now I elaborated in more depth.
Thanks in advance and I am looking forward to hearing your answer as soon as possible.
Best regards,
Adnan.
Hi Adnan,
We do not have any library in SDK to read .json files it that manner. You can try to implement based on the link you provided, using stdio.h.
As you have asked the same question several times, I suggest looking at the answers that have been provided.
Kind regards,
Øyvind