You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send a packet to a remote station. The commandID should match a command registered in the remote station. Length is the number of bytes of data to include in the packet. Data is a pointer to the data to send (should be cast to a char * if it isn't already).
89
+
Send a packet to a remote station. The commandID should match a command registered in the remote station.
90
+
91
+
The different overloaded methods provide, in turn:
92
+
93
+
* Sending of a raw data packet of length `len`.
94
+
* Sending a NULL-terminated C string.
95
+
* Sending a `long` value (32 bits).
96
+
* Sending an `int` value (**Caution: the size of this depends on the architecture. It may be 16 or 32 bits.**).
97
+
* Sending a single char value (8 bit signed value).
Send a packet to all stations. The default address for broadcasting is 0 (can be edited in the ICSC.h file). Apart from that broadcast() works like send().
116
+
This is the same as the `send` method above, except the data is sent to all
117
+
stations on the network. Care should be taken to ensure that the destination
118
+
stations do not respond to a broadcast message since that would cause collisions
0 commit comments