cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Bluetooth

New Contributor II

Hello All!

       I have a question about bt scan( or inquiry),I need to scan for BT beacon continuously and get its rssi information to obtain its roughly location.Is there someAPIS to make it works as expected or change   API's arguments to get the same affect?

thanks!

0 Likes
Reply
1 Solution
Moderator
Moderator

Hi luluz_3563711​,

As per the spec, certain range is specified for the inquiry scan or page scan interval. In WICED, we choose default values for both (please check wiced_bt_cfg.c).

Once you start inquiry scan or page scan, your device will continue to be in that mode unless you stop the scanning in your code. So you can get the RSSI values from the adv packets.

View solution in original post

3 Replies
Moderator
Moderator

Hi luluz_3563711​,

As per the spec, certain range is specified for the inquiry scan or page scan interval. In WICED, we choose default values for both (please check wiced_bt_cfg.c).

Once you start inquiry scan or page scan, your device will continue to be in that mode unless you stop the scanning in your code. So you can get the RSSI values from the adv packets.

View solution in original post

New Contributor II

How about the same beacon information response repeatedly at the same scan duration?At present ,bt sees hasn't duplicate_filter_enable like ble.I  just try to  recall inquiry function make it realized roughly;

THANKS!

0 Likes
Reply
Moderator
Moderator

You are right. The duplicate_filter_enable functionality is there for BLE, not for BT. You will have to do it application specific.