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 ucL1;
unsigned char ucL2;
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.
| Variable | Support products |
|---|---|
| ucLED | BX-220 Series, BX-830 Series, BX-956S Series, PT-956S Series, BX-825 Series, BX-U200 Series, BX-T1000 Series, BX-T210 Series, BX-M1500 Series, BX-T3000 Series, PT-M1xSA-210 Series, BX-T310-J Series, BX-M310-J Series, PT-MxxWA-310/PT-FxxSA-320 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, a code other than NO_ERROR is returned.
The other errors : Error code details
Function List