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?

Answers (1)

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 Comments

Chris
Chris on 12 Jul 2015
Edited: Chris on 12 Jul 2015
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.

Sign in to comment.

Categories

Asked:

on 12 Jul 2015

Commented:

on 12 Jul 2015

Community Treasure Hunt

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

Start Hunting!