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 ExchangeMessages についてさらに検索

質問済み:

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