User Manual
第
14
页 共
30
HLK-B35
3.2.
WI-FI related AT commands
3.2.1.
Set the network mode of the module:at+netmode
Type
Grammar
Return and description
Set
instruction
at+netmode=2
at+netmode=2
Ok
Note: Set the module to STA mode
Query
instruction
at+netmode=?
at+netmode=?
2
Note
:
2: STA mode
3: 2.4G AP mode
3.2.2.
Set the name and password of the connection route/WiFi hotspot :
at+wifi_conf
Type
Grammar
Return and description
Set
instruction
at+wifi_conf=HI-LINK,non
e,12345678
at+wifi_conf=HI-LINK,none,12345678
Ok
Description: When the module is in STA mode, this
parameter is
Set the ssid, encryption method and pwd of the
connection route
When the module is in AP mode, this parameter is
Set up ssid, encryption method and pwd for
establishing WiFi hotspot
Note: The maximum length of the WiFi name and
password is 32 bytes
Query
instruction
at+wifi_conf=?
at+wifi_conf=?
HI-LINK_5FE8,none,12345678
Note:SSID of the connection route, encryption
method and pwd
3.2.3.
Query the status of the connection route in STA mode:at+wifi_ConState
Type
Grammar
Return and description
Query
instruction
at+wifi_ConState=?
at+wifi_ConState=?
Disconnected
Note
:
The module is not connected to the router in sta
mode, connected means the module is connected to
the router in sta mode