Thank you Antonio, So, as far as I understood, the serial packet interface makes the CRC calculation from the payload given.
As a consequence, BaseStation does not provide the CRC from the radio packet but from the serial itself. Am I right? Cheers, MA El 23 de mayo de 2011 13:09, Antonio Liñán C. <ali...@zolertia.com>escribió: > 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 > > Tinyos-help@millennium.berkeley.edu > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help