Send multiple bytes using Arduino UDP send block?

Is it possible to send more than one byte of data in a UDP message using the Arduino UDP send block from the Support package from Arduino hardware?

답변 (1개)

Walter Roberson
Walter Roberson 2015년 7월 12일

0 개 추천

Yes. Up to 24 bytes if you are using the Ethernet Shield; I do not know the limit if you are not using the Ethernet Shield. http://www.mathworks.com/help/supportpkg/arduino/ug/udpsend.html

댓글 수: 2

Chris
Chris 2015년 7월 12일
편집: Chris 2015년 7월 12일
Hi Walter, thanks for your answer. Do you know the correct way to input the data into the Arduino UDP send block to send multiple bytes? I have tried using a mux but I get an error in port widths or dimensions.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Messages에 대해 자세히 알아보기

질문:

2015년 7월 12일

댓글:

2015년 7월 12일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by