I am trying add the JSON library to light switch exemple (SDK Mesh).
First all I created a lib folder in the main folder of SDK (nrf5_SDK_for_Mesh_v1.0.0_src). Inside this folder I put the library folder
In the SEGGER:
Project >> Edit Option..
In the superior left side, there is a list box: I changed it to Common.
In the submenu "Preprocessor", in the "User Include Directories" I defined the includes dir.
I Added the code to create an object JSON:
json_t *tmp;
tmp = json_object();
When I build the soluction the IDE show me the folloew error mesage:
I already some soluctions shared in this page, but I still have the problem
https://devzone.nordicsemi.com/f/nordic-q-a/21850/how-do-you-add-a-new-file-to-segger
Can anyone help me? I did the same using Keil in the SDK13 (ble_peripheral and ble_central) to send JSON msg between a central and peripheral device, and it works!