Hi,All:
typedef struct TOS_Msg
{
/* The following fields are transmitted/received on the radio. */
uint8_t length;
uint8_t fcfhi;
uint8_t fcflo;
uint8_t dsn;
uint16_t destpan;
uint16_t addr;
uint8_t type;
uint8_t group;
int8_t data[TOSH_DATA_LENGTH];
/* The following fields are not actually transmitted or received
* on the radio! They are used for internal accounting only.
* The reason they are in this structure is that the AM interface
* requires them to be part of the TOS_Msg that is passed to
* send/receive operations.
*/
uint8_t strength;
uint8_t lqi;
bool crc;
bool ack;
uint16_t time;
} __attribute((packed)) TOS_Msg;
eg. I use the struct TOS_Msg in function ReceiveMsg.receive(TOS_MsgPtr
recv_packet)
{
}
as above shows, what's the meaning of uint16_t time in struct TOS_Msg under
the circumstances ?
Thanks,
Huiliang
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help