Page 1 of 1

How can I decrease WiFi MPU?

Posted: Tue Jul 26, 2022 4:14 pm
by konssnok
Hello,
our application is using MESH WIFI configured as in the example
https://github.com/espressif/esp-idf/tr ... al_network

We then do MQTT mTLS authentication from each node.
This generates a problem because the maximum size of MESH_MPS is 1472, while during the handshake a packet of 1494 is being sent by the server.

Code: Select all

I (16:11:03.990) mesh_netif: Sending to node: 7c:df:a1:e0:69:a4, size: 1494
E (16:11:03.991) mesh_netif: Root: Send with err code 16392 ESP_ERR_MESH_ARGUMENT
To trigger this error i think you can simply try to send a 1480 packet in the example above (from a leaf!)

Does anybody know how to reduce the MPU for the wifi/mtls/mqtt layer?

Thanks

Re: How can I decrease WiFi MPU?

Posted: Wed Jul 27, 2022 8:51 am
by konssnok
Maximum segment size is the answer MSS

Re: How can I decrease WiFi MPU?

Posted: Tue Aug 22, 2023 9:37 am
by bealoon
你好 该问题解决了吗?