- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use below API to scan forever:
wiced_bt_ble_observe(WICED_TRUE, 0, my_scan_results_cb);
In normal case, the buffer usage is:
07:12:30.059568 --- Bluetooth(Pool type: A-App, I-Internal) Buffer summary ---␍␍␊
07:12:30.001032 Pool(size,type) Available In-use Total Max-used␍␍␊
07:12:30.008032 --------------------------------------------------------␍␍␊
07:12:30.014032 00( 64, A): 16, 0, 16, 5␍␍␊
07:12:30.020032 01( 360, A): 16, 0, 16, 3␍␍␊
07:12:30.027032 02( 360, A): 6, 0, 6, 0␍␍␊
However, sometimes the scan stop working.
The buffer usage becomes:
07:15:31.027000 --- Bluetooth(Pool type: A-App, I-Internal) Buffer summary ---␍␍␊
07:15:31.034000 Pool(size,type) Available In-use Total Max-used␍␍␊
07:15:31.041000 --------------------------------------------------------␍␍␊
07:15:31.047000 00( 64, A): 16, 0, 16, 5␍␍␊
07:15:31.054000 01( 360, A): 16, 0, 16, 3␍␍␊
07:15:31.058000 02( 360, A): 6, 0, 6, 1␍
Every time the Max-used count for large buffer becomes 1, the scan stop working.
It does not report any error but just silently get no scan result.
Note, I had reported this before but don't any fix.
Just check the status in sdk-5.1, it still has such issue.
dhak
- Labels:
-
Wifi+Bluetooth