UDP Receive

Receive UDP message from remote interface with any data type and size

Library

Arduino UDP Ethernet Shield

Description

Receive a UDP message from a remote interface identified by the remote IP address and remote port parameters.

If data's type is not uint8, it must be packed using the provided function;

Pack Data

Data Type

Input can be any of the following supported int data types:

Size

Received data must be a 1-dimensional array. There is no limit to the length of the array. The length is only limited by the performance of the hardware.

Dialog Box

LocalPort

Set the local port on the Arduino

DataType

Set the data type of the received data

DataSize

Specify the data size of the received data

Sample Time

Specify the sample time of the output data signal

Code Generation

This block is supported for code generation.

Limitations

This block can not currently have more than one instance in a model.

See Also

UDP Transmit