You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, Thank you for making this code. It is very helpful.
Secondly, sorry for my English.
I use modified version of this library by fredycpu so i can send large html file.
I'm using 256 bytes of ethernet::buffer.
open file from sd, and serve it via http.
after a few refresh on same page (20 - 30 times), arduino still running, still get the request, answer it, send file. but the browser did not receive anything.
using wireshark, error happened after arduino send weird sequence number 4294935041 etc. previous sequence number is below 35000. seems like first 3 bytes of tcp sequence header filled with FF.
with this code (tcpip.cpp) static void get_seq() { //get the sequence number of packets after an ack from GET SEQ =((gPB[TCP_SEQ_H_P]*256+gPB[TCP_SEQ_H_P+1])*256+gPB[TCP_SEQ_H_P+2])*256+gPB[TCP_SEQ_H_P+3]; Serial.print("Get SEQ: "); Serial.println(SEQ); }
i get
Get SEQ: 32513 --> browser gets the data
Get SEQ: 30977 --> browser gets the data
Get SEQ: 4294935041 --> no data.. just waiting
Get SEQ: 4294935041 --> no data again..
can you point out where is my problem?
or is it a bug?
Thank you
The text was updated successfully, but these errors were encountered:
can anyone test my mods i have packet lost i think i have hardware problem ?
hereis the latest Library with my mods, sketch and sd card content ...
in advance thanks
fred http://microinfo.fr/multipacketsSD.rar
have you tried with images file above 100kb ?
i have more packets lost at spi fullspeed (default settings in enc28j60.cpp)
my sketch is in exemples and sd content is in exmples/mutipacketSD/copy to sd/
First, Thank you for making this code. It is very helpful.
Secondly, sorry for my English.
I use modified version of this library by fredycpu so i can send large html file.
I'm using 256 bytes of ethernet::buffer.
open file from sd, and serve it via http.
after a few refresh on same page (20 - 30 times), arduino still running, still get the request, answer it, send file. but the browser did not receive anything.
using wireshark, error happened after arduino send weird sequence number 4294935041 etc. previous sequence number is below 35000. seems like first 3 bytes of tcp sequence header filled with FF.
with this code (tcpip.cpp) static void get_seq() { //get the sequence number of packets after an ack from GET SEQ =((gPB[TCP_SEQ_H_P]*256+gPB[TCP_SEQ_H_P+1])*256+gPB[TCP_SEQ_H_P+2])*256+gPB[TCP_SEQ_H_P+3]; Serial.print("Get SEQ: "); Serial.println(SEQ); }
i get
Get SEQ: 32513 --> browser gets the data
Get SEQ: 30977 --> browser gets the data
Get SEQ: 4294935041 --> no data.. just waiting
Get SEQ: 4294935041 --> no data again..
can you point out where is my problem?
or is it a bug?
Thank you
The text was updated successfully, but these errors were encountered: