W7500 raw socket
MCU & Boards
No replies yet. Be the first to reply.
Join the discussion.
MCU & Boards
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: W7500 raw socket
by becky ·
hello,
W7500 supports IPRAW and MACRAW socket. But there is no RAW socket example running on W7500.
You can use it by modifying the W5500 document Since W7500 contains W5500 core.
W5500 document has an ipraw application note PPPoE communication application note running on macraw socket.
http://wizwiki.net/wiki/doku.php?id=products:w5500:application
Thankyou
RE: RE: W7500 raw socket
by dollyparton ·
I managed to get this working by modifying the driver send function, adding a RAW constant to the enum protocol definition and creating a Raw socket class. Details of changes below.
W7500x_toe.cpp - Added sendRaw function. This is identical to send except it uses SEND_MAC instead of SEND as the command. Could modify send to check the protocol and use the appropriate command. For now I have two functions.
W7500x_toe.h - Added RAW to the protocol enum:
SocketRaw.cpp - New class derived from Socket, that uses the above:
RE: RE: W7500 raw socket
by dollyparton ·
Thanks Becky. I managed to get it working well. I have posted my solution onto the thread for others to use.
RE: W7500 raw socket
by Muralidhar ·
Hi,
We are using W7500 as Serial to Ethernet Converter. Where we need multiple sockets too. from the W7500X libraries, We found Socket.c and socket.h files , but these are some what confusing. Can you please share your code for Serial to Ethernet if you done it.
it will be helpful to us.