View Source Jeff.Command (jeff v0.4.0)

Commands are sent from an ACU to a PD

CodeNameDescriptionData Type
0x60POLLPoll-
0x61IDID Report Request-
0x62CAPPD Capabilities Request[Capability]
0x64LSTATLocal Status Report Request-
0x65ISTATInput Status Report Request-
0x66OSTATOutput Status Report Request-
0x67RSTATReader Status Report Request-
0x68OUTOutput Control CommandOutputSettings
0x69LEDReader Led Control CommandLedSettings
0x6ABUZReader Buzzer Control CommandBuzzerSettings
0x6BTEXTText Output CommandTextSettings
0x6ECOMSETPD Communication Config CommandComSettings
0x73BIOREADScan and Send Biometric DataRequested Return Format
0x74BIOMATCHScan and Match Biometric TemplateBiometric Template
0x75KEYSETEncryption Key Set CommandEncryptionKey
0x76CHLNGChallenge/Secure Session Init RequestChallengeData
0x77SCRYPTServer CryptogramEncryptionData
0x7BACURXSIZEMax ACU receive sizeBuffer size
0x7CFILETRANSFERSend data file to PDFile contents
0x80MFGManufacturer Specific CommandAny
0xA1XWRExtended write dataAPDU and details
0xA2ABORTAbort PD operation-
0xA3PIVDATAGet PIV DataObject details
0xA4GENAUTHRequest AuthenticateRequest details
0xA5CRAUTHRequest Crypto ResponseChallenge details
0xA7KEEPACTIVEPD read activationTime duration

Link to this section Summary

Link to this section Types

@type code() ::
  167
  | 165
  | 164
  | 163
  | 162
  | 161
  | 128
  | 124
  | 123
  | 119
  | 118
  | 117
  | 116
  | 115
  | 110
  | 107
  | 106
  | 105
  | 104
  | 103
  | 102
  | 101
  | 100
  | 98
  | 97
  | 96
@type name() ::
  KEEPACTIVE
  | CRAUTH
  | GENAUTH
  | PIVDATA
  | ABORT
  | XWR
  | MFG
  | FILETRANSFER
  | ACURXSIZE
  | SCRYPT
  | CHLNG
  | KEYSET
  | BIOMATCH
  | BIOREAD
  | COMSET
  | TEXT
  | BUZ
  | LED
  | OUT
  | RSTAT
  | OSTAT
  | ISTAT
  | LSTAT
  | CAP
  | ID
  | POLL
@type t() :: %Jeff.Command{
  address: byte(),
  caller: reference(),
  code: byte(),
  data: binary(),
  name: name()
}

Link to this section Functions

@spec code(name()) :: code()
@spec name(code()) :: name()
Link to this function

new(address, name, params \\ [])

View Source
@spec new(Jeff.osdp_address(), name(), keyword()) :: t()