Instructions
" " ! "
Espressif Systems
ESP8266
AT Instruction Set
16.
AT+SAVETRANSLINK – Save transparent transmission link to flash
AT+SAVETRANSLINK – Save transparent transmission link to flash
Example
AT+SAVETRANSLINK=1, "192.168.6.110", 1002, "TCP"
Command
For TCP connection:
AT+SAVETRANSLINK =<mode>, <remote IP or domain name>, <remote
port>[, <type>][, <TCP keep alive>]
For UDP transmission:
AT+SAVETRANSLINK =<mode>, <remote IP>, <remote port>[, <type>][,
<UDP local port>]
Response
OK
Parameters
<mode>
0 : normal mode, will NOT enter UART-WiFi passthrough mode on power-up
1 : save UART-WiFi passthrough mode
<remote IP> remote IP or domain name
<remote port> remote port
[<type>] optional, TCP or UDP, default to be "TCP"
[<TCP keep alive>] optional, TCP keep alive, default to be disabled
0: disable TCP keep alive
1 ~ 7200: keep-alive detect time interval, unit: second
[<UDP local port>] optional, local port if UDP transparent transmission is to be
started on power-up.
Notes
•
This command will save the UART-WiFi passthrough mode and its link into
Flash user parameter area, ESP8266 will enter UART-WiFi passthrough mode
on any subsequent power cycles.
•
As long as the IP (or domain name), port conform to the specification, they
will be saved to flash
Espressif Systems / Friday, July 15, 201668 73