NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char BluetoothWrite ( byte  conn,
byte  buffer[] 
)
inline

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
connThe connection slot (0..3). Connections 0 through 3 are for bluetooth connections. See Remote connection constants.
bufferThe data to be written (up to 128 bytes)
Returns
A char value indicating whether the function call succeeded or not.
Examples:
ex_BluetoothWrite.nxc.