Jeff.Reply.LocalStatus (jeff v0.3.0) View Source

Local Status Report

OSDP v2.2 Specification Reference: 7.6

Link to this section Summary

Link to this section Types

Specs

power_code() :: 0 | 1

Specs

power_status() :: :normal | :failure

Specs

t() :: %Jeff.Reply.LocalStatus{power: power_status(), tamper: tamper_status()}

Specs

tamper_code() :: 0 | 1

Specs

tamper_status() :: :normal | :tamper

Link to this section Functions

Specs

decode(binary()) :: t()
Link to this function

new(tamper_code, power_code)

View Source

Specs

new(tamper_code(), power_code()) :: t()