[Tinyos-help]:why does TOS_LOCAL_ADDRESS become 0 not 1?

Renee Azhen azhen_renee at yahoo.com.cn
Mon Dec 10 16:51:19 PST 2007


Dear all:
  
in opt\tinyos-1.x\tos\system\tos.h, here is the definition:
  uint16_t TOS_LOCAL_ADDRESS =1;
   
  but when I use dbg(DBG_USR1, "0x%02x\n", TOS_LOCAL_ADDRESS); to print the value, the printed result is 0x00, not 0x01.
   
  Do anyone know why??
   
  Thanks
  Sam

       
---------------------------------
进入雅虎游戏嘉年华,赢取液晶显示器! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071211/f75b2883/attachment.html


More information about the Tinyos-help mailing list