Chapter 4. Software framework
Does the ESP32 support SAVI?
No, SAVI (Source Address Validation Improvements) is to establish a binding relationship based on
IPv6 source address, source MAC address and access device port on the access device (AP or switch)
by listening to control packets (such as ND, DHCPv6), i.e. CPS (Control Packet Snooping), and then
perform source address validation on IP packets passing through the specified port. Only when the
source address of the message matches with the binding table entry can it be forwarded to ensure the
authenticity of the source address of data messages on the network. This is generally a policy protocol
for switches or enterprise-class AP routers. Currently ESP32 supports IPv6 link-local address and global
address for communication.
When Ethernet and Wi-Fi coexist, does Ethernet take precedence over Wi-Fi in data transfer?
:CHIP: ESP32 :
• Call
esp_netif_get_route_prio first
priority over Ethernet, you can prioritize them by modifying route_prio in the structure
esp_netif_t.
4.6 Provisioning
4.6.1 Can I add any broadcast data I want to Android ESP-Touch (e.g., add a device ID
so that ESP32 can receive this ID)?
• ESP-Touch is a communication protocol used to establish a Wi-Fi connection between a mobile phone and
ESP8266/ESP32. It uses a special broadcast method to transmit Wi-Fi SSID and password. Typically, the
data broadcasted by ESP-Touch should be in a fixed format and cannot include customized data.
• If you want ESP32 to receive customized data such as device ID, you can consider using other communica-
tion protocols such as MQTT or HTTP. With these protocols, you can define data formats as you wish and
communicate between an Android App and ESP32.
• If you still want to broadcast customized data, you can use BluFi, which is the networking protocol based on
Bluetooth LE. Please refer to the following references for BluFi:
– Android APP:https://github.com/EspressifApp/EspBlufiForAndroid.
– iOS APP:https://github.com/EspressifApp/EspBlufiForiOS.
4.7 Security
4.7.1 Is the firmware in ESP8266 readable?
Yes, because the firmware in ESP8266 is located in the external flash, thus can be read externally. In
addition, ESP8266 does not support flash encryption and all the data is written in plaintext.
Espressif Systems
to check the priority of Ethernet and Wi-Fi. If Wi-Fi takes
104
Submit Document Feedback
Release master
Need help?
Do you have a question about the ESP and is the answer not in the manual?