Hello, On Mon, 2011-05-23 at 12:53 +0200, Miguel Ángel Vázquez wrote: > Dear all, > > Sorry if my question is in the mailing list by I could not find it > clearly explained. Just two questions: > > - I would like to know if the Packet Link interface provides an error > correction communication (i.e. an ACK is only sent when the packet is > received and the CRC is fine). > > - I would also like to know how the CRC is calculated in the > SerialActiveMessage interface.
If I'm not wrong (been quite long since I mess with this): In tos/lib/Serial/SerialP you can start by these calls: rxCRC = crcByte(rxCRC,data); txCRC = crcByte(txCRC,txProto); In tos/system you can find the crc primitives called before. You can go from here. Antonio. > Thank you in advance, > > Miguel Ángel > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
