event void flushDone();
}
-It also provides interfaces for configuring the serial port. *NOTE:
-These are not codified yet, and so working out the UART HIL seems like
-a good idea.*
+It may provide additional interfaces for configuring the serial
+port. This TEP does not consider this topic.
3.2 Encoder/Framer: HdlcTranslateC
Upon receiving an interframe delimiter and a new frame's header,
SerialP signals the upper layer indicating that a packet is
-arriving. For each byte received, SerialP signals byteReceived(). (Note:
-SerialP signals on byte k-2 when byte k arrives, because the
-implementation precludes it from knowing when it has encountered the
-2-byte CRC in the frame footer until after it has received it. Lagging
-behind by two bytes makes it possible to hide all frame details from
-the upper layer.) Once SerialP receives the complete frame it signals
-endPacket with a value of SUCCESS. If instead it loses sync during
-reception it signals endPacket with FAIL.
+arriving. For each byte received, SerialP signals byteReceived().
+Once SerialP receives the complete frame it signals endPacket with a
+value of SUCCESS. If instead it loses sync during reception it signals
+endPacket with FAIL.
SerialP acknowledges frames it receives. Acknowledgements have a
higher priority than data transmissions and consequently, data frames
.. [TEP116] TEP 116: Packet Protocols. tinyos-2.x/doc/txt/tep116.txt
+.. [TEP117] TEP 117: Low-Level I/O. tinyos-2.x/doc/txt/tep117.txt
+
.. [HDLC] International Organization For Standardization, ISO Standard 3309-1979, "Data communication - High-level data link control procedures - Frame structure", 1979.
.. [RFC1662] PPP in HDLC-like Framing, Internet Engineering Task Force (IETF), 1994