Hello All,
We are using the 1.4.0 BLE Software Stack (Observer + Peripheral) in a CC2540 chip.
Observing (Passive scanning) is enabled via the following API Call:
GAPObserverRole_StartDiscovery( DEVDISC_MODE_ALL, FALSE, FALSE);
When we receive the GAP_DEVICE_INFO_EVENT event, we use the HAL Libraries to send the contained data (pEvent->deviceInfo) via UART. To continue the scanning process, when we get the GAP_DEVICE_DISCOVERY_EVENT event, we re-enable passive scanning via the previous StartDiscovery() API Call.
We have run into the issue where the device becomes unresponsive in terms of wireless activities after a period of repeated passive scanning and the transmitting data over UART. The unresponsiveness is characterized as failure to capture any advertisements during the passive scanning and the advertisement stops as well, the core is still active where you can send and receive data via UART. Any ideas?
Furthermore, we disabled transmitting data transfer via when we get GAP_DEVICE_INFO_EVENT event, but we also ran into the unresponsiveness issue if there was an incoming data via UART during the scanning period. If we do not send or receive data over UART, the "Crash" does not occur.
Looking forward to feedback and comments! Let me know if you need any more data?
K.
