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

Local Status Report

OSDP v2.2 Specification Reference: 7.6

Link to this section Summary

Link to this section Types

@type power_code() :: 0 | 1
@type power_status() :: :normal | :failure
@type t() :: %Jeff.Reply.LocalStatus{power: power_status(), tamper: tamper_status()}
@type tamper_code() :: 0 | 1
@type tamper_status() :: :normal | :tamper

Link to this section Functions

@spec decode(<<_::16>>) :: t()
Link to this function

new(tamper_code, power_code)

View Source
@spec new(tamper_code(), power_code()) :: t()