Send WiFi TCP/IP message from server
Send WiFi TCP/IP messages from a server over a wireless network.
Use this block when your model has the following requirements:
Reliable message transmission
Intact order of messages
Acceptable compromise on the transmission speed
The WiFi TCP/IP server created by this block can accept four socket connections on the Arduino board.
The Arduino WiFi Shield uses the following pins on different Arduino board variants.
Arduino Mega 2560 – pins 50 to 53.
Arduino Uno – pins 10 to 13.
This block input accepts uint8 values.
During simulations without the hardware, this block does nothing. See Block Produces Zeros or Does Nothing in Simulation
Enter the port number through which you want the TCP/IP server to send the messages. The server port numbers range from 0 to 65535.