wln_check_association()
This section is currently being reworked. We apologize for the inconvenience. If you need immediate assistance, please contact Tibbo Support.
|
Description: |
API procedure, informs whether your device is currently associated with an access point. |
|
Syntax: |
function wln_check_association() as pl_wln_association_states |
|
Returns: |
0- PL_WLN_NOT_ASSOCIATED. 1- PL_WLN_ASSOCIATED. |
|
See Also: |
Step-by-step Usage Instructions, Operation Details, Trying WPA |
Details
If you are running with no security or WEP security, then using this API call is the same as checking wln.associationstate. For WPA1-PSK and WPA2-PSK security modes, the mere fact that wln.associationstate returns 1- PL_WLN_ASSOCIATED does not indicate association success. This is because WPA1-PSK and WPA2-PSK additionally involve a complex exchange of "handshake" messages. Only after the handshake is completed that the association is finished and wln_check_association() will return 1- PL_WLN_ASSOCIATED.