This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Wrong board in nRF5 SDK for Mesh v0.10.0

Hello,

I am having troubles to run the light_switch example from the nrf5_SDK_for_Mesh_v0.10.0.

I am using PCA10028 boards with nRF51822. I didn't modify anything in the SDK.

I did erase the content on the board, program the softdevice S130 v2.0.1, program the built light_switch_client_nrf51422_xxAC_s130_2.0.1_Debug example and reset the target. Here is the error I obtain on the client side:

0>, main.c, 422, ----- BLE Mesh Light Switch Client Demo -----

0>, nrf_mesh_sdk.c, 72, APP_ERROR: /home/cynthia/BLE_Mesh_Net/nrf5_SDK_for_Mesh_v0.10.0/examples/light_switch/client/src/main.c:425 code 6

What I could find is that the variable BOARD_PCA10031 is defined instead of BOARD_PCA10028. However, that variable is set correctly when using the previous version of the SDK.

Has anyone an idea how to fix this?

Thanks.

Related