Richard Allen 54eb002758 fix(websocket): fix relying on asprintf() to NULL strp on failure
asprintf()'s return value:
    When successful, these functions return the number of bytes
    printed, just like sprintf(3).  On error, -1 is returned, errno is
    set to indicate the error, and the contents of strp are undefined.

Fixes the following:
    error: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
2025-10-03 08:44:00 -05:00
2023-03-31 12:04:46 +04:00

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

mDNS

esp_websocket_client

ASIO port

esp_mqtt_cxx

console_simple_init

console_cmd_ping

console_cmd_ifconfig

console_cmd_wifi

mbedtls_cxx

mosquitto

Socket helpers (sock-utils)

libwebsockets

console_cmd_mqtt

esp_dns

Description
Collection of ESP-IDF components related to networking protocols
Readme 42 MiB
Languages
C 56.8%
C++ 35.2%
Python 4.4%
CMake 2.4%
Shell 0.7%
Other 0.5%