Re: [Tinyos-help] Node platform based on 128RFA1

2013-04-04 Thread András Bíró
Hi Christian,

If you plan to use RFR2: It should be almost completly compatible with the
RFA1, but I will try it soon.

Andras Biro
http://ucmote.com




On Thu, Apr 4, 2013 at 1:06 AM, Johny Mattsson jmatts...@dius.com.auwrote:

 On 4 April 2013 01:26, Miklos Maroti mmar...@math.u-szeged.hu wrote:

  Creating a platform is not documented


 I beg to differ. TEP 131 is named Creating a New Platform for TinyOS
 2.x, and I found it very useful when I got the Arduino port going!

 Quick link: http://www.tinyos.net/tinyos-2.1.0/doc/html/tep131.html

 Cheers,
 /Johny
 --
 Johny Mattsson
 Senior Software Engineer

 DiUS Computing Pty. Ltd.
 *where ideas are engineered
 *
 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Missing header files when compiling and other errors

2013-04-04 Thread MICHARD Romain 231795
Hi,
As my first message was placed in a different thread, I send another one.

I've installed TinyOS in a new Kubuntu 12.10 machine. I'm typing make micaz 
sim in the /opt/tinyos-2.1.2/apps/Blink directory and I get this:

mkdir -p simbuild/micaz
make: python2.7-config : commande introuvable
make: python2.7-config : commande introuvable
make: python2.7-config : commande introuvable
  placing object files in simbuild/micaz
  writing XML schema to app.xml
  compiling BlinkAppC to object file sim.o
ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim 
-fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) 
-fnesc-gcc=gcc -Wall -Wshadow -Wnesc-all -target=micaz 
-fnesc-cfile=simbuild/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 
--param max-inline-insns-single=10 -DIDENT_APPNAME=\BlinkAppC\ 
-DIDENT_USERNAME=\rmichard\ -DIDENT_HOSTNAME=\rmichard-Virtua\ 
-DIDENT_USERHASH=0x56fde0f4L -DIDENT_TIMESTAMP=0x515af8e8L 
-DIDENT_UIDHASH=0x9caa1ad9L -Wno-nesc-data-race BlinkAppC.nc   
-fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants 
-fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags 
-fnesc-dumpfile=app.xml
/usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or directory
/usr/lib/ncc/nesc_nx.h:62:22: error: inttypes.h: No such file or directory
/usr/lib/ncc/nesc_nx.h:281: syntax error before `__nesc_ntoh_uint8'
/usr/lib/ncc/nesc_nx.h:286: syntax error before `__nesc_hton_uint8'
/usr/lib/ncc/nesc_nx.h:288: warning: type defaults to `int' in declaration of 
`base'
/usr/lib/ncc/nesc_nx.h:288: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:288: warning: data definition has no type or storage 
class

...(here are only the first error lines)

make: *** [sim-exe] Erreur 1

Can anyone help me?
Thanks.

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Multi hop problem

2013-04-04 Thread Omprakash Gnawali
You can look at the source code for protocols such as CTP
(tos/lib/net/ctp) to understand how to do multi-hop forwarding.

- om_p

On Thu, Mar 28, 2013 at 12:00 PM, ravi naik...@gmail.com wrote:
 Hi all,

 I am currently working on Multi Hop networking protocol. Can anyone help me
 with the code to forward a message, i.e., retransmit the same message that
 has been recived by one mote. Its sort of urgent so please revert back to
 this mail.

 Thanks in advance.

 Cheers,
 S. Ravindra Naik

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tinyos-2.1.1 installation on Ubuntu 10.04

2013-04-04 Thread Lynda Algerienne
Hello,

I am trying to install Tinyos-2.1.1. I have got the following errors. Could
someone help me to fix the errors

root@samia-laptop:/opt/tinyos-2.1.1/apps/Blink# make telosb
mkdir -p build/telosb
compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -fnesc-separator=__
-Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c
-board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\BlinkAppC\
-DIDENT_USERNAME=\root\ -DIDENT_HOSTNAME=\samia-laptop\
-DIDENT_USERHASH=0xf5bd20ccL -DIDENT_TIMESTAMP=0x515dac1bL
-DIDENT_UIDHASH=0x60a7c954L -I/usr/lib/gcc/i486-linux-gnu/4.4/include/
-I/usr/msp430/include/ -I/usr/msp430/include/sys/  BlinkAppC.nc -lm
In file included from
/opt/tinyos-2.1.1/tos/chips/msp430/msp430hardware.h:29,
 from /opt/tinyos-2.1.1/tos/platforms/telosb/hardware.h:4,
 from /opt/tinyos-2.1.1/tos/system/SchedulerBasicP.nc:41:
