[Tinyos-help] Application Surge

Muhammad Mushfekul Islam ms1ms12002 at yahoo.com
Fri Mar 16 05:04:07 PDT 2007


Hi,

I am tring to simulate Surge in TOSSIM.But when i print the pReading->parentaddr it always gives  0xffff.Can any one tell me that why the address is always broadcast?

 
      pReading->parentaddr = call RouteControl.getParent();
          pReading->reading = gSensorData;
      
      if ((call Send.send(&gMsgBuffer,sizeof(SurgeMsg))) != SUCCESS)
    atomic gfSendBusy = FALSE;
    dbg(DBG_USR1, "SurgeM: Parent: 0x%x\n", pReading->parentaddr);
Bye

 
---------------------------------
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070316/81c26af1/attachment.html


More information about the Tinyos-help mailing list