API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

WLAN_ICONNMGR_GETCONNECTSTATUS()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function provides WLAN connection status and if there is any failure then failure reason. It also provides presently connected WLAN network information.
Params
pif
[in]:
Pointer to the wlan_IConnMgr object
pStatus
[out]:
Provides WLAN Connection status
pReason
[out]:
Connection failure reason, if there is any.
nwInfoAvail
[out]:
TRUE, if network information available, else FALSE
pNw
[out]:
Currently active (connecting/disconnecting/connected) network information.
Interface
Prototype
  •    AEEResult wlan_IConnMgr_GetConnectStatus(
       wlan_IConnMgr* pif,
       wlan_ConnStatus *pStatus, 
       wlan_ConnFailReason *pReason,
       boolean *nwInfoAvail,
       wlan_Network *pNw
       );
    
Return
  • AEE_SUCCESS : Successfully get the required information. Error code indicating the nature of the failure otherwise.
Comments
While connection establishment is in progress, pNw will have requested WLAN network information.