[Tinyos-help] a question about TYMO protocol
Romain Thouvenin
romain.thouvenin at gmail.com
Wed Jul 2 08:37:39 PDT 2008
See my first response:
I think it is because you need to create the StorageVolumes.h file in
the RadioSenseToLeds directory.
You can have a look at the storage tutorial to know what this is
about, and look in apps/tests/TestTymo/StorageVolumes.h to have
correct values
Moreover, make sure you use the latest TinyOS CVS code, NOT the code
from the tymo project of sourceforge.
Hope this helps,
Romain
On Wed, Jun 18, 2008 at 1:53 PM, mohammed tarek
<elmorsy20022003 at yahoo.com> wrote:
> hiiiiiii
> I am working on my graduate project which is distributed control system
> using wireless network and I am using TYMO protocol to implement a network
> layer in my project and I have used the dymo library and I followed the
> instructions in the lesson associated with this toppic but when I build the
> program the following message appears
>
> Setting up for TinyOS 2.x
>
> mohammed at mohammed-laptop:/opt/tinyos-2.x/apps/smarthouse/RadioSenseToLeds$
> make telosb
>
> mkdir -p build/telosb
>
> compiling RadioSenseToLedsAppC to a telosb binary
>
> ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
> -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
> -fnesc-cfile=build/telosb/app.c -board= -I/opt/tinyos-2.x/tos/lib/net
> -I/opt/tinyos-2.x/tos/lib/net/dymo -I/opt/tinyos-2.x/tos/lib/net/le
> -I/opt/tinyos-2.x/tos/lib/net/ctp -DIDENT_PROGRAM_NAME=\"RadioSenseToLed\"
> -DIDENT_USER_ID=\"mohammed\" -DIDENT_HOSTNAME=\"mohammed-laptop\"
> -DIDENT_USER_HASH=0x7476a828L -DIDENT_UNIX_TIME=0x4858f591L
> -DIDENT_UID_HASH=0xe8e1896aL RadioSenseToLedsAppC.nc -lm
>
> In file included from RadioSenseToLedsAppC.nc:55
>
> :
>
> In component `RadioSenseToLedsC
>
> ':
>
> RadioSenseToLedsC.nc: In function `Boot.booted
>
> ':
>
> RadioSenseToLedsC.nc:71: parameters missing in call to parameterised command
> or event
>
> RadioSenseToLedsC.nc: At top level
>
> :
>
> RadioSenseToLedsC.nc:81: conflicting types for `SplitControl.startDone
>
> '
>
> /
>
> opt/tinyos-2.x/tos/interfaces/SplitControl.nc:92: previous declaration of
> `SplitControl.startDone'
>
> RadioSenseToLedsC.nc:87: conflicting types for `SplitControl.stopDone
>
> '
>
> /
>
> opt/tinyos-2.x/tos/interfaces/SplitControl.nc:117: previous declaration of
> `SplitControl.stopDone'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:26:33: warning: extra tokens at
> end of #ifdef directive
>
> In file included from RadioSenseToLedsAppC.nc:56
>
> :
>
> In component `DymoNetworkC
>
> ':
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:32: interface MHControl not found
>
> In file included from RadioSenseToLedsAppC.nc:56
>
> :
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:39: component MHServiceC not
> found
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoServiceC.nc:6:28: StorageVolumes.h: No such
> file or directory
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:39: failed to preprocess
> /opt/tinyos-2.x/tos/lib/net/DymoServiceC.nc
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:48: cannot find `MHSend'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:49: cannot find `Receive'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:51: cannot find `MHPacket'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:52: cannot find `Packet'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:53: cannot find `Intercept'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:64: cannot find `AMPacket'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:65: cannot find `SubPacket'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:66: cannot find `AMSend'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:67: cannot find `SubReceive'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:68: cannot find `Acks'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:70: cannot find `AMPacket'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:71: cannot find `Packet'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:72: cannot find `AMSend'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:73: cannot find `Receive'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:75: cannot find `LinkMonitor'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:80: cannot find `SplitControl'
>
> /
>
> opt/tinyos-2.x/tos/lib/net/DymoNetworkC.nc:86: cannot find `MHControl'
>
> In component `RadioSenseToLedsAppC
>
> ':
>
> RadioSenseToLedsAppC.nc:63: no match
>
> make: *** [exe0] Error 1
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
More information about the Tinyos-help
mailing list