Controls the status LED.
int MT_SetLEDStatus(int fd, PLEDSTATUS pledsts)
int fd
lease specify handle acquired by MT_Open function.
PLEDSTATUS pledsts
Specify a pointer to a structure that stores the status of the status LED to be controlled.
If the function succeeds, the status of the target LED is set.
PLEDSTATUS structure is as follows.
typedef struct {
unsigned char ucSLED;
unsigned char ucSLED1;
unsigned char ucSLED2;
unsigned char ucExt[13];
} LEDSTATUS, *PLEDSTATUS;
Set the status shown in the table below for the member variable ucSLED.
ucExt[13] is not used for reservation.
| Valiable | Support products |
|---|---|
| ucLED | Reserved |
| ucSLED1 |
VPC-1700 Series, VPC-3100 Series, VPC-1800 Series, VPC-3200 Series |
| ucSLED2 |
VPC-1700 Series, VPC-3100 Series, VPC-1800 Series, VPC-3200 Series |
| ucExt[13] | Reserved |
| Definition(mtdll.h) | description |
|---|---|
| SLED_OFF | turning off LED |
| SLED_ON | turning on LED |
If the function succeeds, NO_ERROR is returned.
If the function fails, a code other than NO_ERROR is returned.
The other errors : Error code details
Function List