Websocket Client stops receiving after a short period
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Websocket Client stops receiving after a short period
by Eugeny ·
All are having same MAC address?
RE: RE: Websocket Client stops receiving after a short period
by Christian-Me ·
Nope … all different! Sorry, would be too easy.
But the idea was good. The Controller PCB have a dip switch to hardcode a device ID for MAC and IP Address and used to identify the messages by the server. All working fine
RE: Websocket Client stops receiving after a short period
by jameskim ·
Hi,
Can you capture ethernet packets with wireshark.exe, which is free software, and share it with us?
It would be helpful for us to analyze the reason.
Thank you.
James.
RE: Websocket Client stops receiving after a short period
by Christian-Me ·
Thank you for your help. I can do that, the server is running linux on a raspberry and I already installed wireshark.
Do you can give me a hint where to look for, any useful filter settings? Normally I am overwhelmed by the amount of information and have no experience in using wireshark.
RE: Websocket Client stops receiving after a short period
by Eugeny ·
What is configured as gateway for W5500?
RE: RE: Websocket Client stops receiving after a short period
by Christian-Me ·
The gateway of my network. I wanted to say during the communication ther is no traffic over routers or through the Internet involved. As far as I intentionally coded it there should be no traffic behind the switch and the devices.
RE: Websocket Client stops receiving after a short period
by Eugeny ·
There will be traffic to the gateway, at least ARP requests. Only network log will show. Not sure but these 30 seconds may be a timeout for something (e.g. ARP request). Just a guess.
RE: Websocket Client stops receiving after a short period
by Mxyxixptlick ·
The 30 seconds does suggest a timeout. See the following from the W5500 datasheet.
RE: Websocket Client stops receiving after a short period
by Maksim ·
Try to read the registers RX Free Size Register.
At the time of “hang” of the socket. If they are much larger than a socket size> 30000, then perhaps you have not written the buffer pointer correctly (Sn_RX_RD).
RE: Websocket Client stops receiving after a short period
by Mehmet ali ·
Is there an example of w5500 websocket with stm32 ?