Configuration
esp32_mode
2
1=WiFi AP Mode 2=WiFi Client Mode
wifi_chan
11
WiFi Channel used by WiFi AP Mode to host the AP
wifi_en_gn
1
1 means 802.11b/g/n/ac/ax support 0 means to only use 802.11b
ant_use_ext
0
LEGACY. Not used - External Antenna could be enabled by RF switch
baud
115200
UART baud rate
gpio_tx
16
UART TX GPIO
gpio_rx
17
UART RX GPIO
gpio_rts
0
UART RTS GPIO (if same as CTS then flow control is disabled)
gpio_cts
0
UART CTS GPIO (if same as CTS then flow control is disabled)
rts_thresh
64
Flow Control RTS Threshold - keep to default
proto
4
4=MAVLink - 5=Transparent
trans_pack_size
576
Maximum packet size in MAVLink or Transparent mode
serial_timeout
50
UART read timeout, when reached the packet will be sent out no matter its size
ltm_per_packet
2
LEGACY
radio_dis_onarm
0
LEGACY
udp_client_port
0
Custom UDP Client manually added by user -> port number
rep_rssi_dbm
1
Set to 1 to report RSSI in dbm as part of Radio Status - set 0 to scale 0-100
wifi_dis_udpdet
0
Disable auto-detection of UDP clients if set to 1. Only manually added clients will be served
udp_local_port
14635
Local port on the ESP32 used to send out UDP packets to the GCS
wifi_brcst_nudp
1
Set to 1 to enable broadcasting of UDP MAVLink msgs if no UDP client is known. Allows auto-detection by the GCS
wifi_brcst_port
14630
Remote port (on the GCS - e.g. Skybrush) to which the ESP32 will send UDP broadcast messages in case no known UDP client exists
show_det_flash
1
Set to 1 to enable the determination of command to FC to go into bootloader mode. ESP32 will enable transparent mode to allow FC OTA Updates
show_ap_fail_to
90000
Timeout in milliseconds for how long the ESP32 will try to connect to the AP in WiFi Client mode until it finally opens a failsafe AP of ist own. Set to 0 to wait indefinitely
show_pm_en_hb
1
When disabled (0) a GCS is likely not detecting the ESP32 as a MAVLink component. The ESP32 still accepts MAVLink messages addressed to it. In sleep mode fake MAVLink heartbeats from the FC will always be generated.
show_pm_en
1
Set to 1 to enable power management of the FC by the ESP32
show_pm_gpio
10
The ESP32 will use this GPIO to send the on/off command to an external power control circuit
show_pm_logic
0
0 = Active Low - 1 = Active High - Used for power management signal generation
show_pm_pulse_l
400
Specify the duration of the pulse sent by the power control pin to indicate a on/off power command. Set to 0 in case you do use a static high/low signal.
show_pm_qu_gpio
0
The ESP32 will use this GPIO to check the power state of the FC. It expects a high signal on the pin in case the FC is powered. Set to 0 in case you do not have such a GPIO - the ESP32 will then use the telemetry stream (MAVLink packets parsing required - not supported in transparent mode) to derive the power state of the flight controller.
ssid
DroneBridgeSSID
SSID of remote AP in WiFi Client Mode
ssid_ap
DroneBridgeAPSSID
SSID of ESP32 AP in WiFi AP Mode
wifi_pass
WIFIPASSWORD
Password of remote AP in WiFi Client Mode
wifi_pass_ap
WIFIPASSWORD
Password of ESP32 AP in WiFi AP Mode
ap_ip
192.168.2.1
IP of ESP32 in Wifi Access Point Mode
ip_sta
192.168.1.21
Static IP config: Static IP
ip_sta_gw
192.168.1.1
Static IP config: Gateway
ip_sta_netmsk
255.255.255.0
Static IP config: Netmask
udp_client_ip
Custom UDP Client manually added by user ->IP
wifi_hostname
ESP21
Hostname of the ESP32 - Will be used as SSID for failsafe AP
Last updated