Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
smartlock::Keypad Interface Reference

Keypad Interface. More...

Classes

struct  MetaData
 Keypad Metadata. More...
 
struct  PINEnteredEvent
 PIN entered event. More...
 

Public Member Functions

MetaData getMetaData ()
 Retrieve keypad metadata. More...
 
int getPIN (out string pin)
 Retrieve last entered PIN from keypad. More...
 

Public Attributes

constant int NO_ERROR = 0
 Error codes. More...
 
constant int ERR_SLOT_EMPTY = 1
 no PIN present in keypad More...
 

Detailed Description

Keypad Interface.

Definition at line 15 of file Keypad.idl.

Member Function Documentation

◆ 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
pinPIN
Returns
NO_ERROR if OK
ERR_SLOT_EMPTY if keypad sees no PIN

Member Data Documentation

◆ 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: