How to get rssi value from P2P interface

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

cross mob
MiSa_2357281
Level 3
Level 3
Distributor - Macnica (Japan)
5 replies posted 250 sign-ins First solution authored

Hello

Please advice about how to get rssi value from P2P interface at WICIED device.

I'm checking the Wi-Fi Direct function on WICED device.  And I need to get the RSSI value. 

So ,I think that it use "wwd_wifi_get_rssi" API, However ,it only get the rssi of sta I/F, NOT P2P I/F.

How can I get rssi value from  P2P I/F?

Thanks,

Minoru Sasaki

0 Likes
1 Solution

Hello,

Apologies for the delay in response.

The fix looks correct.

View solution in original post

2 Replies
lock attach
Attachments are accessible only for community members.
MiSa_2357281
Level 3
Level 3
Distributor - Macnica (Japan)
5 replies posted 250 sign-ins First solution authored

Hello

I checked the wwd_wifi_get_rssi() WICED SDK API.

In this function, there is seting to "WWD_STA_INTERFACE"  in this function.

I think that it can get rssi data from each interface by changing this setting.

I have a patch that it created an API that has been extended to specify the interface.

New API is wwd_result_t wwd_wifi_get_rssi_if( int32_t* rssi,wwd_interface_t interface ).

It seems to get the rssi from p2p interface, when it set the WWD P2P INTERFACE to interface arg.

Is this fix correct?

Thanks,,

Minoru Sasaki

0 Likes

Hello,

Apologies for the delay in response.

The fix looks correct.