mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-15 19:42:09 +02:00
Client could choose if they want to receive control packets and handle them. * If disabled (default) the transport itself tries to handle PING and CLOSE frames automatically during read operation. If handled correctly, read outputs 0 indicating no (actual app) data received. * if enabled, all control frames are passed to the application to be processed there. Closes https://github.com/espressif/esp-idf/issues/6307 * Original commit: espressif/esp-idf@acc7bd2ca4