Syntax
typedef struct {
  VM_WLAN_RESULT result;
  VM_WLAN_CAUSE cause;
  VMUINT8 bssid[VM_WLAN_MAC_ADDRESS_LENGTH];
  VMUINT8 ssid[VM_WLAN_SSID_MAX_LENGTH];
  VMUINT16 ssid_length;
  VMBYTE init_by_socket;
  VMUINT32 channel_number;
  VMUINT32 profile_id;
  VMUINT32 authorize_type;
  VMUINT32 eap_peap_authorize_type;
  VMUINT32 eap_ttls_authorize_type;
  VM_WLAN_CONNECTION_TYPE connection_type;
  VMUINT16 encry_mode;
  VMUINT8 passphrase[VM_WLAN_PASSPHRASE_MAX_LENGTH];
  VMUINT8 passphrase_length;
  VMBYTE need_login;
  VMBYTE cancel_by_disconnect;
  VMINT rssi;
} vm_wlan_connect_result_t;
ContentsIndex
PreviousUpNext
vm_wlan_connect_result_t
Syntax
typedef struct {
  VM_WLAN_RESULT result;
  VM_WLAN_CAUSE cause;
  VMUINT8 bssid[VM_WLAN_MAC_ADDRESS_LENGTH];
  VMUINT8 ssid[VM_WLAN_SSID_MAX_LENGTH];
  VMUINT16 ssid_length;
  VMBYTE init_by_socket;
  VMUINT32 channel_number;
  VMUINT32 profile_id;
  VMUINT32 authorize_type;
  VMUINT32 eap_peap_authorize_type;
  VMUINT32 eap_ttls_authorize_type;
  VM_WLAN_CONNECTION_TYPE connection_type;
  VMUINT16 encry_mode;
  VMUINT8 passphrase[VM_WLAN_PASSPHRASE_MAX_LENGTH];
  VMUINT8 passphrase_length;
  VMBYTE need_login;
  VMBYTE cancel_by_disconnect;
  VMINT rssi;
} vm_wlan_connect_result_t;
Description

This struct is designed for WLAN SRV to send the connection result to APP.

File

vmwlan.h

Members
Members 
Description 
VM_WLAN_RESULT result; 
SUCCESS: connected; FAILED: connection failed; ABORTED: preemptied by a new connection request; TERMINATED: terminated by a new disconnect request; STATE_ERROR: cannot perform connection request. 
VM_WLAN_CAUSE cause; 
Error cause. Used only when the result is FAILED. 
VMUINT8 bssid[VM_WLAN_MAC_ADDRESS_LENGTH]; 
MAC address. 
VMUINT8 ssid[VM_WLAN_SSID_MAX_LENGTH]; 
SSID. 
VMUINT16 ssid_length; 
SSID length. 
VMBYTE init_by_socket; 
Connection activated by socket flag. 
VMUINT32 channel_number; 
Channel info from chip. 
VMUINT32 profile_id; 
Connected profile ID. 
VMUINT32 authorize_type; 
Authorization type. 
VMUINT32 eap_peap_authorize_type; 
EAP PEAP authentication type. 
VMUINT32 eap_ttls_authorize_type; 
EAP TTLS authentication type. 
VM_WLAN_CONNECTION_TYPE connection_type; 
Connection type. 
VMUINT16 encry_mode; 
Encryption mode. The default is WPS. the encry_mode is not parsed in M2. 
VMUINT8 passphrase[VM_WLAN_PASSPHRASE_MAX_LENGTH]; 
Pass phrase. 
VMUINT8 passphrase_length; 
Length of the pass phrase. 
VMBYTE need_login; 
Need login. 
VMBYTE cancel_by_disconnect; 
Cancelled due to disconnection. 
VMINT rssi; 
RSSI. 
Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.