NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char RemoteSetInputMode ( byte  conn,
byte  port,
byte  type,
byte  mode 

Send a SetInputMode message.

Send the SetInputMode direct command on the specified connection slot. 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.
portThe input port to configure. See Input port constants.
typeThe sensor type. See Sensor type constants.
modeThe sensor mode. See Sensor mode constants.
A char value indicating whether the function call succeeded or not.