View Source Jeff.Reply (jeff v0.4.0)

Replies are sent from a PD to an ACU in response to a command

NameCodeDescriptionData Type
ACK0x40Command accepted, nothing else to report-
NAK0x41Command not processedErrorCode
PDID0x45PD ID ReportIdReport
PDCAP0x46PD Capabilities Report[Capability]
LSTATR0x48Local Status ReportReport data
ISTATR0x49Input Status ReportReport data
OSTATR0x4AOutput Status ReportReport data
RSTATR0x4BReader Status ReportReport data
RAW0x50Reader Data – Raw bit image of card dataCardData
FMT0x51Reader Data – Formatted character streamCardData
KEYPAD0x53Keypad DataKeypadData
COM0x54PD Communications Configuration ReportComData
BIOREADR0x57Biometric DataBiometric data
BIOMATCHR0x58Biometric Match ResultResult
CCRYPT0x76Client's ID, Random Number, and CryptogramEncryptionClient
BUSY0x79PD is Busy reply-
RMAC_I0x78Initial R-MACEncryption Data
FTSTAT0x7AFile transfer statusStatus details
PIVDATAR0x80PIV Data Replycredential data
GENAUTHR0x81Authentication responseresponse details
CRAUTHR0x82Response to challengeresponse details
MFGSTATR0x83MFG specific statusstatus details
MFGERRR0x84MFG specific errorerror details
MFGREP0x90Manufacturer Specific ReplyAny
XRD0xB1Extended Read ResponseAPDU and details

Link to this section Summary

Link to this section Types

@type code() ::
  177
  | 144
  | 132
  | 131
  | 130
  | 129
  | 128
  | 122
  | 121
  | 120
  | 118
  | 88
  | 87
  | 84
  | 83
  | 81
  | 80
  | 75
  | 74
  | 73
  | 72
  | 70
  | 69
  | 65
  | 64
@type name() ::
  XRD
  | MFGREP
  | MFGERRR
  | MFGSTATR
  | CRAUTHR
  | GENAUTHR
  | PIVDATAR
  | FTSTAT
  | BUSY
  | RMAC_I
  | CCRYPT
  | BIOMATCHR
  | BIOREADR
  | COM
  | KEYPAD
  | FMT
  | RAW
  | RSTATR
  | OSTATR
  | ISTATR
  | LSTATR
  | PDCAP
  | PDID
  | NAK
  | ACK
@type t() :: %Jeff.Reply{address: byte(), code: byte(), data: any(), name: atom()}

Link to this section Functions

@spec code(name()) :: code()
@spec name(code()) :: name()
@spec new(Jeff.Message.t()) :: t()
Link to this function

new(address, code, data \\ nil)

View Source
@spec new(pos_integer(), name() | code(), binary() | nil) :: t()