Hi
while compiling "BoundaryM.nc" file in "tos/lib/XMeshBin/BoundaryM.nc" location 
.
 command uint8_t BoundaryI.get_tos_cc_txpower() {#if defined(PLATFORM_MICA2) 
\  || defined(PLATFORM_MICA2DOT) \  || defined(PLATFORM_M9100) \  || 
defined(PLATFORM_M4100)      return call CC1000Control.GetRFPower();#elif 
defined(PLATFORM_MICAZ) \  || defined(PLATFORM_M2100) \  || 
defined(PLATFORM_MICAZB)      return TOS_CC2420_TXPOWER;#elif 
defined(PLATFORM_MICAZC) \  || defined(PLATFORM_M2110)      return 
TOS_RF230_TXPOWER;#endif     return 0;  }
I am getting error
/opt/MoteWorks/tos/lib/XMeshBin/BoundaryM.nc:117: `TOS_CC2420_TXPOWER' 
undeclared (first use in this 
function)/opt/MoteWorks/tos/lib/XMeshBin/BoundaryM.nc:117: (Each undeclared 
identifier is reported only 
once/opt/MoteWorks/tos/lib/XMeshBin/BoundaryM.nc:117: for each function it 
appears in.)
Do we need to declare TXPOWER at the beginning.Help me to fix this error. With 
regards      Sivasankar  

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to