Last update: May 2018
Command ID | Function Name | Description |
---|---|---|
0001h | Scan() | Scans wireless LAN and get the list of available SSIDs. |
0002h | Connect(ssid, networkKey) | Connects to wireless LAN AP as STA. |
0E401h | Connect8021X(ssid) | Connection in EAP mode. |
0003h | Establish(ssid, networkKey, encMode) | Establishes wireless LAN as AP. |
0005h | StartWPS(ssid, wpsMode, pin) | Starts WPS for STA and connect to wireless LAN AP. |
0007h | Disconnect() | Terminates the application and disconnect wireless LAN. |
* "0004h:WiFiDirect(wpsMode, pin)" and "0006h:StartWPSAP(wpsMode, pin)" are unavailable in the FlashAir.
A Host requests to scan connectable wireless LAN. The connectable SSID list (SSID List) is available from the Response Data Register Port as a result of the command process.
0001h
None
The SSID List is available from the Response Data of the Command Response Data (See 2.2.2.3 iSDIO Command Response Data in [iSDIO]). The format of the SSID List is defined in 3.6.2 Wireless LAN SSID List.
A Host requests to connect the specified AP in the wireless LAN as the STA. The command process is finished when the Card has connected the AP successfully.
0002h
Name | Type | Size | Description |
---|---|---|---|
ssid | ASCII character | Variable length | The SSID of the AP to be connected. This value is not terminated by a null character. |
networkKey | ASCII character | Variable length | The ‘networkKey’ is the network key of the corresponding SSID. This value is not terminated by a null character. Note that this value is able to be omitted ("Length of Argument" is set to "00 00 00 00h") if encryption is not used for the WLAN connection. |
None.
Connect in EAP mode. In PEAP mode, specify ID and password, and CertificateFile specifies Argument length = 0, no value. In TLS mode, set the file path of the client certificate to CertificateFile.
0E401h
Name | Type | Size | Description |
---|---|---|---|
ssid | ASCII character | Variable length | The SSID of the AP to be connected. This value is not terminated by a null character. |
Type | integer | 1 byte |
Specify the connection type.
|
ID | ASCII character | Variable length | Set the user ID as 1 to 32 characters. |
password | ASCII character | Variable length | Set PEAP password or TLS secret key password as 1 to 32 characters. |
CertificateFile | ASCII character | Variable length | Set the file path and TLS certificate. (.pfx or .p12 format) Up to 64 characters can be specified. |
None.
A Host requests to establish wireless LAN as the AP. A Card shall be the DHCP server, and shall handle the HTTP request/response messages defined in Appendix C in accordance with the sequence defined in D.4 Peer-to-Peer File Transfer Sequence with the Card’s accepting any other Card’s request (without the Host’s operation). The command process is finished when the Card has initiated the AP successfully or an error.
0003h
Name | Type | Size | Description |
---|---|---|---|
ssid | ASCII character | Variable | The SSID of the AP to be connected. This value is not terminated by a null character. |
networkKey | ASCII character | Variable | The ‘networkKey’ is the network key of the corresponding SSID. This value is not terminated by a null character. Note that this value is able to be omitted ("Length of Argument" is set to "00 00 00 00h") if encryption is not used for the WLAN connection. |
encMode | integer | 1-byte |
The encMode denotes the network authentication and the data encryption scheme for the AP.
Note that supported combinations of network authentication and data encryption depend on the Card implementation, and a Host needs to check the "Encryption Mode Support" in the Capability Register. See 3.5 iSDIO Capability Register for Wireless LAN. |
None.
A Host requests to start the WPS with PIN method or with PBC method to the AP in the wireless LAN and connect the AP. The command process is finished when the Card has connected the AP successfully after the WPS process. This command doesn’t require the additional "Connect" command.
0005h
Name | Type | Size | Description |
---|---|---|---|
ssid | ASCII character | Variable | The SSID of the AP to be connected. This value is not terminated by a null character. Note that this value is able to be omitted ("Length of Argument" is set to "00 00 00 00h") and even if set this value is ignored for the WPS with PBC. |
wpsMode | integer | 1-byte |
The wpsMode denotes the WPS mode.
|
pin | Numeric character | 4-byte or 8-byte | The pin is the pin code for WPS with PIN. Note that this value is able to be omitted ("Length of Argument" is set to "00 00 00 00h") and even if set this value is ignored for the WPS with PBC. |
0007h
None.
None.