Send a PollCommand message.
Send the PollCommand system command on the specified connection slot to write the data provided.
- Warning
- This function requires the enhanced NBC/NXC firmware version 1.28+.
- Parameters
-
conn | The 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. |
bufnum | The buffer from which to read data (0=USBPoll, 1=HiSpeed). |
len | The number of bytes to read. Returns the number of bytes actually read. |
data | A byte array containing the response data. |
- Returns
- A char value indicating whether the function call succeeded or not.
- Examples:
- ex_RemotePollCommand.nxc.