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 ?
A quick update, we found that even with the example provided above, mesh only worked for a few dozens of second. After that timeslot is not given to mesh from softdevice. It's regardless it's advertising or scanning. This is resulted in "device is busy" as some of you already observed. We are investigating it.
Hi all,
Thanks to Rick who helped me on this. My example was missing the nrf_mesh_on_sd_evt() handle, the following code should be added to main.c. Tested and the scanner also works:
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);
We will update the example to MeshSDK v1.0
Hi Hung Bui
Thanks for the update I have been working with the nRF52840 chip and this was the piece we needed to move forward.
Also I have added the Long range PHY for mesh into my project and so far so good with the testing.
Hi, I have a setup with 6 BMD-301 dev boards using this project (I am using the first project you posted) and I am finding a couple issues that are holding us up.
In the mesh sdk, I am getting a MESH ASSERT from the advertiser.c file from the "setup_next_timeout" on line 127. I did not ever see this when I was using just the mesh sdk. Do you know what might be causing this?
Secondly, when I am publishing 2 sets of "unreliable" messages (3 repititions each) within 1 second, I get NRF_ERROR_NO_MEM. I assume that the buffer is full, but I cannot verify. Do you know how the buffers for the mesh are defined, or how to make them bigger?
Before I found this project that you posted, I had tried several times to make it myself (and failed). I really appreciate your work on this.
hi, i am trying to add mesh_sdk v1.0.1 to nrf5 sdk v14.2.0 ble_uart_examlple,
i have done all the steps which is mentioned here.
but i am not able understancd Concurrent SoftDevice and mesh activity
part wehewe it syas that keep connection interval and adv interval as large as posible. and also reduce the mesh activity.
i have also refred the hung bui's Light switch server + ble app proximity. but i am getting provisioning done.
i have atteched my project folder.
please help me out
but even after that i am not getting provision in light switch server.ble_app_uart_mesh.rar