At+Cwjap Connects To An Ap - Wiznet WizFi360 User Manual

Hide thumbs Also See for WizFi360:
Table of Contents

Advertisement

+CWMODE_CUR:<mod
e> List of values
Response
OK
<mode>:
1:Station mode
Parameters
2:SoftAP mode
3:SoftAP+Station mode
Power on device defaults to Station mode
Note
AT+CWMODE_CUR=1
Example
10.2.2.3. AT+CWMODE_DEF
Saved in the Flash
AT+CWMODE_DEF=?
Commands
+CWMODE_DEF:<mod
e> List of values
Response
OK
<mode>:
1:Station mode
Parameters
2:SoftAP mode
3:SoftAP+Station mode
Power on device defaults to Station mode
Note
AT+CWMODE_DEF=1
Example
10.2.2.4. AT+CWJAP
AT+CWJAP?
Commands
+CWJAP:<ssid>,<bssid>,<channel>,
<rssi>
Response
OK
<ssid>˖the SSID of the target AP.
Parameters
<bssid>˖the target AP's MAC address
WizFi360 User Manual
+CWMODE_CUR:<mode>
OK
Sets the Default Wi-Fi mode; Configuration
AT+CWMODE_DEF?
+CWMODE_DEF:<mode>
OK
Connects to an AP
OK
AT+CWMODE_DEF=<
mode>
OK
AT+CWJAP=<ssid>,<pwd>[,<bssid>]
OK
or
+CWJAP:<error code>
FAIL
<ssid>˖the SSID of the target AP.
<pwd>˖password, MAX: 64-byte

Advertisement

Table of Contents
loading

Table of Contents