Skip to main content

Module router

Module router 

Source
Expand description

BTP (Basic Transport Protocol) Router — ETSI EN 302 636-5-1.

The BTP router sits between the Facilities layer (CAM, DENM, …) and the GeoNetworking layer. It adds/strips 4-byte BTP-A or BTP-B headers and dispatches received packets to registered port callbacks.

Like the GN router, this is implemented as a single-threaded actor. All interaction goes through the BTPRouterHandle.

§BTP-A vs BTP-B

  • BTP-A (CommonNH::BtpA): carries a source port field. Used for connection-oriented / acknowledged communication.
  • BTP-B (CommonNH::BtpB): carries a destination port info field instead of a source port. Used for connectionless broadcast (CAM, DENM).

Structs§

BTPRouterHandle
Router

Enums§

BTPRouterInput