This is an old revision of the document!


Control API

Controls the output signal (relay) of the device.

int executeOutputAction(Channel channel, Relay relay)

Parameters

  • channel: relay channel (0–1)
  • relay: output signal information

Return Code

Returns “SUCCESS” if successfully launched; returns the corresponding error code if an error occurs.


Controls the LED of the device.

int executeLedAction(LedColor color)

Parameters

  • color: LED color

Return Code

Returns “SUCCESS” if successfully launched; returns the corresponding error code if an error occurs.