NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char RemoteDatalogRead ( byte  conn,
bool  remove,
byte &  cnt,
byte &  log[] 
)
inline

Send a DatalogRead message.

Send the DatalogRead direct command on the specified connection slot.

Warning
This function requires the enhanced NBC/NXC firmware version 1.28+.
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.
removeRemove the datalog message from the queue after reading it (true or false).
cntThe number of bytes read from the datalog.
logA byte array containing the datalog contents.
Returns
A char value indicating whether the function call succeeded or not.
Examples:
ex_RemoteDatalogRead.nxc.