I'm trying to set up a ble mesh with 3 servers and 1 client on an nrf52 PCA10040 dev kit. Upon debugging, I'm getting an error that says: '64, APP_ERROR: C:\Users\sesa463145\Desktop\BLE\nrf5_SDK_for_Mesh_v0.9.2-Alpha\examples\light_control\client\src\main.c:301 code 15 code 15'
Also the button commands are not getting published on the servers. What should I do to rectify this issue?
In nrf5_SDK_for_Mesh_v0.9.2-Alpha\examples\light_control\client\src\main.c:301, there is a call to dsm_devkey_add(). Error code 15 corresponds to NRF_ERROR_FORBIDDEN, which according to the API documentation means "The given device key has already been added before". Are you trying to provision an allready provisioned device?
Thank you for the prompt response. I had erased the previous build and reset the boards before trying to provision it again since the error shows up invariably on every attempt made. Also I'd like to know if it is mandatory for there to be 3 servers and one client or is it possible to provision with just 2 servers/1 server and a client for the same example?
I also get this error while building:
It also generates this while trying to debug: 'app_ram_base should be adjusted to 0x200019C0'.
when button entry is tried, it says "not in RUNNING state"
You can change the server/client count using the defined SERVER_COUNT and CLIENT_COUNT in main.c of the light_control_client. The debug message about app_ram_base is only informal. You can change the start address of the app RAM by changing the setting "Section Placement Macros" in SES. What error do you get when compiling "serial_bearer.c"?