NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool RemoteConnectionIdle ( byte  conn)
inline

Check if remote connection is idle.

Check whether a Bluetooth or RS485 hi-speed port connection is idle, i.e., not currently sending data.

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.
Returns
A boolean value indicating whether the connection is idle or busy.
Warning
Checking the status of the RS485 hi-speed connection requires the enhanced NBC/NXC firmware
Examples:
ex_RemoteConnectionIdle.nxc.