> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:tinyos-help-
> [EMAIL PROTECTED] On Behalf Of Philip Levis
> Sent: Thursday, June 29, 2006 12:05
> To: [EMAIL PROTECTED]
> Cc: tinyos-help@Millennium.Berkeley.EDU
> Subject: Re: [Tinyos-help] Mate and send_lqi on Telosb/tmote
> 
> On Jun 28, 2006, at 3:51 PM, Ben Kelley wrote:
> 
> > Hi,
> > I'm going through the tutorial on Mate and having some issues with
> > send_lqi
> > (or maybe not) on T-Sky/telosb. If I am reading the documentation
> > right,
> > send_lqi acts as a drop-in for send, and thus the packets forwarded
> > via
> > send_lqi would be output at the root node as the data.  I have run
> > the mica
> > pc sim, and see the traffic just fine using TOSSIM and the
> > VMBufferReader.
> > Now I just get
> >
> > Received UART message containing type NONE, ignoring.
> > Received UART message containing type NONE, ignoring.
> > Received UART message containing type NONE, ignoring.
> >
> > Anytime a message comes over the UART.  I have gotten directly
> > connected
> > nodes to send other UART data and have it recognized.
> >
> > 22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16
> > 38 0A F2
> > 1B F2 1B F3 1B F2 1B F3 1B F3 1B F4 1B F3 1B F3 1B F2 1B
> > 22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16
> > 38 0A F1
> > 1B F3 1B F3 1B F3 1B F2 1B F2 1B F2 1B F3 1B F2 1B F2 1B
> > 22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16
> > 38 0A F3
> > 1B F3 1B F2 1B F3 1B F4 1B F4 1B F4 1B F4 1B F4 1B F4 1B
> > 22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16
> > 38 0A F5
> > 1B F4 1B F4 1B F4 1B F4 1B F4 1B F5 1B F5 1B F4 1B F6 1B
> > 22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16
> > 38 0A F5
> > 1B F5 1B F5 1B F6 1B F6 1B F6 1B F6 1B F6 1B F7 1B F7 1B
> > 22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 55 00 00 00 01 16
> > 38 0A F6
> > 1B F7 1B F7 1B F7 1B F7 1B F7 1B F7 1B F8 1B F7 1B
> >
> > Is a sample from the data via net.tinyos.tools.Listen
> >
> > It's configured at 57600 for the data rate.
> >
> > Also, when I am compiling BombillaTelosB, I see a cannot find
> > MateBufferMsg
> > AM type in the log.
> 
> Because it's using multihop routing, it will me AM_MATEROUTEMSG
> (0x1b): you can see it above in the log, after the address. The
> packet format is:
> 
> 802.15.4 header
> Multihop Header
> 
> I think the problem is that tos/lib/MultihopLQI changed the packet
> format, and I didn't update Mate' to consider this fact. E.g., if you
> look at
> 
> tos/lib/MultihopLQI/Multihop.h
> 
> and
> 
> tos/lib/VM/types/mhop.h
> 
> The structures are different. If you change tos/lib/VM/types/mhop.h
> to be the kind of wasteful
> 
> typedef struct MultihopMsg {
>    uint16_t sourceaddr;
>    uint16_t originaddr;
>    int16_t seqno;
>    int16_t originseqno;
>    uint16_t hopcount;
>    uint8_t data[(TOSH_DATA_LENGTH - 10)];
> } TOS_MHopMsg;
> 
> (wasteful in that it has 16-bit sequence numbers and hopcounts) does
> it work?
> 
> Phil
> 
> 


Thanks for the quick response Phil.  I had several errors (and still do.)

It may be that I don't completely understand all of this yet, so I tried
several things.  First, I just commented out the contents of mhop.h

