Userspace SCTP stack (usrsctp) port for ESP-IDF.
Used for WebRTC data channels and other SCTP-based protocols on ESP32-series chips.
- usrsctp pinned at fork commit
32bb935(vikramdattu/usrsctp) - LWIP integration (built with
SCTP_USE_LWIP) - ESP-specific patches:
- SPIRAM stack allocation for usrsctp threads
- Thread-safe netif API support
- sin6 overflow fix
- LWIP support layer
idf.py add-dependency "vikramdattu/esp_usrsctp^1.0.0"Or in your project's main/idf_component.yml:
dependencies:
vikramdattu/esp_usrsctp: "^1.0.0"esp32, esp32s2, esp32s3, esp32c3, esp32c5, esp32c6, esp32p4. Requires ESP-IDF >= 5.4.
This wrapper bundles a fork of sctplab/usrsctp as a submodule (vikramdattu/usrsctp). The fork carries ESP-specific patches on top of upstream.
BSD-3-Clause (see LICENSE.md), matching upstream usrsctp.