PPNet.Message.SingleCounter (pp_net v0.1.5)

Copy Markdown View Source

This module defines the PPNet.Message.SingleCounter struct and provides functions to parse a binary or list representation of a SingleCounter message into this struct.

Summary

Types

t()

@type t() :: %PPNet.Message.SingleCounter{
  datetime: DateTime.t(),
  duration_ms: integer(),
  kind: String.t(),
  pulses: integer(),
  value: any()
}

The PPNet.Message.SingleCounter struct

Fields

  • kind - The kind of the counter
  • value - The value of the counter
  • pulses - The number of pulses
  • duration_ms - The duration of the counter in milliseconds
  • datetime - The timestamp when the counter message was sent