/*typedef struct MateRouteMsg {
  uint16_t sourceaddr;
  uint16_t originaddr;
  int16_t seqno;
  uint8_t hopcount;
  uint8_t data[]; 
} __attribute__ ((packed)) MateRouteMsg;*/
And pasted in the above for what you sent me
The second time, I just added the MultiHopMsg to the mhop.h file, and it
seemed to compile.  Now I get 
Received UART message containing type UNKNOWN, ignoring.
Received UART message containing type NONE, ignoring.
Received UART message containing type UNKNOWN, ignoring.
Received UART message containing type NONE, ignoring.
Received UART message containing type UNKNOWN, ignoring.
Received UART message containing type NONE, ignoring.
Received UART message containing type UNKNOWN, ignoring.
Received UART message containing type NONE, ignoring.
Received UART message containing type UNKNOWN, ignoring.
Received UART message containing type NONE, ignoring.
Received UART message containing type UNKNOWN, ignoring.

I also tried editing the RouteMsg struct to add the originseqno, but that
just resulted in "Received UART Message containing type UNKOWN, ignoring."
as well.  

If I redefine the MultiHopMsg to be the MateRouteMsg, I can make the logger
report that 

receive error for vm_specific.MateMultiHopMsg (AM type 27): invalid length
message received (too short)

This is what I'm getting over the raw wire with MHMsg replacing MRMsg.

7e 42 22 00 00 00 00 00 7d 5e 00 1b 7d 5d 00 00 00 00 00 00 03 00 00 00 01
16 38 0a 44 1b 45 1b 46 1b 46 1b 47 1b 47 1b 47 1b 48 1b 48 1b 47 1b 19 a7 
7e 
7e 42 22 01 08 2d ff ff 7d 5e 00 1b 7d 5d 00 00 06 00 0b 00 0b 00 01 00 01
16 38 0a ab 1a ac 1a ad 1a ad 1a ad 1a ae 1a ae 1a ad 1a ae 1a ae 1a 4c a5 
7e 
7e 42 22 00 00 00 00 00 7d 5e 00 1b 7d 5d 00 00 00 00 00 00 03 00 00 00 01
16 38 0a 45 1b 46 1b 46 1b 47 1b 47 1b 47 1b 47 1b 47 1b 48 1b 49 1b b5 0f 
7e 
7e 42 22 01 08 34 ff ff 7d 5e 00 1b 7d 5d 00 00 06 00 0d 00 0d 00 01 00 01
16 38 0a ab 1a ac 1a ad 1a ae 1a ad 1a ae 1a ae 1a ad 1a ae 1a ae 1a fb d5 
7e 
7e 42 22 00 00 00 00 00 7d 5e 00 1b 7d 5d 00 00 00 00 00 00 03 00 00 00 01
16 38 0a 46 1b 48 1b 48 1b 49 1b 49 1b 4a 1b 4a 1b 4a 1b 49 1b 4a 1b b4 32 
7e 
7e 42 22 01 08 3a ff ff 7d 5e 00 1b 7d 5d 00 00 06 00 0e 00 0e 00 01 00 01
16 38 0a ab 1a ac 1a ac 1a ad 1a ad 1a ae 1a ae 1a ae 1a ae 1a af 1a b6 4e

#include "MateConstants.h"

/*typedef struct MateRouteMsg {
  uint16_t sourceaddr;
  uint16_t originaddr;
  int16_t seqno;
  int16_t originseqno;
  uint8_t hopcount;
  uint8_t data[]; 
} __attribute__ ((packed)) MateRouteMsg;*/

typedef struct MateRouteMsg {
  uint16_t sourceaddr;
  uint16_t originaddr;
  int16_t seqno;
  int16_t originseqno;
  uint16_t hopcount;
  uint8_t data[(TOSH_DATA_LENGTH - 10)];
} __attribute__ ((packed)) MateRouteMsg;

I think I may be changing too many things without knowing exactly what is
going on.  

Was your intended goal for me just to remove the contents of MateRouteMsg
and add in the MultiHopMsg, or to correct the MateRoute to the MultiHop
format?

I can't help but wonder if this also has something to do with the
AM_BUFFERMSG that my makefile keeps trying to mig.