/usr/msp430/include/io.h:1:2: warning: #warning io.h is deprecated,
please include msp430.h
In file included from
/opt/tinyos-2.1.1/tos/chips/msp430/msp430hardware.h:30,
 from /opt/tinyos-2.1.1/tos/platforms/telosb/hardware.h:4,
 from /opt/tinyos-2.1.1/tos/system/SchedulerBasicP.nc:41:
/usr/msp430/include/signal.h:43:2: warning: #warning msp430-libc signal.h
deprecated, using legacymsp430.h
In file included from
/opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:38,
 from /opt/tinyos-2.1.1/tos/system/LedsC.nc:38,
 from BlinkAppC.nc:45:
In component `HplMsp430GeneralIOC':
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax
error before `;'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:321: cannot
find `P30'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:322: cannot
find `P31'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:323: cannot
find `P31'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:324: cannot
find `P32'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:325: cannot
find `P33'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:326: cannot
find `P33'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:327: cannot
find `P34'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:328: cannot
find `P35'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:330: cannot
find `P50'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:331: cannot
find `P51'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:332: cannot
find `P52'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:333: cannot
find `P53'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:334: cannot
find `P36'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:335: cannot
find `P37'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:337: cannot
find `P60'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:338: cannot
find `P61'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:339: cannot
find `P62'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:340: cannot
find `P63'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:341: cannot
find `P64'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:342: cannot
find `P65'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:343: cannot
find `P66'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:344: cannot
find `P67'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:346: cannot
find `P66'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:347: cannot
find `P67'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:349: cannot
find `P67'
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:350: cannot
find `P57'
In component `PlatformLedsC':
/opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:48: cannot find
`Port54'
/opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:51: cannot find
`Port55'
/opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:54: cannot find
`Port56'
make: *** [exe0] Erreur 1
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Tinyos-2.1.1 installation on Ubuntu 10.04

2013-04-04 Thread Eric Decker
what tool chain are you using?

do

msp430-gcc --version

On Thu, Apr 4, 2013 at 10:47 AM, Lynda Algerienne 
lynda.algerie...@gmail.com wrote:

 Hello,

 I am trying to install Tinyos-2.1.1. I have got the following errors.
 Could someone help me to fix the errors

 root@samia-laptop:/opt/tinyos-2.1.1/apps/Blink# make telosb
 mkdir -p build/telosb
 compiling BlinkAppC to a telosb binary
 ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -fnesc-separator=__
 -Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c
 -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\BlinkAppC\
 -DIDENT_USERNAME=\root\ -DIDENT_HOSTNAME=\samia-laptop\
 -DIDENT_USERHASH=0xf5bd20ccL -DIDENT_TIMESTAMP=0x515dac1bL
 -DIDENT_UIDHASH=0x60a7c954L -I/usr/lib/gcc/i486-linux-gnu/4.4/include/
 -I/usr/msp430/include/ -I/usr/msp430/include/sys/  BlinkAppC.nc -lm
 In file included from
 /opt/tinyos-2.1.1/tos/chips/msp430/msp430hardware.h:29,
  from /opt/tinyos-2.1.1/tos/platforms/telosb/hardware.h:4,
  from /opt/tinyos-2.1.1/tos/system/SchedulerBasicP.nc:41:
 /usr/msp430/include/io.h:1:2: warning: #warning io.h is deprecated,
 please include msp430.h
 In file included from
 /opt/tinyos-2.1.1/tos/chips/msp430/msp430hardware.h:30,
  from /opt/tinyos-2.1.1/tos/platforms/telosb/hardware.h:4,
  from /opt/tinyos-2.1.1/tos/system/SchedulerBasicP.nc:41:
 /usr/msp430/include/signal.h:43:2: warning: #warning msp430-libc
 signal.h deprecated, using legacymsp430.h
 In file included from
 /opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:38,
  from /opt/tinyos-2.1.1/tos/system/LedsC.nc:38,
  from BlinkAppC.nc:45:
 In component `HplMsp430GeneralIOC':
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax
 error before `;'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:321: cannot
 find `P30'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:322: cannot
 find `P31'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:323: cannot
 find `P31'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:324: cannot
 find `P32'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:325: cannot
 find `P33'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:326: cannot
 find `P33'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:327: cannot
 find `P34'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:328: cannot
 find `P35'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:330: cannot
 find `P50'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:331: cannot
 find `P51'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:332: cannot
 find `P52'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:333: cannot
 find `P53'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:334: cannot
 find `P36'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:335: cannot
 find `P37'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:337: cannot
 find `P60'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:338: cannot
 find `P61'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:339: cannot
 find `P62'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:340: cannot
 find `P63'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:341: cannot
 find `P64'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:342: cannot
 find `P65'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:343: cannot
 find `P66'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:344: cannot
 find `P67'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:346: cannot
 find `P66'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:347: cannot
 find `P67'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:349: cannot
 find `P67'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:350: cannot
 find `P57'
 In component `PlatformLedsC':
 /opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:48: cannot find
 `Port54'
 /opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:51: cannot find
 `Port55'
 /opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:54: cannot find
 `Port56'
 make: *** [exe0] Erreur 1


 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Missing header files when compiling and other errors

