Grizzly.ZWave.Commands.ZIPPacket.HeaderExtensions.EncapsulationFormatInfo (grizzly v0.19.1) View Source

Encapsulation format info for a Z/IP Packet

Link to this section Summary

Functions

Make a new EncapsulationFormatInfo struct

Make an EncapsulationFormatInfo into a binary

Link to this section Types

Specs

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

Specs

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

Link to this section Functions

Specs

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

Specs

to_binary(t()) :: binary()

Make an EncapsulationFormatInfo into a binary