[Tinyos-help] Strength and localization

Tarek Mohamed Salah El-Din Mansour tarek.mansour at student.guc.edu.eg
Mon Jul 2 05:23:19 PDT 2007


hi,
i am working on my bachelor project about localization in wireless sensor networks using mica2 motes. I have problems obtaining the strength and measuring it and to adjust it.
All i know is that in the RfmToIntM.nc i change the part :

event TOS_MsgPtr ReceiveIntMsg.receive(TOS_MsgPtr m) {
    IntMsg *message = (IntMsg *)m->data;
    call IntOutput.output(message->val);
to:
event TOS_MsgPtr ReceiveIntMsg.receive(TOS_MsgPtr m) {
    IntMsg *message = (IntMsg *)m->strength;
    call IntOutput.output(message->val);
i receive signals on the leds not regular at all, so i was wondering if i can adjust it by ranges or distance?

Another question is how can i change from integer to binary? i would be more than happy if anyone send me coding or papers on similar topic -> localization.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070702/43304ee0/attachment.htm


More information about the Tinyos-help mailing list