2013-04-04 Thread Eric Decker
i'm pretty sure you need to install build-essential

try doing

sudo apt-get install build-essential


see if that helps.



On Thu, Apr 4, 2013 at 5:56 AM, MICHARD Romain 231795 romain.mich...@cea.fr
 wrote:

  Hi,

 As my first message was placed in a different thread, I send another one.*
 ***

 ** **

 I’ve installed TinyOS in a new Kubuntu 12.10 machine. I’m typing “make
 micaz sim” in the /opt/tinyos-2.1.2/apps/Blink directory and I get this:**
 **

 ** **

 mkdir -p simbuild/micaz

 make: python2.7-config : commande introuvable

 make: python2.7-config : commande introuvable

 make: python2.7-config : commande introuvable

   placing object files in simbuild/micaz

   writing XML schema to app.xml

   compiling BlinkAppC to object file sim.o

 ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim
 -fnesc-nido-tosnodes=1000 -fnesc-simulate
 -fnesc-nido-motenumber=sim_node\(\) -fnesc-gcc=gcc -Wall -Wshadow
 -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb
 -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=10
 -DIDENT_APPNAME=\BlinkAppC\ -DIDENT_USERNAME=\rmichard\
 -DIDENT_HOSTNAME=\rmichard-Virtua\ -DIDENT_USERHASH=0x56fde0f4L
 -DIDENT_TIMESTAMP=0x515af8e8L -DIDENT_UIDHASH=0x9caa1ad9L
 -Wno-nesc-data-race BlinkAppC.nc   -fnesc-dump=components
 -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs
 -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml

 /usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or
 directory

 /usr/lib/ncc/nesc_nx.h:62:22: error: inttypes.h: No such file or directory
 

 /usr/lib/ncc/nesc_nx.h:281: syntax error before `__nesc_ntoh_uint8'

 /usr/lib/ncc/nesc_nx.h:286: syntax error before `__nesc_hton_uint8'

 /usr/lib/ncc/nesc_nx.h:288: warning: type defaults to `int' in declaration
 of `base'

 /usr/lib/ncc/nesc_nx.h:288: `value' undeclared here (not in a function)***
 *

 /usr/lib/ncc/nesc_nx.h:288: warning: data definition has no type or
 storage class

 ** **

 …(here are only the first error lines)

 ** **

 make: *** [sim-exe] Erreur 1

 ** **

 Can anyone help me?

 Thanks.

 ** **

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Missing header files when compiling and other errors

2013-04-04 Thread MICHARD Romain 231795
That was already installed. Nothing better with a new installation.

De : Eric Decker [mailto:cire...@gmail.com]
Envoyé : jeudi 4 avril 2013 20:24
À : MICHARD Romain 231795
Cc : tinyos-help@millennium.berkeley.edu; Eric Decker
Objet : Re: [Tinyos-help] Missing header files when compiling and other errors

i'm pretty sure you need to install build-essential

try doing

sudo apt-get install build-essential


see if that helps.


On Thu, Apr 4, 2013 at 5:56 AM, MICHARD Romain 231795 
romain.mich...@cea.frmailto:romain.mich...@cea.fr wrote:
Hi,
As my first message was placed in a different thread, I send another one.

I've installed TinyOS in a new Kubuntu 12.10 machine. I'm typing make micaz 
sim in the /opt/tinyos-2.1.2/apps/Blink directory and I get this:

mkdir -p simbuild/micaz
make: python2.7-config : commande introuvable
make: python2.7-config : commande introuvable
make: python2.7-config : commande introuvable
  placing object files in simbuild/micaz
  writing XML schema to app.xml
  compiling BlinkAppC to object file sim.o
ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim 
-fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) 
-fnesc-gcc=gcc -Wall -Wshadow -Wnesc-all -target=micaz 
-fnesc-cfile=simbuild/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 
--param max-inline-insns-single=10 -DIDENT_APPNAME=\BlinkAppC\ 
-DIDENT_USERNAME=\rmichard\ -DIDENT_HOSTNAME=\rmichard-Virtua\ 
-DIDENT_USERHASH=0x56fde0f4L -DIDENT_TIMESTAMP=0x515af8e8L 
-DIDENT_UIDHASH=0x9caa1ad9L -Wno-nesc-data-race BlinkAppC.nc   
-fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants 
-fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags 
-fnesc-dumpfile=app.xml
/usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or directory
/usr/lib/ncc/nesc_nx.h:62:22: error: inttypes.h: No such file or directory
/usr/lib/ncc/nesc_nx.h:281: syntax error before `__nesc_ntoh_uint8'
/usr/lib/ncc/nesc_nx.h:286: syntax error before `__nesc_hton_uint8'
/usr/lib/ncc/nesc_nx.h:288: warning: type defaults to `int' in declaration of 
`base'
/usr/lib/ncc/nesc_nx.h:288: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:288: warning: data definition has no type or storage 
class

...(here are only the first error lines)

make: *** [sim-exe] Erreur 1

Can anyone help me?
Thanks.


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edumailto:Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



--
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to read the Link strength

2013-04-04 Thread Gandhimathi Velusamy
Hi,
I want to read the link strength and send the value to switch on the LEDs
in the neighbor nodes. Can I use ReadLqi. interface?. I am little bit
confused  how to use it. Kindly help me .
Thanks
Gandhi
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Missing header files when compiling and other errors

2013-04-04 Thread Eric Decker
On my system (Ubuntu 11.10), I find stddef.h lives in:

find /usr/include/ -iname *stddef*
/usr/include/linux/stddef.h
/usr/include/c++/4.6/cstddef


And stddef.h  comes from the package...

dpkg -S /usr/include/linux/stddef.h
linux-libc-dev: /usr/include/linux/stddef.h



Do you have linux-libc-dev installed?


I looked on line to see if searching google offered any clues but didn't
find much that made sense.




On Thu, Apr 4, 2013 at 12:37 PM, MICHARD Romain 231795 
romain.mich...@cea.fr wrote:

  That was already installed. Nothing better with a new installation.

 ** **

 *De :* Eric Decker [mailto:cire...@gmail.com]
 *Envoyé :* jeudi 4 avril 2013 20:24
 *À :* MICHARD Romain 231795
 *Cc :* tinyos-help@millennium.berkeley.edu; Eric Decker
 *Objet :* Re: [Tinyos-help] Missing header files when compiling and other
 errors

 ** **

 i'm pretty sure you need to install build-essential

 ** **

 try doing

 ** **

 sudo apt-get install build-essential

 ** **

 ** **

 see if that helps.

 ** **

 ** **

 On Thu, Apr 4, 2013 at 5:56 AM, MICHARD Romain 231795 
 romain.mich...@cea.fr wrote:

 Hi,

 As my first message was placed in a different thread, I send another one.*
 ***

  

 I’ve installed TinyOS in a new Kubuntu 12.10 machine. I’m typing “make
 micaz sim” in the /opt/tinyos-2.1.2/apps/Blink directory and I get this:**
 **

  

 mkdir -p simbuild/micaz

 make: python2.7-config : commande introuvable

 make: python2.7-config : commande introuvable

 make: python2.7-config : commande introuvable

   placing object files in simbuild/micaz

   writing XML schema to app.xml

   compiling BlinkAppC to object file sim.o

 ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim
 -fnesc-nido-tosnodes=1000 -fnesc-simulate
 -fnesc-nido-motenumber=sim_node\(\) -fnesc-gcc=gcc -Wall -Wshadow
 -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb
 -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=10
 -DIDENT_APPNAME=\BlinkAppC\ -DIDENT_USERNAME=\rmichard\
 -DIDENT_HOSTNAME=\rmichard-Virtua\ -DIDENT_USERHASH=0x56fde0f4L
 -DIDENT_TIMESTAMP=0x515af8e8L -DIDENT_UIDHASH=0x9caa1ad9L
 -Wno-nesc-data-race BlinkAppC.nc   -fnesc-dump=components
 -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs
 -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml

 /usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or
 directory

 /usr/lib/ncc/nesc_nx.h:62:22: error: inttypes.h: No such file or directory
 

 /usr/lib/ncc/nesc_nx.h:281: syntax error before `__nesc_ntoh_uint8'

 /usr/lib/ncc/nesc_nx.h:286: syntax error before `__nesc_hton_uint8'

 /usr/lib/ncc/nesc_nx.h:288: warning: type defaults to `int' in declaration
 of `base'

 /usr/lib/ncc/nesc_nx.h:288: `value' undeclared here (not in a function)***
 *

 /usr/lib/ncc/nesc_nx.h:288: warning: data definition has no type or
 storage class

  

 …(here are only the first error lines)

  

 make: *** [sim-exe] Erreur 1

  

 Can anyone help me?

 Thanks.

  


 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help**
 **



 

 ** **

 --
 Eric B. Decker
 Senior (over 50 :-) Researcher




