kitt v0.3.0 Kitt.Message.CSR View Source

Defines the structure and instantiation function for creating a J2735-compliant Common Safety Request message.

A CSR is a message defining the request for safety information from one DSRC-capable vehicle to another.

Link to this section Summary

Types

t()

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

Functions

Produces a CSR message struct from an equivalent map or keyword input

Returns the CSR identifying atom recognized by the ASN1 spec

Returns the CSR identifying integer

Link to this section Types

Link to this type

request_item()

View Source
request_item() ::
  :reserved
  | :itemA
  | :itemB
  | :itemC
  | :itemD
  | :itemE
  | :itemF
  | :itemG
  | :itemI
  | :itemJ
  | :itemK
  | :itemL
  | :itemM
  | :itemN
  | :itemO
  | :itemP
  | :itemQ
Link to this type

t()

View Source
t() :: %Kitt.Message.CSR{
  id: non_neg_integer(),
  msgCnt: non_neg_integer(),
  regional: [Kitt.Types.regional_extension()],
  requests: [request_item()],
  timeStamp: Kitt.Types.minute_of_year()
}

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

Link to this section Functions

Produces a CSR message struct from an equivalent map or keyword input

Returns the CSR identifying atom recognized by the ASN1 spec

Returns the CSR identifying integer