enweisu / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
1 stars 0 forks source link

LocalIeeeEui64C is not ported to imote2 but CC2420Control uses it #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

It seems that the Dummy Extended Address, named LocalIeeeEui64C, has
been included for micaz, but not for intelmote2.
As the /opt/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlC.nc
file wires it, and since the CC2420ControlP module uses the interface 
LocalIeeeEui64, then while compiling for imote2 it complains.

What steps will reproduce the problem?
--------------------------------------------------------------------
1. ./apps/tutorials/BlinkToRadio/make intelmote2 install.1 openocd

What is the expected output? What do you see instead?
--------------------------------------------------------------------
It should compile, but instead it shows:

In file included from /opt/tinyos-2.x//tos/chips/cc2420/csma/CC2420CsmaC.nc:58,
                from /opt/tinyos-2.x//tos/chips/cc2420/CC2420RadioC.nc:63,
                from
/opt/tinyos-2.x//tos/chips/cc2420/CC2420ActiveMessageC.nc:75,
                from
/opt/tinyos-2.x//tos/platforms/intelmote2/ActiveMessageC.nc:74,
                from BlinkToRadioAppC.nc:60:
In component `CC2420ControlC':
/opt/tinyos-2.x//tos/chips/cc2420/control/CC2420ControlC.nc:99: component 
LocalIeeeEui64C not found
/opt/tinyos-2.x//tos/chips/cc2420/control/CC2420ControlC.nc:100: no match1

What version of the product are you using? On what operating system?
--------------------------------------------------------------------
TinyOS-2.x sources from the repository on May 2011.

Please provide any additional information below.
--------------------------------------------------------------------
A simple work around is to comment lines 99 and 100 in the
configuration 
/opt/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlC.nc,
and lines 50, 135 and 291 in the module
/opt/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlP.nc
plus adding lines 292 and 293
      ieee_eui64_t dummy;
      return dummy;
 to remove the warning of the module.

But extending LocalIeeeEui64C and dependent modules functionality to intelmote2 
would be great!

Original issue reported on code.google.com by SerTeck...@gmail.com on 10 May 2011 at 3:44

GoogleCodeExporter commented 8 years ago
I've ported a copy of LocalIeeeEui64C to the imote2. Please let me know if it 
doesn't work (I do not have intelmote2s to test with).

Original comment by philip.l...@gmail.com on 25 May 2011 at 8:39