M500 USER MANUAL AND PROGRAMMER SDK
Page 21
bool
LogIn
(bool bLogin)
When true the unit will scan when a card is inserted (normal operation).
When false the unit will not scan when a card is inserted.
void
UserLED
(E_LED eLED)
Controls the center LEDs. First generation units only have a blue LED. Second generation units will also
have a white LED. In addition to on and off one can also blink the user LEDs. The parameter E_LED is an
enumeration value:
LED_USR_OFF,
// Both blue and white LEDs OFF
LED_USR1_ON,
// Blue LED on. (white OFF)
LED_USR2_ON,
// White LED on. (blue OFF)
LED_USR1_BLINK,
// Blink blue LED (white OFF)
LED_USR2_BLINK,
// Blink white LED (blue OFF)
void
UserBeep
(E_BEEP eBeep)
Creates a beep sound. The E_BEEP enumeration has three values:
BEEP_1,
BEEP_2,
BEEP_3,
bool
EjectCard
()
Starts the card eject procedure as if one had pressed the eject button.
This allows the application to try to eject a stuck card without the user having to press the eject button.
void
GetVer
(out M500_VER ver)
Gets the E-Seek serial number (
EsSerNum
)
, Silicon serial number (
DsSerNum),
DLL version, Barcode
decoder version, firmware version, and hardware version as defined by the
M500_VER
structure.
The members of the M500_VER structure that may be of intrest to the deverloper are:
ulong EsSerNum;
// E-Seek serial number
//
byte DllMajor;
// DLL version number
byte DllMinor;
byte DllBuild;
byte FwMajor;
// Firmware version number
byte FwMinor;
byte FwBuild;
// Always zero
void
ProgFlash
(NULL)
For manufacting a string with a filename of the flash image is passed.
For developers pass NULL instead of a string to update the firmware from the embedded image in the
DLL.