cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Combo

Anonymous
Not applicable

Hi,

We are using BCM9WCDPLUS114 board and test.bt_smartbridge_console app

Is there any ways to retrieve the rssi value to see how close we are to the peripheral devices?

Thanks~

Ken

1 Solution
Anonymous
Not applicable

Hi Ken,

Yes. Take a look at the signal_strength field of the wiced_bt_smart_scan_result_t structure.

It can be retrieved via the scan/advertising callback when scan is in progress or using wiced_bt_smartbridge_get_scan_result_list() function when scan is completed.

On a side note, an issue was reported on WICED-SDK-2.4.0 that duplicated advertisements weren't passed to the scan callback even though the filter is disabled. This has been resolved in WICED-SDK-2.4.1.

Aji

View solution in original post

4 Replies
Anonymous
Not applicable

Hi Ken,

Yes. Take a look at the signal_strength field of the wiced_bt_smart_scan_result_t structure.

It can be retrieved via the scan/advertising callback when scan is in progress or using wiced_bt_smartbridge_get_scan_result_list() function when scan is completed.

On a side note, an issue was reported on WICED-SDK-2.4.0 that duplicated advertisements weren't passed to the scan callback even though the filter is disabled. This has been resolved in WICED-SDK-2.4.1.

Aji

View solution in original post

Anonymous
Not applicable

Hi Aji,

Thank you. Another question is how to retrieve rssi value of connected peripheral device?

Device may move and the rssi value should be different from the one in scan result list

I try to issue HCI_Read_RSSI command via bt_bus_transmit() API call, it's ok

But I can not get HCI_Read_RSSI event by bt_bus_receive().

Ken

0 Likes
Anonymous
Not applicable

Hi Ken,

SmartBridge currently doesn't support retrieving RSSI value of connected device yet.

Sending/receiving raw HCI command/event by calling bt_bus_transmit()/receive() directly may interfere with the stack and lead to unpredictable behaviour as the nature of the HCI UART is asynchronous and the transport thread waits indefinitely on bt_bus_receive().

Aji

0 Likes
Anonymous
Not applicable

Hi Aji,

Got it. Thanks for your clarification

Ken

0 Likes