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?

Réponses (1)

Walter Roberson
Walter Roberson le 12 Juil 2015

0 votes

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 commentaires

Chris
Chris le 12 Juil 2015
Modifié(e) : Chris le 12 Juil 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.

Connectez-vous pour commenter.

Catégories

Question posée :

le 12 Juil 2015

Commenté :

le 12 Juil 2015

Community Treasure Hunt

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

Start Hunting!

Translated by