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

BLE + ESB concurrent issue with no active BLE connection

Hi,

I'm currently working on achieving BLE NUS + ESB UART concurrent implementation via timeslot API, by referring to the example here. I have ported it to utilize SDK15's ESB library, as well as the s140 SoftDevice via SES running on two nRF52840 devices. The settings in esb_timeslot.c/h are untouched.

I am now running into an issue where the ESB does not reliably work, e.g data is not received when sent or only received after 5 seconds delay. This only happens if there is no active BLE connection between the two devices. However, if the two devices are connected via BLE, there are no issues at all with with sending or receiving of data via ESB, everything runs perfect.

BLE connection between the two devices is prevented by disabling advertisement on the peripheral device.

Any insights as to where I went wrong is appreciated. I am suspecting that the timeslots between the two devices are not in sync, and have no clue on how to address this issue. Thanks.

Related