NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char SendRemoteBool ( byte  conn,
byte  queue,
bool  bval 
)
inline

Send a boolean value to a remote mailbox.

Send a boolean value on the specified connection to the specified remote mailbox number. 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.
queueThe mailbox number. See Mailbox constants.
bvalThe boolean value to send.
Returns
A char value indicating whether the function call succeeded or not.
Examples:
ex_SendRemoteBool.nxc.