Download User Manual-VSD03

Transcript
WPRT
Set or query wireless mode
WSCAN
Scan for network
Z
Reset
6.2.2 Network Control Type
6.2.2.1 AT+WJOIN
Function:
Join/Create a wireless network.If the type of current network is adhoc,and the module
can not search for the same ssid network,then it automatically creates a new network,or it
has been connected,then return the message of network connection.
Format:
AT+WJOIN<CR>
+OK=<bssid>,<type>,<channel>,<b_encry>,<ssid>,<rssi><CR><LF><CR><LF>
Parameter:
bssid means network BSSID,it is formed with twelve hexadecimal Numbers,and the
format is 001EE3A34455
type means Network Type
Table 6-3 Network Type
Value
meanings
0
Infra network
1
adhoc network
channel means Channel Number
b_encry means Encryption Mode
Table 6-4 Encryption Mode
Value
Meanings
0
Open
1
Encryption
ssid means Wireless network name,it’s formed with 1~32 Character and embedded by
double quotation marks
rssi means Network Signal Strength,it does not include minus,its unit is DBm,For
example 50 means that the strength is -50 DBm.
6.2.2.2 AT+WLEAV
Function:
80