SDK-3.7.0: Set scan_mode = BTM_BLE_SCAN_MODE_PASSIVE has no effect

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

Hi,

To test BTM_BLE_SCAN_MODE_PASSIVE and BTM_BLE_SCAN_MODE_ACTIVE:

I set

.scan_mode = BTM_BLE_SCAN_MODE_PASSIVE;

I expect .scan_mode = BTM_BLE_SCAN_MODE_PASSIVE should not receive BTM_BLE_EVT_SCAN_RSP data.

But still receive data with BTM_BLE_EVT_SCAN_RSP (p_scan_result->ble_evt_type == BTM_BLE_EVT_SCAN_RSP).

Note, I remember it was working in SDK-3.5.x.

kausik

SDK-3.7.0-7 is not yet release, so I cannot test it. Maybe your team should test this issue.

[The test_active_passive_switch() call implement is wrong in my previous post, so I just remove it and re-post.]

0 Likes
36 Replies