If you can use Java (or even just read and translate...) look at:
    tools/java/net/tinyos/packet/Packetizer.java  which uses:
    tools/java/net/tinyos/util/Crc.java
to format and send messages to TOSBase.
MS


Imanol Padillo wrote:

Hi everybody
I trying to send messages from the PC to the TOS_Base. I've the TinyOS 1.x and micaz motes. The thing is that I've to create the messages I send via UART and I don't know if I've to send the CRC bytes too. If I have to send them I wanted to know the functions to calculate the CRC. I've found some of these functions but I don't know exactly which of them is using. I've found an archive which the UART is using (tinyos-1.x\tos\platform\avrmote -> crc.h) but I don't understand why is using this one. If somebody could help me... thank you in advance Imanol


LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com <http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/>


------------------------------------------------------------------------

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

Reply via email to