View Source Jeff.Reply.Capabilities (jeff v0.5.0)

Peripheral Device Capabilities Report

OSDP v2.2 Specification Reference: 7.5

See OSDP v2.2 Specification Annex B for capability function definitions

Link to this section Summary

Link to this section Types

@type biometrics() ::
  :none | :fingerprint_template_1 | :fingerprint_template_2 | :iris_template_1
@type card_data_format() :: :bits | :bcd | :bits_or_bcd
Link to this type

check_character_support()

View Source
@type check_character_support() :: :crc | :checksum
Link to this type

communication_security()

View Source
@type communication_security() :: %{
  aes128?: boolean(),
  default_aes128_key?: boolean()
}
Link to this type

contact_status_monitoring()

View Source
@type contact_status_monitoring() :: %{
  inputs: non_neg_integer(),
  compliance:
    :unsupervised | :unsupervised_configurable | :supervised | :supervised_eol
}
@type osdp_version() :: :unspecified | :"IEC 60839-11-5" | :"SIA OSDP 2.2" | byte()
@type output_control() :: %{
  outputs: non_neg_integer(),
  compliance: :direct | :direct_configurable | :timed | :timed_configurable
}
Link to this type

reader_audible_control()

View Source
@type reader_audible_control() :: :on_off | :timed
@type reader_led_control() :: %{
  leds_per_reader: non_neg_integer(),
  compliance: :on_off | :timed | :timed_bi_color | :timed_tri_color
}
@type reader_text_control() :: %{
  displays_per_reader: non_neg_integer(),
  supported?: boolean(),
  rows: non_neg_integer(),
  characters: non_neg_integer()
}
@type smart_card_support() :: %{
  extended_packet?: boolean(),
  transparent_reader?: boolean()
}
@type t() :: %{
  :functions => [pos_integer()],
  optional(:contact_status_monitoring) => contact_status_monitoring(),
  optional(:output_control) => output_control(),
  optional(:card_data_format) => card_data_format(),
  optional(:reader_led_control) => reader_led_control(),
  optional(:reader_audible_control) => reader_audible_control(),
  optional(:reader_text_control) => reader_text_control(),
  optional(:time_keeping) => boolean(),
  optional(:check_character_support) => check_character_support(),
  optional(:communication_security) => communication_security(),
  optional(:receive_buffer_size) => non_neg_integer(),
  optional(:largest_combined_message_size) => non_neg_integer(),
  optional(:smart_card_support) => smart_card_support(),
  optional(:readers) => non_neg_integer(),
  optional(:biometrics) => biometrics(),
  optional(:secure_pin_entry_support) => boolean(),
  optional(:osdp_version) => osdp_version()
}

Link to this section Functions

@spec decode(binary()) :: t()