I tested 3 times and received ERROR exactly after segment ID 65535 on all 3 attempts.
as per 1.1.1.2 WizFi AT instruction set, Segment ID is 4 bytes.
But we are using 1.0.7.5, so wanted to know
The size of segment ID as per 1.0.7.5 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 1.0.7.5, 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.