Keypad Interface.
More...
Keypad Interface.
Definition at line 15 of file Keypad.idl.
◆ getMetaData()
MetaData smartlock::Keypad::getMetaData |
( |
| ) |
|
Retrieve keypad metadata.
- Returns
- metadata
◆ getPIN()
int smartlock::Keypad::getPIN |
( |
out string |
pin | ) |
|
Retrieve last entered PIN from keypad.
PINs are cleared after 10 seconds or subsituted whenever a new PIN was entered.
- Parameters
-
- Returns
- NO_ERROR if OK
-
ERR_SLOT_EMPTY if keypad sees no PIN
◆ ERR_SLOT_EMPTY
constant int smartlock::Keypad::ERR_SLOT_EMPTY = 1 |
no PIN present in keypad
Definition at line 19 of file Keypad.idl.
◆ NO_ERROR
constant int smartlock::Keypad::NO_ERROR = 0 |
Error codes.
operation successful, no error
Definition at line 18 of file Keypad.idl.
The documentation for this interface was generated from the following file: