Hello
I have an application which requires the use of both BLE and Openthread in the same time.
The BLE is meant to connect an OpenThread mesh network to a smartphone.
I am using the soft device s140_nrf52_6.1.1 with a nRF52840.
I developped my code based on the ble_thread_dyn_mtd_coap_cli example of the Nordic SDK with Keil uVision 5.
When a smartphone is connected to the network, an openthread braodcast notify the devices of a BLE connection to the network.
All devices stop advertising then. It avoid BLE polution and it is also a way to make sure only one smartphone is connected toe the network at a time.
But when advertising is stoped, and I want to read sensor data from my mesh network, it seems that all the devices do not get the read request.
We can see there is an issue with the blinking LED on the Eval Board, its frequency is affected. Like if the BLE stack was using the processor for long period and prevent the openthread stack to get the request.
What exactly happen when we do a sd_ble_gap_adv_stop ? Why would it cause such a bug ?
Thanks in advance for your help.