forked from espressif/esp-protocols
d4da9cb079cb13ff7aab6e19360962155882c101
the lookup_service API calls _copy_mdns_txt_items(), which tries to allocate new TXT records, but didn't handle the case with no TXT. Originally the _copy_mdns_txt_items() called calloc() with zero's which returned NULL (on espressif toolchain), so it's safe, but we could see an error message: E (1170) mdns: Cannot allocate memory (line: 6191, free heap: 281368 bytes) This commit addresses the empty TXT case and gets rid of the error message.
Collection of protocol components for ESP-IDF
How to use
The ESP-Protocols repository contains a collection of protocol components for ESP-IDF. Additionally, each component is available in IDF Component Registry. Please refer to instructions in ESP-IDF
Components
esp_modem
- Brief introduction README
- Full html documentation
mDNS
- Brief introduction README
- Full html documentation(English)
- Full html documentation(Chinese)
esp_websocket_client
- Brief introduction README
- Full html documentation
ASIO port
- Brief introduction README
- Full html documentation
esp_mqtt_cxx
- Brief introduction README
- Full html documentation
console_simple_init
- Brief introduction README
console_cmd_ping
- Brief introduction README
console_cmd_ifconfig
- Brief introduction README
console_cmd_wifi
- Brief introduction README
ESP PPP Link (eppp)
- Brief introduction README
esp_wifi_remote
- Brief introduction README
mbedtls_cxx
- Brief introduction README
Languages
C
56.2%
C++
36.3%
Python
4.4%
CMake
2.3%
Shell
0.3%
Other
0.5%