4.4 WFS_CMD_TTU_SET_LED

Description This command is used to set the status of the LEDs.

Input Param LPWFSTTUSETLEDS lpSetLEDs;

typedef struct _wfs_ttu_set_leds
{
WORD wLED;
WORD fwCommand;
} WFSTTUSETLEDS, * LPWFSTTUSETLEDS;

wLED
Specifies the index of the LED to set.

fwCommand
Specifies the state of the LED, as one of the following flags:

Value Meaning

WFS_TTU_LEDOFF The LED is turned off.

WFS_TTU_LEDSLOWFLASH The LED is set to flash slowly.

WFS_TTU_LEDMEDIUMFLASH The LED is blinking medium frequency.

WFS_TTU_LEDQUICKFLASH The LED is set to flash quickly.

WFS_TTU_LEDCONTINUOUS The LED is turned on continuously (steady).

Output Param None.

Error Codes The following additional error codes can be generated by this command:

Value Meaning

WFS_ERR_TTU_INVALIDLED An attempt to set a LED to a new value was invalid because the LED does not exist.

Events There are no additional events generated by this command.

Comments None.