Page 17 / 30
3.12. Set the socket connection protocol: at + remotepro
Command type
Grammar/ Syntax
Return and description
Executing command
at+remotepro=tcp
at+remotepro=tcp
ok
Description: Set the module socket protocol to tcp
Query command
at+remotepro=?
at+remotepro=?
tcp
Description: Query module socket connection protocol
3.13. Set network connection parameters: at + net_ip
Command type
Grammar/ Syntax
Return and description
Executing command
at+net_ip=192.168.16.
254,255.255.255.0,192
.168.16.254
at+net_ip=192.168.16.254,255.255.255.0,192.168.16.254
ok
Description: Set the module's ip, gateway, dns
Query command
at+net_ip=?
at+net_ip=?
192.168.16.254,255.255.255.0,192.168.16.254
Description: Query module's ip, gateway, dns
3.14. Query STA Mode Network Connection Status: at + WiFi_ConState
Command type
Grammar/ Syntax
Return and description
Query command
at+WiFi_ConState=?
at+WiFi_ConState=?
Disconnected
Description: In sta mode, the module WiFi is not
connected, Connected means the network is connected
3.15. Query module MAC address: at + Get_MAC
Command type
Grammar/ Syntax
Return and description
Query command
at+Get_MAC=?
40:D6:3C:15:5F:E8
at+Get_MAC=?
40:D6:3C:15:5F:E8
Description: Query module mac address