Hi list,

I've read http://www.tinyos.net/tinyos-2.1.0/doc/html/tep113.html and I want to 
make sure that I understood everything correctly / ask some questions:

1) SerialP CRC field: The guide says "CR = Two-byte CRC over S to end of 
Payload: SerialP". Does this mean that the CRC includes the S (sequence number) 
field?

2) The SerialP documentation states that PC-to-mote communication can/does use 
acknowledgements.
  a) Are acknowledgements mandatory or optional? 
  b) I can't find out how the acknowledgments are represented in the packet 
format (3.6). How do you request an acknowledgment? Are they always send?
  c) How does the actual acknowledgment message look like (packet format)?

3) The SerialP description states "SerialP uses SerialFrameComm to send a 
delimiter between frames". Does this mean that a fragmented packet on 
application layer will result in several packets encapsulated in 
HdlcTranslateC, using different sequence number fields in the SerialP payload 
of HdlcTranslateC?

4) The SerialP description states "SerialP uses SerialFrameComm to send a 
delimiter between frames, a serial-level type field, [...]".
  a) Is the "serial-level type field" the same field as "P = Protocol byte: 
SerialP" in "3.6 Packet Format"? Or is this referring to "D = Packet format 
dispatch byte: SerialDispatcherC"?
  b) In case the "serial-level type field" is not the same as "P = Protocol 
byte: SerialP": What's the purpose of P? What values can it take?

=======
Some background why I'm asking these questions:

I'm currently developing TinyOS support for the WISEBED wireless sensor network 
testbeds (see. http://wisebed.eu). The specific function is that the testbed 
backend shall be able to read individual packets from the nodes stream and 
forward the individual packets to the remote experimenter using the testbed.

As our testbed backend implementation (see 
https://github.com/itm/testbed-runtime) is based on Java and uses 
framing/deframing algorithms implemented using the Netty framework (see 
http://netty.io) I need to re-implement the (de-)framing algorithms used for 
the TinyOS serial communication.
=======

Best regards,
Daniel Bimschas

--
Daniel Bimschas, M.Sc.


UNIVERSITÄT ZU LÜBECK
  INSTITUT FÜR TELEMATIK

  Ratzeburger Allee 160
  23538 Lübeck

  Tel +49 451 500 5387
  Fax +49 451 500 5382
  [email protected]

  http://www.itm.uni-luebeck.de/users/bimschas

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to