-- 
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Tinyos-2.1.1 installation on Ubuntu 10.04

2013-04-04 Thread Eric Decker
TinyOS 2.1.1 is not compatible with msp430-gcc 4.5.3.   Further 4.5.3 has
bugs and 4.6.3 works much better.

You should upgrade to TinyOS 2.1.2 (current release) along with the current
msp430-gcc release which is 4.6.3.

You can get the current 4.6.3 from http://tinyprod.net/repos/debian/



On Thu, Apr 4, 2013 at 10:25 PM, Lynda Algerienne 
lynda.algerie...@gmail.com wrote:

 Dear sir,

 Thank you so much for your help.

 samia@samia-laptop:~$ msp430-gcc --version
 msp430-gcc (GCC) 4.5.3
 Copyright © 2010 Free Software Foundation, Inc.
 Ce logiciel est libre; voir les sources pour les conditions de copie.  Il
 n'y a PAS
 GARANTIE; ni implicite pour le MARCHANDAGE ou pour un BUT PARTICULIER.

 Best regards,


 2013/4/4 Eric Decker cire...@gmail.com


 what tool chain are you using?

 do

 msp430-gcc --version

 On Thu, Apr 4, 2013 at 10:47 AM, Lynda Algerienne 
 lynda.algerie...@gmail.com wrote:

 Hello,

 I am trying to install Tinyos-2.1.1. I have got the following errors.
 Could someone help me to fix the errors

 root@samia-laptop:/opt/tinyos-2.1.1/apps/Blink# make telosb
 mkdir -p build/telosb
 compiling BlinkAppC to a telosb binary
 ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -fnesc-separator=__
 -Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c
 -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\BlinkAppC\
 -DIDENT_USERNAME=\root\ -DIDENT_HOSTNAME=\samia-laptop\
 -DIDENT_USERHASH=0xf5bd20ccL -DIDENT_TIMESTAMP=0x515dac1bL
 -DIDENT_UIDHASH=0x60a7c954L -I/usr/lib/gcc/i486-linux-gnu/4.4/include/
 -I/usr/msp430/include/ -I/usr/msp430/include/sys/  BlinkAppC.nc -lm
 In file included from
 /opt/tinyos-2.1.1/tos/chips/msp430/msp430hardware.h:29,
  from
 /opt/tinyos-2.1.1/tos/platforms/telosb/hardware.h:4,
  from /opt/tinyos-2.1.1/tos/system/SchedulerBasicP.nc:41:
 /usr/msp430/include/io.h:1:2: warning: #warning io.h is deprecated,
 please include msp430.h
 In file included from
 /opt/tinyos-2.1.1/tos/chips/msp430/msp430hardware.h:30,
  from
 /opt/tinyos-2.1.1/tos/platforms/telosb/hardware.h:4,
  from /opt/tinyos-2.1.1/tos/system/SchedulerBasicP.nc:41:
 /usr/msp430/include/signal.h:43:2: warning: #warning msp430-libc
 signal.h deprecated, using legacymsp430.h
 In file included from
 /opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:38,
  from /opt/tinyos-2.1.1/tos/system/LedsC.nc:38,
  from BlinkAppC.nc:45:
 In component `HplMsp430GeneralIOC':
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227:
 syntax error before `;'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:321:
 cannot find `P30'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:322:
 cannot find `P31'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:323:
 cannot find `P31'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:324:
 cannot find `P32'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:325:
 cannot find `P33'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:326:
 cannot find `P33'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:327:
 cannot find `P34'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:328:
 cannot find `P35'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:330:
 cannot find `P50'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:331:
 cannot find `P51'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:332:
 cannot find `P52'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:333:
 cannot find `P53'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:334:
 cannot find `P36'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:335:
 cannot find `P37'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:337:
 cannot find `P60'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:338:
 cannot find `P61'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:339:
 cannot find `P62'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:340:
 cannot find `P63'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:341:
 cannot find `P64'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:342:
 cannot find `P65'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:343:
 cannot find `P66'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:344:
 cannot find `P67'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:346:
 cannot find `P66'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:347:
 cannot find `P67'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:349:
 cannot find `P67'
 /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:350:
 cannot find `P57'
 In component `PlatformLedsC':
 /opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:48: