Write to a remote connection.
This method tells the NXT firmware to write the data in the buffer to the device on the specified connection. Use RemoteConnectionIdle to determine when this write request is completed.
- Parameters
-
conn | The connection slot (0..4). Connections 0 through 3 are for bluetooth connections. Connection 4 refers to the RS485 hi-speed port. See Remote connection constants. |
buffer | The data to be written (up to 128 bytes) |
- Returns
- A char value indicating whether the function call succeeded or not.
- Warning
- Writing to the RS485 hi-speed connection requires the enhanced NBC/NXC firmware
- Examples:
- ex_RemoteConnectionWrite.nxc.