How can I decrease WiFi MPU?

konssnok
Posts: 2
Joined: Tue Jul 26, 2022 4:05 pm

How can I decrease WiFi MPU?

Postby konssnok » Tue Jul 26, 2022 4:14 pm

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

konssnok
Posts: 2
Joined: Tue Jul 26, 2022 4:05 pm

Re: How can I decrease WiFi MPU?

Postby konssnok » Wed Jul 27, 2022 8:51 am

Maximum segment size is the answer MSS

bealoon
Posts: 1
Joined: Tue Aug 22, 2023 9:11 am

Re: How can I decrease WiFi MPU?

Postby bealoon » Tue Aug 22, 2023 9:37 am

你好 该问题解决了吗?

Who is online

Users browsing this forum: No registered users and 123 guests