Hi
do some testings with the BLE Parser example but have problem.
With scan2 allowduplicates=True or False, i got only one "detection" of an iBKS USB Beacon, if restart Scan it detects again.
If i try with app BLE Scanner, no problem
Log from BLE Parser test:
startScan() - queue=0
startScan() - adding client=5
btif_gattc_scan
btgattc_handle_event: Event 1002
Opening the database
0 CastNetworkInfo instances loaded, 0 CastDeviceInfo instances loaded, 0 paired guest mode devices loaded.
handleSandman: canDream=false, mWakefulness=Awake
BLE HCI(id=62) event = 0x02)
btu_ble_process_adv_pkt
BLE HCI(id=62) event = 0x02)
btu_ble_process_adv_pkt
BTM_InqDbRead: bd addr [e78184197a67]
btif_gattc_upstreams_evt: Event 4096
btif_gattc_add_remote_bdaddr device added idx=0
btif_gattc_update_properties BLE device name=iBKS USB len=8 dev_type=2
btif_config_save_file(L188): in file name:/data/misc/bluedroid/bt_config.new
HAL bt_hal_cbacks->remote_device_properties_cb
device name = iBKS USB
GC_EXPLICIT freed 1365K, 28% free 18715K/25868K, paused 3ms+8ms, total 118ms
SMCSAMSHelper.addSTPEvent: cost 0 ms end.
SMCSAMSHelper.smartTrimAddProcessRelation: cost 0 ms end.
Remote Device name is: iBKS USB
setAlias mAlias = iBKS USB
Remote class is:7936
HAL bt_gatt_callbacks->client->scan_result_cb
onScanResult() - address=E7:81:84:19:7A:67, rssi=-86
onScanResult() - Device=E7:81:84:19:7A:67 RSSI=-86
btif_config_save_file(L188): in file name:/data/misc/bluedroid/bt_config.new
handleMessage: E msg.what=131143
processMsg: ConnectedState
processMsg: L2ConnectedState
com.android.vending query other app provider, pkg:com.google.android.gsf uid:10010, send to pg
startScan: pid=2054, uid=10010, name=com.google.android.gms
wlan0: CTRL-EVENT-SCAN-STARTED
wifi_send_command enter;cmd:IFNAME=wlan0 SCAN TYPE=ONLY;reply:OK
NKSPEED=12
NOISE=9999
FREQUENCY=2437;reply_len:3;
handleMessage: X
wifi_wait_on_socket enter;buf:IFNAME=wlan0 <3>CTRL-EVENT-SCAN-STARTED 2 state=9 BSSID=10:7b:44:ad:75:a0 SSID=Humpen;nread:40;
Too many Flogger logs received before configuration. Dropping old logs.
btif_config_save_file(L188): in file name:/data/misc/bluedroid/bt_config.new
WifiGuestModeDeviceScanner enabled.
/Johan F
do some testings with the BLE Parser example but have problem.
With scan2 allowduplicates=True or False, i got only one "detection" of an iBKS USB Beacon, if restart Scan it detects again.
If i try with app BLE Scanner, no problem
Log from BLE Parser test:
startScan() - queue=0
startScan() - adding client=5
btif_gattc_scan
btgattc_handle_event: Event 1002
Opening the database
0 CastNetworkInfo instances loaded, 0 CastDeviceInfo instances loaded, 0 paired guest mode devices loaded.
handleSandman: canDream=false, mWakefulness=Awake
BLE HCI(id=62) event = 0x02)
btu_ble_process_adv_pkt
BLE HCI(id=62) event = 0x02)
btu_ble_process_adv_pkt
BTM_InqDbRead: bd addr [e78184197a67]
btif_gattc_upstreams_evt: Event 4096
btif_gattc_add_remote_bdaddr device added idx=0
btif_gattc_update_properties BLE device name=iBKS USB len=8 dev_type=2
btif_config_save_file(L188): in file name:/data/misc/bluedroid/bt_config.new
HAL bt_hal_cbacks->remote_device_properties_cb
device name = iBKS USB
GC_EXPLICIT freed 1365K, 28% free 18715K/25868K, paused 3ms+8ms, total 118ms
SMCSAMSHelper.addSTPEvent: cost 0 ms end.
SMCSAMSHelper.smartTrimAddProcessRelation: cost 0 ms end.
Remote Device name is: iBKS USB
setAlias mAlias = iBKS USB
Remote class is:7936
HAL bt_gatt_callbacks->client->scan_result_cb
onScanResult() - address=E7:81:84:19:7A:67, rssi=-86
onScanResult() - Device=E7:81:84:19:7A:67 RSSI=-86
btif_config_save_file(L188): in file name:/data/misc/bluedroid/bt_config.new
handleMessage: E msg.what=131143
processMsg: ConnectedState
processMsg: L2ConnectedState
com.android.vending query other app provider, pkg:com.google.android.gsf uid:10010, send to pg
startScan: pid=2054, uid=10010, name=com.google.android.gms
wlan0: CTRL-EVENT-SCAN-STARTED
wifi_send_command enter;cmd:IFNAME=wlan0 SCAN TYPE=ONLY;reply:OK
NKSPEED=12
NOISE=9999
FREQUENCY=2437;reply_len:3;
handleMessage: X
wifi_wait_on_socket enter;buf:IFNAME=wlan0 <3>CTRL-EVENT-SCAN-STARTED 2 state=9 BSSID=10:7b:44:ad:75:a0 SSID=Humpen;nread:40;
Too many Flogger logs received before configuration. Dropping old logs.
btif_config_save_file(L188): in file name:/data/misc/bluedroid/bt_config.new
WifiGuestModeDeviceScanner enabled.
/Johan F