Tool/software: Code Composer Studio
Hi,
We are using the CC2564 for standard and low energy bluetooth.
When using it for Low Energy we need to do the following:
1. Start a scan
2. Receive some results
3. After 10 sec stop / cancel the scan
4. Wait 10 sec then repeat step 1
We have some basic code working using:
GAP_LE_Perform_Scan(BluetoothStackID, stPassive, 1000, 2000, latPublic, fpNoFilter, FALSE, GAP_LE_Event_Callback, 0);
and
GAP_LE_Cancel_Scan(BluetoothStackID);
It works, but, after some time (maybe 1 - 3 min) we start getting HCI driver errors (-14) returned from stop scan and start scan and it never recovers.
We haven't found a correct scanning example for CC2564, can you provide one?
Thank you