This example demonstrates how nRF5 SDK for Mesh and nRF5 SDK examples can be used together at the same time. It is built around two examples and has two parts:
SLEEP
, DISCONNECT
and WHITELIST_OFF
are ignored. This makes the board buttons only control the mesh part of the application.As the result of running this example, you'll be able to use the mesh network in which this example can replace the light switch client example.
Before you start testing this coexistence example, see the following pages:
You can find the source code of the SDK UART coexistence example in the following nRF5 SDK for Mesh folder: <InstallFolder>/examples/sdk_coexist/ble_app_uart_coexist
The source code of the light switch client example is located at the following path: <InstallFolder>/examples/light_switch/client
ble_app_uart_coexist
folder into the examples/ble_peripheral
folder at your nRF5 SDK installation path.ble_app_uart_coexist/pca10040/s132/ses/ble_app_uart_pca10040_s132.emProject
.MESH_ROOT=<path to your mesh installation>
.examples/ble_peripheral/ble_app_uart_coexist/pca10040/s132/ses/Output/Release/Exe/ble_app_uart_pca10040_s132.hex
.You can now run the two coexisting examples in parallel or in sequence: