I've been playing around with the router example in MWIFI for quite some time and I want to transmit photos through the mesh. The only issue is that this specific example is limited to 8kB.
Are there any suggested methods for splitting the data up to be transmitted? I know packet fragmentation is included, but I may have to split the data further if I have a file that is 1MB.
Sending data bigger than 8kB with MWIFI Router Example
Re: Sending data bigger than 8kB with MWIFI Router Example
ESP-MESH does not support data stream transmission. When the data packet exceeds 8k, fragment transmission is required. Our OTA data packet is also more than 1MB, and the method of fragment transmission is also adopted.
Re: Sending data bigger than 8kB with MWIFI Router Example
Ok, I see in the mwifi.c file that it mentions fragmentation and uses mwifi_subcontract_write function. I am trying to transmit an encoded photo.
In the router_example.c, you are using mwifi_write(). I have data that exceeds 8kB and I get the error "E (12109) [mwifi, 692]: <MDF_ERR_INVALID_ARG> !(size > 0 && size < 8096)" when I try to use mwifi_write(); Is there another function I should use?
In the router_example.c, you are using mwifi_write(). I have data that exceeds 8kB and I get the error "E (12109) [mwifi, 692]: <MDF_ERR_INVALID_ARG> !(size > 0 && size < 8096)" when I try to use mwifi_write(); Is there another function I should use?
Re: Sending data bigger than 8kB with MWIFI Router Example
Hello, have you solved the problem of mwifi transmitting data larger than 8KB
Who is online
Users browsing this forum: No registered users and 3 guests