View Source Grizzly.ZWave.Commands.ZIPPacket.HeaderExtensions.EncapsulationFormatInfo (grizzly v8.6.6)

Encapsulation format info for a Z/IP Packet

Summary

Functions

Make a new EncapsulationFormatInfo struct

Make an EncapsulationFormatInfo into a binary

Types

security()

@type security() ::
  :non_secure
  | :s2_unauthenticated
  | :s2_authenticated
  | :s2_access_control
  | :s0

t()

@type t() ::
  %Grizzly.ZWave.Commands.ZIPPacket.HeaderExtensions.EncapsulationFormatInfo{
    crc16: boolean(),
    security_classes: [security()]
  }

Functions

new(security, crc16)

@spec new(security(), crc16 :: boolean()) :: t()

Make a new EncapsulationFormatInfo struct

security_to_security_from_byte(int)

security_to_security_to_byte(atom)

to_binary(encapformat)

@spec to_binary(t()) :: binary()

Make an EncapsulationFormatInfo into a binary