Hello All,

 Does  CC2420RAM interface help me to write the data into the RAM?

It has these two commands :

command cc2420_status_t *read*(uint8_t offset, uint8_t *data, uint8_t
length)

command cc2420_status_t *write*(uint8_t offset, uint8_t *data, uint8_t
length)

here, how can I get my packet length? and what is the value for "offset"

for packet length I found the following command in "Packet" interface:

command uint8_t
payloadLength<http://www.tinyos.net/tinyos-2.1.0/doc/nesdoc/micaz/ihtml/tos.interfaces.Packet.html#payloadLength>(message_t
*msg)

However, even if this works, I want to get the length of the whole frame of
MICAz and not just the payload length.

Thanks in advance

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

Reply via email to