mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-29 10:17:30 +02:00
fix(modem): More error handling in cmux protocol
Add error path to all CMUX protocol potential issues, checks for consistency and add recovery.
This commit is contained in:
@ -36,4 +36,13 @@ menu "esp-modem"
|
||||
The typical reason for failing SABM request without a delay is that
|
||||
some devices (SIM800) send MSC requests just after opening a new DLCI.
|
||||
|
||||
config ESP_MODEM_CMUX_USE_SHORT_PAYLOADS_ONLY
|
||||
bool "CMUX to support only short payloads (<128 bytes)"
|
||||
default n
|
||||
help
|
||||
If enabled, the CMUX protocol would only use 1 byte size field.
|
||||
You can use this option for devices that support only short CMUX payloads
|
||||
to make the protocol more robust on noisy environments or when underlying
|
||||
transport gets corrupted often (for example by Rx buffer overflows)
|
||||
|
||||
endmenu
|
||||
|
Reference in New Issue
Block a user