Here's the log from that particular case.
mkdir -p build/telosb
mkdir -p vm_specific
ncg java "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../contexts"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../languages"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/telo
sb"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/msp4
30"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../sensorboards/sensor
s" "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes/../../MultiHopLQI"
-I%T/lib/VM/components -I%T/lib/VM/opcodes -I%T/lib/VM/contexts
-I%T/lib/VM/types -I%T/lib/VM/interfaces -I%T/lib/Queue -I.
-DSEND_QUEUE_SIZE=8 -DMHOP_QUEUE_SIZE=4 -DTOS_MAX_TASKS_LOG2=4
-I%T/lib/Deluge
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000
-DIDENT_PROGRAM_NAME=\"MateTopLevel\" -DIDENT_USER_ID=\"root\"
-DIDENT_HOSTNAME=\"elecLX132\" -DIDENT_USER_HASH=0x9c76fa57L
-DIDENT_UNIX_TIME=0x44a41bd7L -DIDENT_UID_HASH=0x39b0efbcL -mdisable-hwmul
-I/opt/tinyos-1.x/tos/lib/CC2420Radio -DCC2420_DEF_CHANNEL=26 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -DTOSH_DATA_LENGTH=36
-java-classname=vm_specific.BombillaTelosBVMConstants MateTopLevel.nc
MateConstants.h -o vm_specific/BombillaTelosBVMConstants.java
-DTOSH_DATA_LENGTH=36

msp430-gcc: --section-start=.text=0x4800: linker input file unused because
linking not done
msp430-gcc: --defsym=_reset_vector__=0x4000: linker input file unused
because linking not done
javac vm_specific/BombillaTelosBVMConstants.java
mkdir -p vm_specific
mig java "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../contexts"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../languages"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/telo
sb"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/msp4
30"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../sensorboards/sensor
s" "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes/../../MultiHopLQI"
-I%T/lib/VM/components -I%T/lib/VM/opcodes -I%T/lib/VM/contexts
-I%T/lib/VM/types -I%T/lib/VM/interfaces -I%T/lib/Queue -I.
-DSEND_QUEUE_SIZE=8 -DMHOP_QUEUE_SIZE=4 -DTOS_MAX_TASKS_LOG2=4
-I%T/lib/Deluge
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000
-DIDENT_PROGRAM_NAME=\"MateTopLevel\" -DIDENT_USER_ID=\"root\"
-DIDENT_HOSTNAME=\"elecLX132\" -DIDENT_USER_HASH=0x9c76fa57L
-DIDENT_UNIX_TIME=0x44a41bd7L -DIDENT_UID_HASH=0x39b0efbcL -mdisable-hwmul
-I/opt/tinyos-1.x/tos/lib/CC2420Radio -DCC2420_DEF_CHANNEL=26 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -DTOSH_DATA_LENGTH=36
-java-classname=vm_specific.MateBCastMsg ../../tos/lib/VM/types/Mate.h
MateBCastMsg -o vm_specific/MateBCastMsg.java -DTOSH_DATA_LENGTH=36
msp430-gcc: --section-start=.text=0x4800: linker input file unused because
linking not done
msp430-gcc: --defsym=_reset_vector__=0x4000: linker input file unused
because linking not done
javac vm_specific/MateBCastMsg.java
mkdir -p vm_specific
mig java "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../contexts"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../languages"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/telo
sb"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/msp4
30"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../sensorboards/sensor
s" "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes/../../MultiHopLQI"
-I%T/lib/VM/components -I%T/lib/VM/opcodes -I%T/lib/VM/contexts
-I%T/lib/VM/types -I%T/lib/VM/interfaces -I%T/lib/Queue -I.
-DSEND_QUEUE_SIZE=8 -DMHOP_QUEUE_SIZE=4 -DTOS_MAX_TASKS_LOG2=4
-I%T/lib/Deluge
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000
-DIDENT_PROGRAM_NAME=\"MateTopLevel\" -DIDENT_USER_ID=\"root\"
-DIDENT_HOSTNAME=\"elecLX132\" -DIDENT_USER_HASH=0x9c76fa57L
-DIDENT_UNIX_TIME=0x44a41bd7L -DIDENT_UID_HASH=0x39b0efbcL -mdisable-hwmul
-I/opt/tinyos-1.x/tos/lib/CC2420Radio -DCC2420_DEF_CHANNEL=26 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -DTOSH_DATA_LENGTH=36
-java-classname=vm_specific.MateBufferMsg ../../tos/lib/VM/types/Mate.h
MateBufferMsg -o vm_specific/MateBufferMsg.java -DTOSH_DATA_LENGTH=36
warning: Cannot determine AM type for MateBufferMsg
         (Looking for definition of AM_MATEBUFFERMSG)
