NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char RemoteIOMapWriteBytes ( byte  conn,
long  id,
int  offset,
byte  data[] 

Send an IOMapWrite bytes message.

Send the IOMapWrite system command on the specified connection slot to write the data provided. Use RemoteConnectionIdle to determine when this write request is completed.

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.
idThe ID of the module to which to write data.
offsetThe offset into the IOMap structure to which to write.
dataA byte array containing the data you are writing to the IOMap structure.
A char value indicating whether the function call succeeded or not.