Old revisions Add to book Export to PDF Table of Contents Control API executeOutputAction Parameters Return Code executeLedAction Parameters Return Code Book Creator Add this page to your book Book Creator Remove this page from your book Manage book (0 page(s)) Help This is an old revision of the document! Control API executeOutputAction Controls the output signal (relay) of the device. int executeOutputAction(Channel channel, Relay relay) Parameters channel: relay channel (0–1) relay: output signal information Refer to Channel Enumerator Refer to Relay Enumerator Return Code Returns “SUCCESS” if successfully launched; returns the corresponding error code if an error occurs. executeLedAction Controls the LED of the device. int executeLedAction(LedColor color) Parameters color: LED color Refer to LedColor Enumerator Return Code Returns “SUCCESS” if successfully launched; returns the corresponding error code if an error occurs.