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

Developer

API Reference

IPHONECTL_REFRESHAVAILABLENETWORKS()

Brew Release
Brew MP 1.0.2
See Also
AEET_EVENT_PH_AVIALBLE_NETWORKS, ITELEPHONE_GetPhoneInfo()
Description
Perform a scan for available networks.
Params
pme
[in]:
interface pointer
pcb
[]:
[in|out] : a AEECallback data type to asynchronously inform the status
pnStatus
[out]:
output the status of scan operation. 0 indicates scan is successfully complete. Otherwise an error of AEEError.h or AEET_ERR_* error code.
Interface
  • IPHONECTL
Prototype
  •    int IPHONECTL_RefreshAvailableNetworks(IPhoneCtl *pme,  AEECallback *pcb, int *pnStatus)
    
Return
  • SUCCESS : request accepted. EUNSUPPORTED : device does not support this functionality AEET_ERR_OP_NOT_ALLOWED : Current device operation mode does not allow this operation.
Side Effect
  • None
Comments
When asynchronous operation is complete successfully (*pnStatus == 0) the member AEETPhInfo::available_networks represents the new list.