[][src]Module moteconnection::dispatcher

Packet dispatchers handle different packet structures.

Dispatchers are packet information schemes that are used for a particular purpose. A dispatcher scheme is identified by a specific ID.

The dispatchers provided by this crate by default are:

  • ActiveMessage (ID=0x00)
  • Raw (ID=any)

Modules

am

The ActiveMessage dispatch scheme is used for sending addressed packets.

raw

The raw dispatcher does not interpret the data in the packet.

Structs

DispatchPacket

A packet with the dispatch byte and a payload.

DispatcherHandle

Provides a handle representing the dispatcher for the Connection.

Traits

Dispatcher

Handles the dispatching of messages between the user and the trasport layer.