Get status-LED status.
int MT_GetLEDStatus(int fd,PLEDSTATUS pledsts)
int fd
Please specify handle acquired by MT_Open function.
PLEDSTATUS pledsts
Specify the Pointer to the structure that stores the status LED status
PLEDSTATUS structure is as follows.
typedef struct {
unsigned char ucSLED;
unsigned char ucL1;
unsigned char ucL2;
unsigned char ucExt[13];
} LEDSTATUS, *PLEDSTATUS;
The status shown in the table below is stored for the member variable ucSLED.
ucExt[13] is not used for reservation. Depending on the model, the member variable that stores the LED status information is different.
Ignore the value of the member variable of the machine not compatible.
| Valiable | Support products |
|---|---|
| ucSLED | BX-956S Series, PT-956S Series, BX-825 Series, BX-U200 Series BX-T210 Series, BX-M1500 Series, BX-M2500 Series, BX-T3000 Series, PT-M1xSA-210 Series |
| ucL1 | BX-320 Series |
| ucL2 | BX-320 Series |
| ucExt[13] | Reserved *CPS-BXC200 Series |
| Definition (mtdll.h) | description |
|---|---|
| SLED_OFF | turning off LED |
| SLED_ON | turning on LED |
| SLED_BLINK1* | blinking LED |
If the function succeeds, NO_ERROR is returned.
If the function fails, DRIVER_FAIL is returned.
The other errors : Error code details
Function List