io.veea.VeeaHub.LedControl
LedMode (IN s mode, IN i ownerpid, OUT i returnCode); LedModeTagged (IN s mode, IN i ownerpid, IN s tag, OUT i returnCode); LedModeState (OUT s mode);
This allows control of LED output based on a set of fixed patterns associated with interface strings.
LedMode (IN s mode, IN i ownerpid, OUT i returnCode);
This will set the LED patterns based on the passed Mode string. The allowable strings and the associated patterns are defined at Push-Button, Reset, and LED Operations.
Checks that the passed PID matches the PID of the caller or one of its ancestors, or the passed PID must be zero. If it is zero, the monitor will determine the PID of the caller.
Allow: context=default
IN s mode
:The request LED mode
IN i ownerpid
:The caller PID
OUT i returnCode
:The return code (0 for success, non-zero for failure)
LedModeTagged (IN s mode, IN i ownerpid, IN s tag, OUT i returnCode);
This method is similar to LedMode(), but the caller can pass in a Tag string to differentiate threads within the same process.
Allow: context=default
IN s mode
:The request LED mode
IN i ownerpid
:The caller PID
IN s tag
:The caller-specified tag
OUT i returnCode
:The return code (0 for success, non-zero for failure)