User Manual
第
21
页 共
30
HLK-B35
at+remoteip=192.168.8.103\r\n\
//Set remote IP
at+remoteport=9000\r\n\
//Set remote port
at+remotepro=tcp\r\n\
//Set up TCP transmission
at+mode=client\r\n\
//Module as client
at+net_commit=1\r\n\
//Submit parameters
at+reconn=1\r\n\";
//Restart module
Com_send(commands_wifi_client_static);
//Send parameters from the serial port
Feedback
:
at+uart=115200,8,n,1
OK
at+netmode=2
OK
at+wifi_conf=HI-LINK,wpa2_aes,12345678
OK
at+dhcpc=0
OK
at+net_ip=192.168.8.35,255.255.255.0,192.168.8.5
OK
at+remoteip=192.168.8.103
OK
at+remoteport=9000
OK
at+remotepro=tcp
OK
at+mode=client
OK
at+net_commit=1
OK
at+reconn=1
OK
Note
:
When the module has not been connected after trying to connect to the web server 3
times, the local port of the module will become any port