W5100 can't send a zero
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: W5100 can't send a zero
by suhwan ·
Hi oadna,
W5100 can send a zero (0x00).
Please, check data length, data copy or updating Sn_TX_WR in your code.
Reference Code is [url]http://www.wiznet.co.kr/sub_modules/kr/product/product_detail.asp?Refid=677&page=1&cate1=5&cate2=7&cate3=26&pid=1019&cType=2[/url].
Thanks
RE: W5100 can't send a zero
by oadna ·
he, thanks for your reply.
I have tried it again and again, but it doesn`t work.
When i remove the 0x00 from the array, the whole array will be sent.
This is so crazy.
greets
RE: W5100 can't send a zero
by suhwan ·
Hi oadna,
Please, attach your code.
We will review the code.
Thanks,
RE: W5100 can't send a zero
by oadna ·
Hello
I attached the file, I hope you can find the error.
Thank you.
WebClient.c (17.4 KB)
RE: W5100 can't send a zero
by suhwan ·
Hi oadna,
We may find the error. :0
strlen
size_t strlen ( const char * str );
Get string length
Returns the length of the C string str.
The length of a C string is determined by the terminating null-character
So, your code should be change, as below
Thanks
Thanks,
RE: W5100 can't send a zero
by oadna ·
hi suhwan,
You helped me so much, thank you a lot.
Now my thesis is save.
greets