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

Developer

API Reference

WLAN_ICONNMGR_CONNECT()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function initiates a connection request to the given WLAN network.
Params
pif
[in]:
Pointer to the wlan_IConnMgr object
nw
[in]:
Network to which connection need to establish
scan
[in]:
Scan type to use for connection
enc
[in]:
Encryption type to use for connection
auth
[in]:
Authentication information to use for connection
Interface
Prototype
  •    AEEResult wlan_IConnMgr_Connect(
       wlan_IConnMgr* pif,
       wlan_Network *nw
       wlan_ScanType scan,
       wlan_EncryptionType enc,
       wlan_AuthInfo auth);
    
Return
  • AEE_SUCCESS : Initate the WLAN scan successfully. Error code indicating the nature of the failure otherwise.
Comments
Following Authentication/Encryption types are not supported wlan_AUTH_ENCRYPT_8021X_TLS_RADIUS wlan_AUTH_ENCRYPT_8021X_TLS_RADIUS_WKEY wlan_AUTH_ENCRYPT_8021X_MD5_RADIUS wlan_AUTH_ENCRYPT_PAP wlan_AUTH_ENCRYPT_CHAP wlan_AUTH_ENCRYPT_MsCHAPv2 wlan_AUTH_ENCRYPT_PEAP wlan_AUTH_ENCRYPT_TTLS