We are using WizFi 360 WiFi module with firmware version 18.104.22.168 and Using CIPSENDBUF Command for transmitting data.
WiFi module returns ERROR response after segment ID 65535 (see the attachment below)
I tested 3 times and received ERROR exactly after segment ID 65535 on all 3 attempts.
as per 22.214.171.124 WizFi AT instruction set, Segment ID is 4 bytes.
But we are using 126.96.36.199, so wanted to know
- The size of segment ID as per 188.8.131.52 firmware version ?
- 65535 is higher range of 2 bytes, so suspecting on segment ID. Can you help us in understanding the reason for receiving Error if segment ID is not the root cause for receiving ERROR ?
In F/W 184.108.40.206, the variable to manage segment ID is set to 2 bytes.
(Also in F/W version 1.1.x.x, the variable to manage segment ID is set to 2 bytes.)
Therefore, if the segment ID exceeds 65535, ERROR is returned.
If there is no problem even after modifying F/W, put a routine to reset the segment ID before the segment ID reaches 65535.
It means, Reset of segment ID when segment ID crosses 65535 is not handled in WizFi firmware ?
If segment ID crosses 65535, automatic reset is not handled in WizFi360 F/W.
So, you have to manually reset the segment ID through the AT command.
Sorry, but v220.127.116.11 is not supported F/W, so fixing segment ID to be automatically reset in v18.104.22.168 is not supported.
We will review to fix the segment ID reset issue in the next version(v22.214.171.124 or higher).