View Source Grizzly.ZWave.Commands.ZIPPacket.HeaderExtensions.EncapsulationFormatInfo (grizzly v7.4.2)

Encapsulation format info for a Z/IP Packet

Summary

Functions

Make a new EncapsulationFormatInfo struct

Make an EncapsulationFormatInfo into a binary

Types

@type security() ::
  :non_secure
  | :s2_unauthenticated
  | :s2_authenticated
  | :s2_access_control
  | :s0
@type t() ::
  %Grizzly.ZWave.Commands.ZIPPacket.HeaderExtensions.EncapsulationFormatInfo{
    crc16: boolean(),
    security_classes: [security()]
  }

Functions

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

Make a new EncapsulationFormatInfo struct

Link to this function

security_to_security_from_byte(int)

View Source
Link to this function

security_to_security_to_byte(atom)

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

Make an EncapsulationFormatInfo into a binary