[Tinyos-help] setting metadata field in the packet

Vijayant Bhatnagar vijayant.rutgers at gmail.com
Mon Dec 3 22:53:53 PST 2007


Hi,
I wish to set tx_power in the metadata. I just checked the specifications of
AMPacket interface, it doesnt have one. Can anyone please guide me on how to
set the metadata field.

I am using tinyos 2-x and I have already information to the tossim packet as
in

typedef nx_struct tossim_metadata {


  nx_uint8_t tx_power;                //Added by vijayant
  nx_uint16_t strength;
  nx_uint8_t ack;
  nx_uint16_t time;
} tossim_metadata_t;

#endif



Any help is appreciated.

Thanks,
Vijayant.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071204/5c3c9acc/attachment.html


More information about the Tinyos-help mailing list