How to Android BLE Passive scan?

GYUL

New member
Sep 26, 2016
2
0
0
Visit site
While scanning for advertising data with startLeScan method, this method also request to pheripheral device for scan response data. I only want to scan for advertising data. I don't want to send response request to peripheral device. and peripheral device can't change advertise mode.

According Bluetooth 4.0 Core spec, There exists passive scan mode. https://www.bluetooth.org/DocMan/handlers/DownloadDoc.ashx?doc_id=282159

And also, android has parameter that determines scan type.

And Active Scanning is android's default scan mode. http://androidxref.com/5.1.1_r6/xref/external/bluetooth/bluedroid/stack/btm/btm_ble_gap.c#327

How to use passive scan mode?

or

Possible to change or add in btm_ble_gap.c in external folder?

please help. thanks.
 

Trending Posts

Forum statistics

Threads
943,189
Messages
6,917,715
Members
3,158,869
Latest member
apkmodyo