Skip to main content

Module reply

Module reply 

Source
Expand description

Typed OSDP replies (PD → ACU). See sibling crate::command.

§Spec: §7 / Annex A.2

Re-exports§

pub use ack::Ack;
pub use bio::BioMatchR;
pub use bio::BioReadR;
pub use busy::Busy;
pub use ccrypt::CCrypt;
pub use com::Com;
pub use crauth::CrAuthR;
pub use ft_stat::FtStat;
pub use genauth::GenAuthR;
pub use istat::IStatR;
pub use keypad::Keypad;
pub use lstat::LStatR;
pub use mfg::MfgErrR;
pub use mfg::MfgRep;
pub use mfg::MfgStatR;
pub use nak::Nak;
pub use nak::NakErrorCode;
pub use ostat::OStatR;
pub use pdcap::PdCap;
pub use pdid::PdId;
pub use piv::PivDataR;
pub use raw_card::Fmt;
pub use raw_card::Raw;
pub use rmac_i::RMacI;
pub use rstat::RStatR;
pub use xrd::Xrd;

Modules§

ack
osdp_ACK (0x40). Empty body.
bio
osdp_BIOREADR (0x57) and osdp_BIOMATCHR (0x58).
busy
osdp_BUSY (0x79) — PD is busy. Empty body. SQN must always be 0.
ccrypt
osdp_CCRYPT (0x76) — client cryptogram (PD response to osdp_CHLNG).
com
osdp_COM (0x54) — communications configuration report.
crauth
osdp_CRAUTHR (0x82) — challenge response.
ft_stat
osdp_FTSTAT (0x7A) — file-transfer status.
genauth
osdp_GENAUTHR (0x81) — generic authenticate response (PIV).
istat
osdp_ISTATR (0x49) — input status report.
keypad
osdp_KEYPAD (0x53) — keypad data.
lstat
osdp_LSTATR (0x48) — local status report.
mfg
Manufacturer-specific replies.
nak
osdp_NAK (0x41).
ostat
osdp_OSTATR (0x4A) — output status report.
pdcap
osdp_PDCAP (0x46) — peripheral capabilities.
pdid
osdp_PDID (0x45) — peripheral device identification.
piv
osdp_PIVDATAR (0x80) — PIV data response. Opaque body.
raw_card
osdp_RAW (0x50) and osdp_FMT (0x51) — card data reports.
rmac_i
osdp_RMAC_I (0x78) — initial R-MAC.
rstat
osdp_RSTATR (0x4B) — reader (tamper) status report.
xrd
osdp_XRD (0xB1) — extended-read response.

Enums§

Reply
Typed dispatch over every reply.
ReplyCode
All REPLY byte values from Annex A.2 of the spec.