Kitt.Message.RSA (kitt v0.4.0) View Source

Defines the structure and instantiation function for creating a J2735-compliant Road Side Alert message

An RSA defines the basic message structure for notifying vehicles in entering the vicinity of an event within the roadway

Link to this section Summary

Types

t()

Defines the structure of a RoadSideAlert message and the data elements comprising its fields

Functions

Produces an RSA message struct from an equivalent map or keyword input

Returns the RSA identifying atom recognized by the ASN1 spec

Returns the RSA identifying integer

Link to this section Types

Specs

t() :: %Kitt.Message.RSA{
  description: [non_neg_integer()],
  extent: Kitt.Types.extent(),
  furtherInfoID: non_neg_integer(),
  heading: Kitt.Types.angle(),
  msgCnt: non_neg_integer(),
  position: Kitt.Types.full_position_vector(),
  priority: non_neg_integer(),
  regional: [Kitt.Types.regional_extension()],
  timeStamp: Kitt.Types.minute_of_year(),
  typeEvent: non_neg_integer()
}

Defines the structure of a RoadSideAlert message and the data elements comprising its fields

Link to this section Functions

Specs

new(map() | keyword()) :: t()

Produces an RSA message struct from an equivalent map or keyword input

Specs

type() :: atom()

Returns the RSA identifying atom recognized by the ASN1 spec

Specs

type_id() :: non_neg_integer()

Returns the RSA identifying integer