msp430-gcc: --section-start=.text=0x4800: linker input file unused because
linking not done
msp430-gcc: --defsym=_reset_vector__=0x4000: linker input file unused
because linking not done
javac vm_specific/MateBufferMsg.java
mkdir -p vm_specific
mig java "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../contexts"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../languages"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/telo
sb"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/msp4
30"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../sensorboards/sensor
s" "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes/../../MultiHopLQI"
-I%T/lib/VM/components -I%T/lib/VM/opcodes -I%T/lib/VM/contexts
-I%T/lib/VM/types -I%T/lib/VM/interfaces -I%T/lib/Queue -I.
-DSEND_QUEUE_SIZE=8 -DMHOP_QUEUE_SIZE=4 -DTOS_MAX_TASKS_LOG2=4
-I%T/lib/Deluge
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000
-DIDENT_PROGRAM_NAME=\"MateTopLevel\" -DIDENT_USER_ID=\"root\"
-DIDENT_HOSTNAME=\"elecLX132\" -DIDENT_USER_HASH=0x9c76fa57L
-DIDENT_UNIX_TIME=0x44a41bd7L -DIDENT_UID_HASH=0x39b0efbcL -mdisable-hwmul
-I/opt/tinyos-1.x/tos/lib/CC2420Radio -DCC2420_DEF_CHANNEL=26 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -DTOSH_DATA_LENGTH=36
-java-classname=vm_specific.MateUARTMsg ../../tos/lib/VM/types/Mate.h
MateUARTMsg -o vm_specific/MateUARTMsg.java -DTOSH_DATA_LENGTH=36
msp430-gcc: --section-start=.text=0x4800: linker input file unused because
linking not done
msp430-gcc: --defsym=_reset_vector__=0x4000: linker input file unused
because linking not done
javac vm_specific/MateUARTMsg.java
mkdir -p vm_specific
mig java "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../contexts"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../languages"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/telo
sb"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/msp4
30"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../sensorboards/sensor
s" "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes/../../MultiHopLQI"
-I%T/lib/VM/components -I%T/lib/VM/opcodes -I%T/lib/VM/contexts
-I%T/lib/VM/types -I%T/lib/VM/interfaces -I%T/lib/Queue -I.
-DSEND_QUEUE_SIZE=8 -DMHOP_QUEUE_SIZE=4 -DTOS_MAX_TASKS_LOG2=4
-I%T/lib/Deluge
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000
-DIDENT_PROGRAM_NAME=\"MateTopLevel\" -DIDENT_USER_ID=\"root\"
-DIDENT_HOSTNAME=\"elecLX132\" -DIDENT_USER_HASH=0x9c76fa57L
-DIDENT_UNIX_TIME=0x44a41bd7L -DIDENT_UID_HASH=0x39b0efbcL -mdisable-hwmul
-I/opt/tinyos-1.x/tos/lib/CC2420Radio -DCC2420_DEF_CHANNEL=26 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -DTOSH_DATA_LENGTH=36
-java-classname=vm_specific.MateMultiHopMsg ../../tos/lib/VM/types/mhop.h
MateRouteMsg -o vm_specific/MateMultiHopMsg.java -DTOSH_DATA_LENGTH=36
msp430-gcc: --section-start=.text=0x4800: linker input file unused because
linking not done
msp430-gcc: --defsym=_reset_vector__=0x4000: linker input file unused
because linking not done
javac vm_specific/MateMultiHopMsg.java
mkdir -p vm_specific
mig java "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../contexts"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../languages"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/telo
sb"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/msp4
30"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../sensorboards/sensor
s" "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes/../../MultiHopLQI"
-I%T/lib/VM/components -I%T/lib/VM/opcodes -I%T/lib/VM/contexts
-I%T/lib/VM/types -I%T/lib/VM/interfaces -I%T/lib/Queue -I.
-DSEND_QUEUE_SIZE=8 -DMHOP_QUEUE_SIZE=4 -DTOS_MAX_TASKS_LOG2=4
-I%T/lib/Deluge
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000
-DIDENT_PROGRAM_NAME=\"MateTopLevel\" -DIDENT_USER_ID=\"root\"
-DIDENT_HOSTNAME=\"elecLX132\" -DIDENT_USER_HASH=0x9c76fa57L
-DIDENT_UNIX_TIME=0x44a41bd7L -DIDENT_UID_HASH=0x39b0efbcL -mdisable-hwmul
-I/opt/tinyos-1.x/tos/lib/CC2420Radio -DCC2420_DEF_CHANNEL=26 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -DTOSH_DATA_LENGTH=36
-java-classname=vm_specific.CapsuleChunkMsg ../../tos/lib/VM/types/Mate.h
MateCapsuleChunkMsg -o vm_specific/CapsuleChunkMsg.java
-DTOSH_DATA_LENGTH=36
msp430-gcc: --section-start=.text=0x4800: linker input file unused because
linking not done
msp430-gcc: --defsym=_reset_vector__=0x4000: linker input file unused
because linking not done
javac vm_specific/CapsuleChunkMsg.java
mkdir -p vm_specific
mig java "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../contexts"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../languages"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/telo
sb"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/msp4
30"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../sensorboards/sensor
s" "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes/../../MultiHopLQI"
-I%T/lib/VM/components -I%T/lib/VM/opcodes -I%T/lib/VM/contexts
-I%T/lib/VM/types -I%T/lib/VM/interfaces -I%T/lib/Queue -I.
-DSEND_QUEUE_SIZE=8 -DMHOP_QUEUE_SIZE=4 -DTOS_MAX_TASKS_LOG2=4
-I%T/lib/Deluge
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000
-DIDENT_PROGRAM_NAME=\"MateTopLevel\" -DIDENT_USER_ID=\"root\"
-DIDENT_HOSTNAME=\"elecLX132\" -DIDENT_USER_HASH=0x9c76fa57L
-DIDENT_UNIX_TIME=0x44a41bd7L -DIDENT_UID_HASH=0x39b0efbcL -mdisable-hwmul
-I/opt/tinyos-1.x/tos/lib/CC2420Radio -DCC2420_DEF_CHANNEL=26 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -DTOSH_DATA_LENGTH=36
-java-classname=vm_specific.CapsuleMsg ../../tos/lib/VM/types/Mate.h
MateCapsuleMsg -o vm_specific/CapsuleMsg.java -DTOSH_DATA_LENGTH=36
msp430-gcc: --section-start=.text=0x4800: linker input file unused because
linking not done
msp430-gcc: --defsym=_reset_vector__=0x4000: linker input file unused
because linking not done
javac vm_specific/CapsuleMsg.java
mkdir -p vm_specific
mig java "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../contexts"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../languages"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/telo
sb"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/msp4
30"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../sensorboards/sensor
s" "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes/../../MultiHopLQI"
-I%T/lib/VM/components -I%T/lib/VM/opcodes -I%T/lib/VM/contexts
-I%T/lib/VM/types -I%T/lib/VM/interfaces -I%T/lib/Queue -I.
-DSEND_QUEUE_SIZE=8 -DMHOP_QUEUE_SIZE=4 -DTOS_MAX_TASKS_LOG2=4
-I%T/lib/Deluge
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000
-DIDENT_PROGRAM_NAME=\"MateTopLevel\" -DIDENT_USER_ID=\"root\"
-DIDENT_HOSTNAME=\"elecLX132\" -DIDENT_USER_HASH=0x9c76fa57L
-DIDENT_UNIX_TIME=0x44a41bd7L -DIDENT_UID_HASH=0x39b0efbcL -mdisable-hwmul
-I/opt/tinyos-1.x/tos/lib/CC2420Radio -DCC2420_DEF_CHANNEL=26 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -DTOSH_DATA_LENGTH=36
-java-classname=vm_specific.CapsuleStatusMsg ../../tos/lib/VM/types/Mate.h
MateCapsuleStatusMsg -o vm_specific/CapsuleStatusMsg.java
-DTOSH_DATA_LENGTH=36
msp430-gcc: --section-start=.text=0x4800: linker input file unused because
linking not done
msp430-gcc: --defsym=_reset_vector__=0x4000: linker input file unused
because linking not done
javac vm_specific/CapsuleStatusMsg.java
    compiling MateTopLevel to a telosb binary
