Write to a bluetooth connection.
This method tells the NXT firmware to write the data in the buffer to the device on the specified Bluetooth connection. Use BluetoothStatus to determine when this write request is completed.
- Parameters
-
conn | The connection slot (0..3). Connections 0 through 3 are for bluetooth connections. 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.
- Examples:
- ex_BluetoothWrite.nxc.