NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char RemoteLowspeedWrite ( byte  conn,
byte  port,
byte  txlen,
byte  rxlen,
byte  data[] 
)
inline

Send a LowspeedWrite message.

Send the LowspeedWrite direct command on the specified connection slot. Use RemoteConnectionIdle to determine when this write request is completed.

Parameters
connThe 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.
portThe I2C port. See Input port constants.
txlenThe number of bytes you are writing to the I2C device.
rxlenThe number of bytes want to read from the I2C device.
dataA byte array containing the data you are writing to the device.
Returns
A char value indicating whether the function call succeeded or not.
Examples:
ex_RemoteLowspeedWrite.nxc.