Hi Neil...
Is there specific size/method for UDP and TCP data transmission because I can send and receive 0123456789 and abcdef but unable to send other data like revanth(TCP) and 54211(UDP)
Thanks & Regards
Revanth
Hi Neil...
Is there specific size/method for UDP and TCP data transmission because I can send and receive 0123456789 and abcdef but unable to send other data like revanth(TCP) and 54211(UDP)
Thanks & Regards
Revanth
There are specific sizes for UDP and TCP data transmission on the BP35C5 Wi-SUN module.
For UDP, the maximum datagram size is 128 bytes.
For TCP, the maximum segment size is 1460 bytes.
The reason why you are able to send and receive 0123456789 and abcdef is because these strings are both 10 characters long, which is less than the maximum datagram size for UDP.
Hey bidrohini ,
Both "abcdef" and "gagang" these string have same number of characters then why I am unable to send string "gagang" in tcp.
Image has been of output has been add for your reference
TCP communication between border and router |
---|
Thanks & Regards
Revanth
Hi Revanth,
Please find additional information to your question.
Both the datagram size (UDP) and maximum segment size (TCP) of BP35C5 are limited to 1024 bytes.
The default value for TCP Maximum Segment Size in BP35C5 is set to 536 bytes.
To set the maximum segment size to 1024 bytes, execute "tcpopts mss 1024".
The “udps” and “tcps” commands can send “0123456789” and “abcdef” because these commands send hexadecimal data.
"gagang" is not hexadecimal data so it cannot be sent by “tcps”.
Thank you for your interest in ROHM Semiconductor products.
Kindest regards,
Neil
ROHM Semiconductors
Hi Revanth,
Please find additional information to your question.
Both the datagram size (UDP) and maximum segment size (TCP) of BP35C5 are limited to 1024 bytes.
The default value for TCP Maximum Segment Size in BP35C5 is set to 536 bytes.
To set the maximum segment size to 1024 bytes, execute "tcpopts mss 1024".
The “udps” and “tcps” commands can send “0123456789” and “abcdef” because these commands send hexadecimal data.
"gagang" is not hexadecimal data so it cannot be sent by “tcps”.
Thank you for your interest in ROHM Semiconductor products.
Kindest regards,
Neil
ROHM Semiconductors