What do I need to know to add mesh functionality into a normal BLE application ?
What do I need to know to add mesh functionality into a normal BLE application ?
This is an update for combining Mesh SDK v2.0.1 and nRF5 SDK v15
In Mesh SDK v2.0.1 it's now easier to be used concurrently with the SDKv15. There is only a few modification needed.
To add mesh into your BLE project you would need:
Include all the source file from Mesh example you want to clone.
Include all header folders from Mesh example in Project Option -> Common -> Preprocessor -> Include Directories
Include Preprocessor Definitions in mesh example ( same setting tab as above).
Add nrf_mesh_evt_handler to SOC observer list with NRF_SDH_SOC_OBSERVER for example:
void nrf_mesh_evt_handler(uint32_t sys_evt, void * p_context) {
nrf_mesh_on_sd_evt(sys_evt);
}
NRF_SDH_SOC_OBSERVER(m_nrf_mesh_observer, 0, nrf_mesh_evt_handler, NULL);
Attached here is an example combining ble_app_uart with light switch server. To test this you would need:
ble_app_uart_mesh_SDK2_0_1.zip
Hi,
Have you already fixed the "Permanent storage of provisioning and configuration is not stored on flash" issue?
Hi,
Have you already fixed the "Permanent storage of provisioning and configuration is not stored on flash" issue?