sdk-6.1: Setting scan_mode=BTM_BLE_SCAN_MODE_PASSIVE does not work

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,

Test with sdk-6.1:

Using wiced_bt_ble_observe() API always get scan response even with

setting scan_mode =BTM_BLE_SCAN_MODE_PASSIVE in ble_scan_cfg.

It was working in sdk-6.0.1. So this is a regression in sdk-6.1.

ps. I remember I had reported such issue a long time ago and it's fixed.

    No idea why this happen again in sdk-6.1.

0 Likes
14 Replies
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

mady

I cannot test sdk-6.1 for SDK-5.1: ble scan stop working if large bufer max-used count becomes 1

Because I cannot use it anyway due to this bug.

0 Likes
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

axel.lin_1746341 wrote:

Hi,

Test with sdk-6.1:

Using wiced_bt_ble_observe() API always get scan response even with

setting scan_mode =BTM_BLE_SCAN_MODE_PASSIVE in ble_scan_cfg.

It was working in sdk-6.0.1. So this is a regression in sdk-6.1.

ps. I remember I had reported such issue a long time ago and it's fixed.

    No idea why this happen again in sdk-6.1.

Hi madyjactbtta

Can you let me know if this will be fixed in next release?

It would be even better if you can post the fix on the forum so I can help testing it before release.

Here is a reference for the problem in sdk-3.7.0.

https://community.cypress.com/thread/7788?start=0&tstart=0

It was fixed by above thread but the issue comes back in sdk-6.1.

axel.lin_1746341 wrote:

axel.lin_1746341 wrote:

Hi,

Test with sdk-6.1:

Using wiced_bt_ble_observe() API always get scan response even with

setting scan_mode =BTM_BLE_SCAN_MODE_PASSIVE in ble_scan_cfg.

It was working in sdk-6.0.1. So this is a regression in sdk-6.1.

ps. I remember I had reported such issue a long time ago and it's fixed.

    No idea why this happen again in sdk-6.1.

Hi mady jact btta

Can you let me know if this will be fixed in next release?

It would be even better if you can post the fix on the forum so I can help testing it before release.

Here is a reference for the problem in sdk-3.7.0.

https://community.cypress.com/thread/7788?start=0&tstart=0

It was fixed by above thread but the issue comes back in sdk-6.1.

mifo

I have no idea why no response about the reported regression issue.

In this case, I can only *guess* it will be fix in next release.

However, I don't know if it will be fixed or not. I even don't known if your developer notice it or not.

To improve your sdk, I believe your developer should provide fix for reporter to verify before release.

0 Likes

Will sdk-6.2 fix this regression?

mifomadyjact

0 Likes
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

yssu

You might want to check this issue. As I said, it was working in older sdk.

0 Likes

yssu

I don't get any feedback regarding this regression report.

Cypress seems promote users to move to latest sdk.

But if the regressions in latest sdk does not get fix, it just force people to stick on certain working old sdk version.

0 Likes

yssu

Now I confirm the same issue on sdk-6.2.

Not able to disable getting scan response by setting scan_mode=BTM_BLE_SCAN_MODE_PASSIVE in ble_scan_cfg.

0 Likes
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

Hello,

Can someone from cypress confirm if this issue will be fixed in next release or not?

I reported this *regression* several months ago.

However, the 6.2 release does not fix the issue and I don't get any further feedback.

It's so frustration to use the latest sdk if you don't fix regression report.

mifo

0 Likes

Adding a few members of the Applications team: grsr riya rroy zhez zhxh yans kavs shjl

0 Likes

mifo wrote:

Adding a few members of the Applications team: grsr riya rroy zhez zhxh yans kavs shjl

Any update?

0 Likes

mifo wrote:

Adding a few members of the Applications team: grsr riya rroy zhez zhxh yans kavs shjl

Anyone can confirm this regression?

Using wiced_bt_ble_observe() not able to set passive scan.

(It was working before sdk-6.1, I guess some fixes was lost while upgrade Bluetooth host BTEWICED stack running on combo chips in sdk-6.1)

0 Likes

mifo wrote:

Adding a few members of the Applications team: grsr riya rroy zhez zhxh yans kavs shjl

sigh, no response from cypress?

This regression report is 100% reproducable by just calling wiced_bt_ble_observe(), will upcoming release fix it?

0 Likes
brha_3994521
Level 3
Level 3
First like received First like given

Did you guys get any resolution to these issues.  I am also trying to use the wiced_bt_ble_observe() and https client and getting the same errors.  If I run the code independently they both work fine.  Please see my thread Are the http_client and BT_Stack not compatible?  where I uploaded my code samples.

Is there an alternative to using observe?  I simply want to detect what BLE beacons are close to my device every 3 seconds or so.  Or is their a solution with adjusting threads and resources to overcome these errors.  My application does nothing but look for beacons and then post a message stating their existence.

0 Likes

brad_3994521 wrote:

Did you guys get any resolution to these issues.

No.

0 Likes