Smart Reader Operation Python engine springcore module springcore
October 29, 2024 at 3:52 AMspringcore
*** PRELIMINARY ***
The springcore
class gives access to most internals of the SpringCore device.
Class documentation
Type | Name | Description |
---|---|---|
Function | getDate |
Return the current date (None if the device does not have an RTC) |
Function | getDateTime |
Return the current date and time (None if the device does not have an RTC) |
Function | getGpio |
Return the current status of a given GPIO input |
Function | getReaderEvent |
Return the event that the reader engine is currently servicing |
Function | getSerialNumber |
Return the serial number of the device |
Function | getTime |
Return the current time (None if the device does not have an RTC) |
Function | has7816 |
Return True is the device has a smart card (ISO/IEC 7816) interface |
Function | hasBarcode |
Return True is the device has a barcode reader |
Function | hasBle |
Return True is the device has a Bluetooth Low Energy (BLE) interface |
Function | hasNetwork |
Return True is the device has a network interface |
Function | hasNfc |
Return True is the device has a NFC (13.56MHz RFID) interface |
Function | hasSerial |
Return True is the device has a Serial interface |
Function | hasDateTime |
Return True is the device has a RTC and the RTC has a valid date/time |
Function | hasTrace |
Return True is the device has a dedicated interface to trace or debug the script |
Function | hasUsb |
Return True is the device has a USB interface |
Function | isGenuine |
Return True is the selt-test result says the hardware is genuine |
Function | isReader |
Return True is the selt-test result is configured for Smart Reader mode |
Function | load |
Load a persistent variable |
Function | play |
Play a given LEDs / buzzer sequence over the UI |
Function | readConfig |
Read a configuration register from the NVM |
Function | setGpio |
Drive a given GPIO output |
Function | save |
Remember a persistent variable |