ncc -o build/telosb/main.exe -O -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d
-Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
-DTOSH_DATA_LENGTH=36 "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../contexts"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../languages"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/telo
sb"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../../../platform/msp4
30"
"-I/opt/tinyos-1.x/tos/lib/VM/samples/../sensorboards/../sensorboards/sensor
s" "-I/opt/tinyos-1.x/tos/lib/VM/samples/../opcodes/../../MultiHopLQI"
-I%T/lib/VM/components -I%T/lib/VM/opcodes -I%T/lib/VM/contexts
-I%T/lib/VM/types -I%T/lib/VM/interfaces -I%T/lib/Queue -I.
-DSEND_QUEUE_SIZE=8 -DMHOP_QUEUE_SIZE=4 -DTOS_MAX_TASKS_LOG2=4
-I%T/lib/Deluge
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000
-DIDENT_PROGRAM_NAME=\"MateTopLevel\" -DIDENT_USER_ID=\"root\"
-DIDENT_HOSTNAME=\"elecLX132\" -DIDENT_USER_HASH=0x9c76fa57L
-DIDENT_UNIX_TIME=0x44a41bd7L -DIDENT_UID_HASH=0x39b0efbcL -mdisable-hwmul
-I/opt/tinyos-1.x/tos/lib/CC2420Radio -DCC2420_DEF_CHANNEL=26
MateTopLevel.nc -lm 
/opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:116: warning:
`Send.sendDone' called asynchronously from `sendFailed'
/opt/tinyos-1.x/tos/platform/msp430/ADCM.nc:139: warning:
`MSP430ADC12Single.bind' called asynchronously from `triggerConversion'
/opt/tinyos-1.x/tos/platform/telos/HumidityM.nc:57: warning: non-atomic
accesses to shared variable `state':
/opt/tinyos-1.x/tos/platform/telos/HumidityM.nc:108: warning:   non-atomic
write
/opt/tinyos-1.x/tos/platform/telos/HumidityProtocolM.nc:60: warning:
non-atomic accesses to shared variable `humerror':
/opt/tinyos-1.x/tos/platform/telos/HumidityProtocolM.nc:190: warning:
non-atomic write
/opt/tinyos-1.x/tos/platform/telos/HumidityProtocolM.nc:60: warning:
non-atomic accesses to shared variable `temperror':
/opt/tinyos-1.x/tos/platform/telos/HumidityProtocolM.nc:191: warning:
non-atomic write
/opt/tinyos-1.x/tos/platform/telos/HumidityProtocolM.nc:56: warning:
non-atomic accesses to shared variable `state':
/opt/tinyos-1.x/tos/platform/telos/HumidityProtocolM.nc:192: warning:
non-atomic write
/opt/tinyos-1.x/tos/lib/VM/components/AMPromiscuous.nc: In function
`AMPromiscuous$Control$start':
/opt/tinyos-1.x/tos/lib/VM/components/AMPromiscuous.nc:112: warning: `ok0'
might be used uninitialized in this function
/opt/tinyos-1.x/tos/lib/VM/components/AMPromiscuous.nc:112: warning: `ok1'
might be used uninitialized in this function
/opt/tinyos-1.x/tos/lib/VM/components/AMPromiscuous.nc:112: warning: `ok2'
might be used uninitialized in this function
/opt/tinyos-1.x/tos/lib/VM/components/AMPromiscuous.nc:112: warning: `ok3'
might be used uninitialized in this function
    compiled MateTopLevel to build/telosb/main.exe
           37004 bytes in ROM
            3146 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe
build/telosb/main.ihex
    writing TOS image

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to