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

Developer

API Reference

WLAN_ICONNMGR_GETNETWORKS()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function retrieves the last scanned WLAN networks if available.
Params
pif
[in]:
Pointer to the wlan_IConnMgr object
pbScanInProgress
[out]:
Network scanning status.
aNetworks
[out]:
List of WLAN AP/Networks in device coverage
aNetworksLen
[in]:
Number of Network element buffer available in aNetworks
aNetworksLenReq
[out]:
Number of Networks available by scan.
Interface
Prototype
  •    AEEResult wlan_IConnMgr_GetNetworks(
       wlan_IConnMgr* pif,
       boolean *pbScanInProgress,
       wlan_Network *aNetworks,
       int aNetworksLen,
       int* aNetworksLenReq
       );
    
Return
  • AEE_SUCCESS : If network scan is in progress, then sets *pbScanInProgress as TRUE with no networks. If scan is complete, then returns the networks found. Error code indicating the nature of the failure otherwise.
Comments
None