Hi everyone,I'm working with tinyos-2.1.1, i have now two version, one taken
from svn (unstable), one taken from cvs.I'm trying to establish an IP
communications between IRIS motes.
The radio on my IRIS in rf230.
I see that BLIP is not properly working (the compiling i\has not done..) for
those platforms because the wirings to the radio is not correct (problems in
BaseStationC.nc and in SerialPacketInfo802_15_4P.nc ).
Here it is the output of 'make iris blip' in $TOSROOT/apps/IPBaseStation:
mkdir -p build/iris
compiling BaseStationC to a iris binary
ncc -o build/iris/main.exe -Os -DPACKET_LINK -DDEF_MEMCPY -DENABLE_SPI0_DMA
-DBLIP_MULTICAST -DCC2420_HW_ACKNOWLEDGEMENTS -DTOSH_DATA_LENGTH=102
-I/opt/tinyos-2.1.1/tos/lib/net/
-I/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/
-I/opt/tinyos-2.1.1/support/sdk/c/blip/libtcp/
-I/opt/tinyos-2.1.1/tos/lib/net/blip/
-I/opt/tinyos-2.1.1/tos/lib/net/blip/interfaces/
-I/opt/tinyos-2.1.1/tos/lib/net/blip/nwprog/
-I/opt/tinyos-2.1.1/tos/lib/net/blip/shell/
-I/opt/tinyos-2.1.1/tos/lib/net/blip/serial/
-I/opt/tinyos-2.1.1/tos/lib/net/blip/platform/
/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/lib6lowpan.c
/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/lib6lowpanIP.c
/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/lib6lowpanFrag.c
/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/in_cksum.c
/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/ip_malloc.c
/opt/tinyos-2.1.1/tos/lib/net/blip/table.c -fnesc-separator=__ -Wall -Wshadow
-Wnesc-all -target=iris -fnesc-cfile=build/iris/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
-DNO_IP_MALLOC -DIEEE154FRAMES_ENABLED -DIDENT_APPNAME=\"BaseStationC\"
-DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"wsn-testbed\"
-DIDENT_USERHASH=0x7a1917aeL -DIDENT_TIMESTAMP=0x4e523e14L
-DIDENT_UIDHASH=0x12e31c9eL -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/iris/wiring-check.xml BaseStationC.nc -lm
BaseStationP.nc:68:20: error: CC2420.h: No such file or directory
In file included from BaseStationC.nc:100:
In component `BaseStationP':
BaseStationP.nc:98: interface CC2420Config not found
In file included from BaseStationC.nc:100:
BaseStationP.nc: In function `ConfigureReceive.receive':
BaseStationP.nc:413: interface has no command or event named `setChannel'
BaseStationP.nc:416: interface has no command or event named `sync'
BaseStationP.nc: At top level:
BaseStationP.nc:434: `syncDone' is not in interface `CC2420Config'
In file included from /opt/tinyos-2.1.1/tos/lib/serial/Serial802_15_4C.nc:43,
from BaseStationC.nc:102:
In component `SerialPacketInfo802_15_4P':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In function
`Info.offset':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:38:
`cc2420_header_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:38: (Each
undeclared identifier is reported only once
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:38: for each
function it appears in.)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In function
`Info.dataLinkLength':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:41:
`cc2420_header_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:41:
`cc2420_footer_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In function
`Info.upperLength':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:44:
`cc2420_header_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:44:
`cc2420_footer_t' undeclared (first use in this function)
Reset.h:56:2: error: #error "Reset.h not defined/supported for your platform,
aborting..."
In component `BaseStationC':
BaseStationC.nc: At top level:
BaseStationC.nc:136: component CC2420ControlC not found
BaseStationC.nc:137: no match
make: *** [exe0] Error 1
---------------------------------------------------------------------------------------------------------------------------------------------
BLIP2.0 does not function with IRIS too.
Here it is the output of 'make iris blip' in $TOSROOT/apps/PppRouter :
compiling PppRouterC to a iris binary
ncc -o build/iris/main.exe -Os -DRPL_ROUTING -DRPL_STORING_MODE
-I/home/wsn/tinyos-main-read-only/tos/lib/net/rpl
-I/home/wsn/tinyos-main-read-only/tos/lib/ppp
-I/home/wsn/tinyos-main-read-only/tos/lib/fragpool -DIN6_PREFIX=\"fec0::\"
-DCC2420_HW_ACKNOWLEDGEMENTS -DCC2420_HW_ADDRESS_RECOGNITION -DPACKET_LINK
-DTOSH_DATA_LENGTH=90 -I/home/wsn/tinyos-main-read-only/tos/lib/net/
-I/home/wsn/tinyos-main-read-only/tos/lib/printf/
-I/home/wsn/tinyos-main-read-only/support/sdk/c/blip/
-I/home/wsn/tinyos-main-read-only/tos/lib/net/blip/
-I/home/wsn/tinyos-main-read-only/tos/lib/net/blip/interfaces/
-I/home/wsn/tinyos-main-read-only/tos/lib/net/blip/nwprog/
-I/home/wsn/tinyos-main-read-only/tos/lib/net/blip/shell/
-I/home/wsn/tinyos-main-read-only/tos/lib/net/blip/serial/
-I/home/wsn/tinyos-main-read-only/tos/lib/net/blip/platform/
-I/home/wsn/tinyos-main-read-only/tos/lib/net/blip/icmp/
-I/home/wsn/tinyos-main-read-only/tos/lib/net/blip/dhcp/
/home/wsn/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/iovec.c
/home/wsn/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/in_cksum.c
/home/wsn/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/ip_malloc.c
/home/wsn/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/utility.c
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/table.c -fnesc-separator=__
-Wall -Wshadow -Wnesc-all -target=iris -fnesc-cfile=build/iris/app.c
-board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param
max-inline-insns-single=100000 -DIDENT_APPNAME=\"PppRouterC\"
-DIDENT_USERNAME=\"wsn\" -DIDENT_HOSTNAME=\"wsn-testbed\"
-DIDENT_USERHASH=0x8f124490L -DIDENT_TIMESTAMP=0x4e523d30L
-DIDENT_UIDHASH=0x75e450fcL -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/iris/wiring-check.xml PppRouterC.nc -lm
/home/wsn/tinyos-main-read-only/tos/system/LedC.nc:32:25: error: PlatformLed.h:
No such file or directory
In file included from PppRouterC.nc:13:
In component `LedC':
/home/wsn/tinyos-main-read-only/tos/system/LedC.nc:88: component PlatformLedC
not found
/home/wsn/tinyos-main-read-only/tos/system/LedC.nc:89: no match
In file included from
/home/wsn/tinyos-main-read-only/tos/lib/timer/MuxAlarmMilli32C.nc:47,
from
/home/wsn/tinyos-main-read-only/tos/lib/ppp/LcpAutomatonC.nc:72,
from
/home/wsn/tinyos-main-read-only/tos/lib/ppp/LinkControlProtocolC.nc:89,
from
/home/wsn/tinyos-main-read-only/tos/lib/ppp/PppDaemonC.nc:65,
from PppRouterC.nc:16:
In component `MuxAlarmMilli32C_':
/home/wsn/tinyos-main-read-only/tos/lib/timer/MuxAlarmMilli32C_.nc:55:
component AlarmMilli32C not found
/home/wsn/tinyos-main-read-only/tos/lib/timer/MuxAlarmMilli32C_.nc:55:
component `AlarmMilli32C' is not generic
/home/wsn/tinyos-main-read-only/tos/lib/timer/MuxAlarmMilli32C_.nc:56: no match
In file included from
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/Ieee154AddressC.nc:6,
from
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPAddressC.nc:28,
from
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPNeighborDiscoveryC.nc:11,
from
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPStackC.nc:47,
from PppRouterC.nc:41:
In component `Ieee154AddressP':
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/Ieee154AddressP.nc:9:
interface CC2420Config not found
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/Ieee154AddressP.nc: In
function `Ieee154Address.setShortAddr':
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/Ieee154AddressP.nc:43:
interface has no command or event named `setShortAddr'
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/Ieee154AddressP.nc:44:
interface has no command or event named `sync'
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/Ieee154AddressP.nc: At top
level:
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/Ieee154AddressP.nc:49:
`syncDone' is not in interface `CC2420Config'
In file included from
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPAddressC.nc:28,
from
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPNeighborDiscoveryC.nc:11,
from
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPStackC.nc:47,
from PppRouterC.nc:41:
In component `Ieee154AddressC':
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/Ieee154AddressC.nc:15:
component CC2420ControlC not found
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/Ieee154AddressC.nc:16: no match
In file included from
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPStackC.nc:48,
from PppRouterC.nc:41:
In component `IPDispatchC':
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPDispatchC.nc:43: component
CC2420RadioC not found
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPDispatchC.nc:58: no match
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPDispatchC.nc:60: cannot find
`BarePacket'
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPDispatchC.nc:61: cannot find
`BareSend'
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPDispatchC.nc:62: cannot find
`BareReceive'
/home/wsn/tinyos-main-read-only/tos/lib/net/blip/IPDispatchC.nc:69: no match
make: *** [exe0] Error 1
-------------------------------------------------------------------------------------------
Anyone uses a STABLE version of tinyos for this issues?
Which version should i use (from CVS, SVN ?...)
Anyone fixed the compatibility between BLIP and IRIS motes?
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help