Using an ESP8266 transparent serial IP device - stronnag/mwptools GitHub Wiki
ESP-01 / ESP-07
Vendor "ESP8266_NONOS_SDK" firmware, transparent UDP serial, configured by "AT" commands as documented in the vendor manual, 4a-esp8266_at_instruction_set_en.pdf
.
To configure, from the USB side:
+++
Note: paste +++
as there's a timeout ...
Sample device setting
AT+CWSAP_DEF="I'mMandyFlyMe","Secr3tPassw0rd",11,4,2,1
AT+CWDHCP=2,0
AT+CWMODE_DEF=2
AT+CIPAP_DEF="192.168.100.100",,"255.255.255.0"
AT+SAVETRANSLINK=1,"192.168.100.101",14014,"UDP",14014
AT+UART_DEF=115200,8,1,0,0
Configures an AP (Access Point) with ESSID I'mMandyFlyMe
and password Secr3tPassw0rd
on 192.168.100.100/24
. The AP permits a single client with static address 192.168.100.101
, both sides using port 14041
, UDP only.
The UART (FC) side is 115200 baud.
Ground side
Works with mwp since forever, as described in the manual, for example udp://esp-air:14014/?bind=14014
(where esp-air
is 192.168.100.101
or use the IP address directly).
Also works with the INAV Configurator 5.0 and later udp://192.168.100.101:14041
(bind port is implicit).
Tested with old (2016 vintage) ESP001 and possibly newer ESP007.
Vendor documentation
Espressif manual. Note the vendor now (2022) recommends newer firmware and manual, however this works just fine on the author's old devices.