Keypad Interface.  
 More...
|  | 
| constant int | NO_ERROR = 0 | 
|  | Error codes.  More... 
 | 
|  | 
| constant int | ERR_SLOT_EMPTY = 1 | 
|  | no PIN present in keypad 
 | 
|  | 
◆ 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 
 
 
◆ NO_ERROR
      
        
          | constant int smartlock::Keypad::NO_ERROR = 0 | 
      
 
Error codes. 
operation successful, no error 
 
 
The documentation for this interface was generated from the following file: