Hi, there
As I am doing the packet loss experiment, the packet length is very
important for me and also the equal probability of 1s and 0s.
I scrutinized the message_t for iris and find that the message header is
nxle_uint8_t length;
nxle_uint16_t fcf;
nxle_uint8_t dsn;
nxle_uint16_t destpan;
nxle_uint16_t dest;
nxle_uint16_t src
nxle_uint8_t type;
footer is
timesync_footer_t timesync;
metadata is
uint8_t flags;
uint8_t lqi;
uint8_t power;
uint32_t timestamp;
Question1: Is this the message type eventually download to the RF chip
buffer and send to the air?
Question2: As I want to keep the probabilities of 1s and 0s are as equal as
possible, my idea is to find the field which has been fixed eg, src fcf dsn
etc. and the difference between the number of 1s and 0s of these field and
compensate in the payload field. I try to find which file to set them, but I
haven't found, someone can give me a clue?
Question3: Is these there filed plus TOSH_DATA_LENGTH equals to the final
packet length? Or we have something else.
Any reply is appreciated
sincerely
Peng
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help