1.1.6 Client - Association APIs

This interface provides information about the current association with a peer device. A peer is either an AP when in Station mode or connected stations when in Soft-AP mode.

WDRV_WINC_AssocPeerAddressGet can be called to find the MAC address of the peer in an association. It is possible that the driver does not know the current address at the precise time the function is called, in which case it will return WDRV_WINC_STATUS_RETRY_REQUEST to advise the application to try again.

The function WDRV_WINC_AssocRSSIGet can be called to request the RSSI information about the link with the associated peer device. If no callback is provided the function will return the last known RSSI value for the connection, if available. If a callback is provided a request for an up to date RSSI reading will be made to the WINCS02 device and that will be returned via the callback.