Aleksandar Kovacevic wrote:
> Can someone please tell me how the exact look of the raw packet should 
> look like in order for mote to understand/realize that the packet is sent.
> so far what I know is:
> 01. byte:7E - Frame delimiter
> 02. byte: 43-45: Packet type (serial_proto_ack,serial_proto_noack, 
> defined in serial.h)
> 03. byte: 00 Leading zero
> 04. byte FF  Destination, 2 bytes
> 05. byte FF  Destination, 2 bytes
> 06. byte 00  Source, 2 bytes
> 07. byte 00  Source, 2 bytes
> 08. byte 01 length
> 09. byte 00 groupID
> 10. byte 09 msg-type
> 11. byte BA payload, in this case 1 byte, defined in 8th byte
> 12. byte AB CRC, 2 bytes
> 13. byte CD CRC, 2 bytes (not counting HDLCs, frame delimiters and 
> escape bytes)
> 14. byte 7E Frame delimiter
> 
> Where am I wrong?
> I really need answer for this cause I spent definitely enormous amount 
> of time to find what seems to be the problem.
> 
> Thanks in advance,
> Aleksandar

The serial packet format is described in TEP 113 
(http://www.tinyos.net/teps/doc/html/tep113.html).  Note that motes will 
only accept packets with protocol SERIAL_PROTO_PACKET_ACK.

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

Reply via email to