Component: moteiv.tos.platform.tmote.FramerP

module FramerP

This module provides framing for TOS_Msg's using PPP-HDLC-like framing (see RFC 1662). When sending, a TOS_Msg is encapsulated in an HLDC frame. Receiving is similar EXCEPT that the component expects a special token byte be received before the data payload. The purpose of the token is to feed back an acknowledgement to the sender which serves as a crude form of flow-control. This module is intended for use with the Packetizer class found in tools/java/net/packet/Packetizer.java.

Author:
Phil Buonadonna

Provides
interface BareSendMsg
interface ReceiveMsg
interface StdControl
interface TokenReceiveMsg

Uses
interface ByteComm
interface StdControl as ByteControl
interface Detect
interface TaskBasic as PacketRcvd
interface TaskBasic as PacketSent
interface TaskBasic as PacketUnknown
interface Timer
interface HPLUSARTControl as USARTControl