Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-25 Thread Luís Pereira
Hi Rafael

I don't have a ttyUSB1 on /dev/ only USB0. Is this a problem with my computer?

Thanks for your help so far
Luís Pereira

On 26/10/2011, Rafael de Oliveira Costa  wrote:
> I will say something like Igglezakis. here serial works on ttyUSB1 and to
> deploy ttyUSB0
>
> Rafael de Oliveira Costa, M.Sc. Student
> PPGI - UFRJ
> Rio de Janeiro, RJ, Brazil
> http://www.labnet.nce.ufrj.br
> "The first step to getting the things you want out of life is this : decide
> what you want", Ben Stein
>
>
>
> 2011/10/25 Luís Pereira 
>
>> Hi Igglezakis,
>>
>> Sorry but here only ttyUSB0 exist. I have no USB1.
>> By the way i'm using archlinux but i don't think that is the problem.
>>
>>
>> Luís Pereira
>>
>>
>>
>> On Tue, Oct 25, 2011 at 23:07, Igglezakis Antonios
>> wrote:
>>
>>>  Try
>>> java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB1:tmote
>>>
>>> instead.
>>> FTDI creates 2 USB ports, one for reading and one for writing!
>>>
>>>  On 10/26/2011 12:48 AM, Luís Pereira wrote:
>>>
>>> Hi Rafael,
>>>
>>>  well when I run motelist i have:
>>>
>>>  Reference  Device   Description
>>> --  -
>>> M4MWCK4F   /dev/ttyUSB0 Moteiv Telos (Rev A 2004-04-27)
>>>
>>>  Then i run:
>>>
>>>  java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:tmote
>>>
>>>  and i got:
>>>
>>>  serial@/dev/ttyUSB0:115200: resynchronising
>>>
>>>  and the leds of the mote stop blinking.
>>>
>>> Luís Pereira
>>>
>>>
>>> 2011/10/25 Rafael de Oliveira Costa 
>>>
 Hi Luís,

 please show what command did you executed.

 Rafael de Oliveira Costa, M.Sc. Student
 PPGI - UFRJ
 Rio de Janeiro, RJ, Brazil
 http://www.labnet.nce.ufrj.br
  "The first step to getting the things you want out of life is this :
 decide what you want", Ben Stein



 2011/10/24 Luís Pereira 

>  Hi All,
>
>  I'm starting a project at my school using telosa. I'm trying to do the
> tutorial and i got stuck in lesson 4.
>
>  I can't receive data from telosa. When I try
> "java.net.tinyos.tools.Listen" or "java TestSerial" or even the
> serialForwarder programs it shows me the "resynchronizing" message and
> nothing else happens. With the application that the mote blinks it's
> leds in
> an binary count, when i try to connect it stops counting.
>
>  I already search in all the mailing list i nothing i found about this
> solve my problem.
>
>  Can anyone help me please?
>
>  Thanks for your help
> Luís Pereira
>
>  ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


>>>
>>>
>>> ___
>>> Tinyos-help mailing
>>> listTinyos-help@millennium.berkeley.eduhttps://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 mailing list
>> Tinyos-help@millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>


-- 
Luís Pereira

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


[Tinyos-help] Urgent! How to generate PWM signal to excite a sensor on IRIS ?

2011-10-25 Thread hafid bbbbbbbbb
Hi everybody,
I want to excite a sound transmitter  with a train of N pulses at about 17.5 - 
20KHZ. So, I made a basic sensorboard as described here 
http://www.etantdonnes.com/Motes/MicaBOB/  to get all the 51 pins connector 
pins and after consulting the atmega1281 datasheet i noticed that manipulating 
the timer/ counter registers is the only way to generate such a signal 
(PWM). Therefore, I have a couple of questions:
Which timer is most suitable in my case without interfering with the Radio  and 
TimerMillic and other components using timers?
Is there any interfaces to manipulate safely these registers in tinyos 2.1? 
any similar example, or code snippet  ? 
Please shareyour experience with me.
Thanks in advance for your help.
Massinissa___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-25 Thread Rafael de Oliveira Costa
I will say something like Igglezakis. here serial works on ttyUSB1 and to
deploy ttyUSB0

Rafael de Oliveira Costa, M.Sc. Student
PPGI - UFRJ
Rio de Janeiro, RJ, Brazil
http://www.labnet.nce.ufrj.br
"The first step to getting the things you want out of life is this : decide
what you want", Ben Stein



2011/10/25 Luís Pereira 

> Hi Igglezakis,
>
> Sorry but here only ttyUSB0 exist. I have no USB1.
> By the way i'm using archlinux but i don't think that is the problem.
>
>
> Luís Pereira
>
>
>
> On Tue, Oct 25, 2011 at 23:07, Igglezakis Antonios 
> wrote:
>
>>  Try
>> java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB1:tmote
>>
>> instead.
>> FTDI creates 2 USB ports, one for reading and one for writing!
>>
>>  On 10/26/2011 12:48 AM, Luís Pereira wrote:
>>
>> Hi Rafael,
>>
>>  well when I run motelist i have:
>>
>>  Reference  Device   Description
>> --  -
>> M4MWCK4F   /dev/ttyUSB0 Moteiv Telos (Rev A 2004-04-27)
>>
>>  Then i run:
>>
>>  java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:tmote
>>
>>  and i got:
>>
>>  serial@/dev/ttyUSB0:115200: resynchronising
>>
>>  and the leds of the mote stop blinking.
>>
>> Luís Pereira
>>
>>
>> 2011/10/25 Rafael de Oliveira Costa 
>>
>>> Hi Luís,
>>>
>>> please show what command did you executed.
>>>
>>> Rafael de Oliveira Costa, M.Sc. Student
>>> PPGI - UFRJ
>>> Rio de Janeiro, RJ, Brazil
>>> http://www.labnet.nce.ufrj.br
>>>  "The first step to getting the things you want out of life is this :
>>> decide what you want", Ben Stein
>>>
>>>
>>>
>>> 2011/10/24 Luís Pereira 
>>>
  Hi All,

  I'm starting a project at my school using telosa. I'm trying to do the
 tutorial and i got stuck in lesson 4.

  I can't receive data from telosa. When I try
 "java.net.tinyos.tools.Listen" or "java TestSerial" or even the
 serialForwarder programs it shows me the "resynchronizing" message and
 nothing else happens. With the application that the mote blinks it's leds 
 in
 an binary count, when i try to connect it stops counting.

  I already search in all the mailing list i nothing i found about this
 solve my problem.

  Can anyone help me please?

  Thanks for your help
 Luís Pereira

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

>>>
>>>
>>
>>
>> ___
>> Tinyos-help mailing 
>> listTinyos-help@millennium.berkeley.eduhttps://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 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] Fwd: [Errno 84] Invalid or incomplete multibyte or wide character

2011-10-25 Thread Stefano Moret
Hi, 

About the problem reported below, running "strace tos-bsl --telosb -c 
 -e" I get (I just copied the part where the error generates):

open("/dev/ttyUSB0", O_RDWR|O_NOCTTY|O_NONBLOCK|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 -opost -isig -icanon -echo ...}) 
= 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 -opost -isig -icanon -echo ...}) 
= 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 -opost -isig -icanon -echo ...}) 
= 0
ioctl(3, SNDCTL_TMR_START or TCSETS, {B9600 -opost -isig -icanon -echo ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 -opost -isig -icanon -echo ...}) 
= 0
ioctl(3, TIOCMBIS, [TIOCM_RTS]) = -1 EILSEQ (Invalid or incomplete 
multibyte or wide character)
write(2, "\nAn error occoured:\n[Errno 84] I"..., 81
An error occoured:
[Errno 84] Invalid or incomplete multibyte or wide character
) = 81
close(3)= 0
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x8075730, [], 0}, 8) = 0
exit_group(1) 

Any suggestions about how to solve this?

Thanks, 
Stefano

Inizio messaggio inoltrato:

> Da: Stefano Moret 
> Data: 20 ottobre 2011 12.25.12 GMT-07.00
> A: tinyos-help@millennium.berkeley.edu
> Oggetto: [Errno 84] Invalid or incomplete multibyte or wide character
> 
> Hi,
> 
> I'm working on MAC OS X 10.6.8 with Ubuntu 10.10 running on VMWare virtual 
> machine, from where I use TinyOS to program Crossbow TelosB motes.
> Until two days ago I could smoothly compile and install programs on the 
> motes, even if just on one of my two USB ports.
> Starting from yesterday, I can't install on any of the 2 ports. If I try to 
> install any program, I get the error reported below (the same error I before 
> got only on the non-working USB port).
> 
> 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=\"stefanomoret\" -DIDENT_HOSTNAME=\"stefanomoret-vi\" 
> -DIDENT_USERHASH=0x9c9854afL -DIDENT_TIMESTAMP=0x4ea07294L 
> -DIDENT_UIDHASH=0x63b884ecL  BlinkAppC.nc -lm 
> compiled BlinkAppC to build/telosb/main.exe
> 2618 bytes in ROM
>   56 bytes in RAM
> msp430-objcopy --output-target=ihex build/telosb/main.exe 
> build/telosb/main.ihex
> writing TOS image
> cp build/telosb/main.ihex build/telosb/main.ihex.out
> found mote on /dev/ttyUSB0 (using bsl,auto)
> installing telosb binary using bsl
> tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out
> MSP430 Bootstrap Loader Version: 1.39-telos-8
> Mass Erase...
> 
> An error occoured:
> [Errno 84] Invalid or incomplete multibyte or wide character
> make: *** [program] Error 1
> 
> I made different trials, trying to install other programs, other motes,... 
> but none of them led to any results. I'm stuck on this issue at the moment.
> Do you have any suggestion?
> 
> Thanks, regards
> Stefano
> 
> 

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

Re: [Tinyos-help] Different compilers within the same TinyOS-2.1

2011-10-25 Thread Eric Decker
On Tue, Oct 25, 2011 at 11:25 AM, David Rodenas Herráiz  wrote:

>  Hi everyone
>
> I am working with Imote2 and MicaZ motes and I want to ask if PXA27x
> (compiler for Imote2) Atmel AVR tools (compiler or MicaZ) might work within
> the same TinyOS-2.1 installation.
>

Sure.   The toolchain invoked is determined by switches in the .platform
file for the platform being compiled.

So it should work fine.


>
> Thanks in advance
>
> David
>
> ___
> 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] Problem with serial communication using telosa

2011-10-25 Thread Luís Pereira
Hi Igglezakis,

Sorry but here only ttyUSB0 exist. I have no USB1.
By the way i'm using archlinux but i don't think that is the problem.


Luís Pereira


On Tue, Oct 25, 2011 at 23:07, Igglezakis Antonios wrote:

>  Try
> java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB1:tmote
>
> instead.
> FTDI creates 2 USB ports, one for reading and one for writing!
>
>  On 10/26/2011 12:48 AM, Luís Pereira wrote:
>
> Hi Rafael,
>
>  well when I run motelist i have:
>
>  Reference  Device   Description
> --  -
> M4MWCK4F   /dev/ttyUSB0 Moteiv Telos (Rev A 2004-04-27)
>
>  Then i run:
>
>  java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:tmote
>
>  and i got:
>
>  serial@/dev/ttyUSB0:115200: resynchronising
>
>  and the leds of the mote stop blinking.
>
> Luís Pereira
>
>
> 2011/10/25 Rafael de Oliveira Costa 
>
>> Hi Luís,
>>
>> please show what command did you executed.
>>
>> Rafael de Oliveira Costa, M.Sc. Student
>> PPGI - UFRJ
>> Rio de Janeiro, RJ, Brazil
>> http://www.labnet.nce.ufrj.br
>>  "The first step to getting the things you want out of life is this :
>> decide what you want", Ben Stein
>>
>>
>>
>> 2011/10/24 Luís Pereira 
>>
>>>  Hi All,
>>>
>>>  I'm starting a project at my school using telosa. I'm trying to do the
>>> tutorial and i got stuck in lesson 4.
>>>
>>>  I can't receive data from telosa. When I try
>>> "java.net.tinyos.tools.Listen" or "java TestSerial" or even the
>>> serialForwarder programs it shows me the "resynchronizing" message and
>>> nothing else happens. With the application that the mote blinks it's leds in
>>> an binary count, when i try to connect it stops counting.
>>>
>>>  I already search in all the mailing list i nothing i found about this
>>> solve my problem.
>>>
>>>  Can anyone help me please?
>>>
>>>  Thanks for your help
>>> Luís Pereira
>>>
>>>  ___
>>> Tinyos-help mailing list
>>> Tinyos-help@millennium.berkeley.edu
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>>
>
>
> ___
> Tinyos-help mailing 
> listTinyos-help@millennium.berkeley.eduhttps://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 mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-25 Thread Igglezakis Antonios

Try
java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB1:tmote

instead.
FTDI creates 2 USB ports, one for reading and one for writing!

On 10/26/2011 12:48 AM, Luís Pereira wrote:

Hi Rafael,

well when I run motelist i have:

Reference  Device   Description
--  -
M4MWCK4F   /dev/ttyUSB0 Moteiv Telos (Rev A 2004-04-27)

Then i run:

java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:tmote

and i got:

serial@/dev/ttyUSB0:115200: resynchronising

and the leds of the mote stop blinking.

Luís Pereira


2011/10/25 Rafael de Oliveira Costa >


Hi Luís,

please show what command did you executed.

Rafael de Oliveira Costa,M.Sc. Student
PPGI - UFRJ
Rio de Janeiro, RJ, Brazil
http://www.labnet.nce.ufrj.br 
"The first step to getting the things you want out of life is this
: decide what you want", Ben Stein



2011/10/24 Luís Pereira mailto:luispereira@gmail.com>>

Hi All,

I'm starting a project at my school using telosa. I'm trying
to do the tutorial and i got stuck in lesson 4.

I can't receive data from telosa. When I try
"java.net.tinyos.tools.Listen" or "java TestSerial" or even
the serialForwarder programs it shows me the "resynchronizing"
message and nothing else happens. With the application that
the mote blinks it's leds in an binary count, when i try to
connect it stops counting.

I already search in all the mailing list i nothing i found
about this solve my problem.

Can anyone help me please?

Thanks for your help
Luís Pereira

___
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 mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-25 Thread Luís Pereira
Hi Rafael,

well when I run motelist i have:

Reference  Device   Description
--  -
M4MWCK4F   /dev/ttyUSB0 Moteiv Telos (Rev A 2004-04-27)

Then i run:

java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:tmote

and i got:

serial@/dev/ttyUSB0:115200: resynchronising

and the leds of the mote stop blinking.

Luís Pereira


2011/10/25 Rafael de Oliveira Costa 

> Hi Luís,
>
> please show what command did you executed.
>
> Rafael de Oliveira Costa, M.Sc. Student
> PPGI - UFRJ
> Rio de Janeiro, RJ, Brazil
> http://www.labnet.nce.ufrj.br
> "The first step to getting the things you want out of life is this : decide
> what you want", Ben Stein
>
>
>
> 2011/10/24 Luís Pereira 
>
>>  Hi All,
>>
>> I'm starting a project at my school using telosa. I'm trying to do the
>> tutorial and i got stuck in lesson 4.
>>
>> I can't receive data from telosa. When I try
>> "java.net.tinyos.tools.Listen" or "java TestSerial" or even the
>> serialForwarder programs it shows me the "resynchronizing" message and
>> nothing else happens. With the application that the mote blinks it's leds in
>> an binary count, when i try to connect it stops counting.
>>
>> I already search in all the mailing list i nothing i found about this
>> solve my problem.
>>
>> Can anyone help me please?
>>
>> Thanks for your help
>> Luís Pereira
>>
>> ___
>> 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

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-25 Thread Rafael de Oliveira Costa
Hi Luís,

please show what command did you executed.

Rafael de Oliveira Costa, M.Sc. Student
PPGI - UFRJ
Rio de Janeiro, RJ, Brazil
http://www.labnet.nce.ufrj.br
"The first step to getting the things you want out of life is this : decide
what you want", Ben Stein



2011/10/24 Luís Pereira 

> Hi All,
>
> I'm starting a project at my school using telosa. I'm trying to do the
> tutorial and i got stuck in lesson 4.
>
> I can't receive data from telosa. When I try "java.net.tinyos.tools.Listen"
> or "java TestSerial" or even the serialForwarder programs it shows me the
> "resynchronizing" message and nothing else happens. With the application
> that the mote blinks it's leds in an binary count, when i try to connect it
> stops counting.
>
> I already search in all the mailing list i nothing i found about this solve
> my problem.
>
> Can anyone help me please?
>
> Thanks for your help
> Luís Pereira
>
> ___
> 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] Different compilers within the same TinyOS-2.1

2011-10-25 Thread David Rodenas Herráiz

Hi everyone
I am working with Imote2 and MicaZ motes and I want to ask if PXA27x (compiler 
for Imote2) Atmel AVR tools (compiler or MicaZ) might work within the same 
TinyOS-2.1 installation. 
Thanks in advance
David ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] message struct and send ack problem

2011-10-25 Thread Amin Amin
Hi,
The same problem.
The default size of data is 28 bytes, when i use a value superior than this
value, the problem appears.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Blink compilation using TOSSIM

2011-10-25 Thread Giuseppe Cardone
Hi Omkar,

please refer to the online doc:

http://docs.tinyos.net/tinywiki/index.php/TOSSIM#You_do_not_have_the_needed_Python_support_installed

- Giuseppe

On 10/25/2011 09:19 AM, Omkar raiker wrote:
> hello m stuck with an error while compiling Blink application in tossim
>
> inside directory /opt/tinyos-2.x/apps/Blink
> when i give a command "$make micaz sim"
>
> 1st i get an error
>
> make:python2.6-config: Command not found
> make:python2.6-config: Command not found
> make:python2.6-config: Command not found
>
>
> and at the end /opts/tinyos-2.x/tos/lib/
> tossim/tossim_wrap.cxx:139:. fatal error :python.h :no such file or
> directory
> compilation terminated.
> make:***[sim-exe]Error 1
>
> Someone please help me ...
>
> Thank you
>
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

-- 
Giuseppe Cardone, Ph.D. Student
DEIS-LIA - University of Bologna
E-mail: giuseppe.card...@unibo.it
Web: http://lia.deis.unibo.it/Staff/GiuseppeCardone/
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] help please

2011-10-25 Thread Bíró András
Hi Hau!

You should compile the JNI libraries for your platform (it's
precompiled in the tinyos-tools package, but only for x86 platforms),
and add it to your java libraries. You can found it in
/tools/tinyos/java/env and /tools/tinyos/java/serial.

But I think it's easier to compile the c version of serialforwarder
(/support/sdk/c/sf), and you can connect to the c serialforwarder with
your java code (I used this methode successfully with an NSLU2).

Andris

On Tue, Oct 25, 2011 at 5:14 AM, hao liu  wrote:
> I have already booted angstrom on beagle board xM which has USB ports.
> I want to plug the telosb into the USB port of the beagle board and use the
> java listener " net.tinyos.tools.Listen "to listen the serial port of the
> USB.
> I did not install TinyOS tools kit on the angstrom (because I do not know
> how to install, I only know how to install on Ubuntu), instead I install the
> jamVM on angstrom begaleboard and copy the java package which include the
> java listener to the angstrom beagle board. I try to run the java listener
> program, however it does not work.
> I can not make it work, does anybody has experience in this?
> Thanks
> Hao
> ___
> 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


Re: [Tinyos-help] Blink compilation using TOSSIM

2011-10-25 Thread Igglezakis Antonios
The python-dev package is not installed. Try to install python-dev 
package, using cygwin installation wizard, or using the package manager 
of your linux distribution. That package have to be version 2.6.


-Antonios

On 10/25/2011 02:33 PM, Andrew Robinson wrote:
That error message most likely indicates that Python isn't installed / 
cannot be found.


What platform are you running this on?

Can you run python from the command line? (simply type python)

- Andrew


On Tue, Oct 25, 2011 at 3:17 AM, Omkar raiker > wrote:


hello m stuck with an error while compiling Blink application in
tossim

inside directory /opt/tinyos-2.x/apps/Blink
when i give a command "$make micaz sim"

1st i get an error

make:python2.6-config: Command not found
make:python2.6-config: Command not found
make:python2.6-config: Command not found


and at the end
/opts/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:139:. fatal error
:python.h :no such file or directory
compilation terminated.
make:***[sim-exe]Error 1

Someone  please help me ...

Thank you



___
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 mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Blink compilation using TOSSIM

2011-10-25 Thread Andrew Robinson
That error message most likely indicates that Python isn't installed /
cannot be found.

What platform are you running this on?

Can you run python from the command line? (simply type python)

- Andrew


On Tue, Oct 25, 2011 at 3:17 AM, Omkar raiker wrote:

> hello m stuck with an error while compiling Blink application in tossim
>
> inside directory /opt/tinyos-2.x/apps/Blink
> when i give a command "$make micaz sim"
>
> 1st i get an error
>
> make:python2.6-config: Command not found
> make:python2.6-config: Command not found
> make:python2.6-config: Command not found
>
>
> and at the end /opts/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:139:. fatal
> error :python.h :no such file or directory
> compilation terminated.
> make:***[sim-exe]Error 1
>
> Someone  please help me ...
>
> Thank you
>
>
>
> ___
> 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] GPS and mts420cc

2011-10-25 Thread Sinan Yildirim
Hi all,

I have *MTS420CC* sensorboard and my current platform is *MicaZ*. As far as
I know, current version of tinyos (2.1.1) does not include drivers for the
*Ublox lea-4A *chip (GPS receiver) for MTS420CC. Are there any improvements
for this sensor board? Is there any way to get GPS data using MTS420CC on
MicaZ? Any drivers for Ublox chip?

Thanks in advance,

-- 

*Sinan *
http://efe.ege.edu.tr/~sinanyil
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] message struct and send ack problem

2011-10-25 Thread Amin Amin
Hi all,

The messages structure are:
A>B
typedef nx_struct pair_msg
{
 nx_uint16_t src_add_msg;
  nx_uint8_tr[30];
  nx_uint8_ts[30];
} pair_msg;
B-->A
typedef nx_struct ack_msg
{
nx_uint16_t src_add_msg;
//nx_uint8_tr[30];
//nx_uint8_ts[30];
} ack_msg;

I used in Makefile this:  CFLAGS += -DTOSH_DATA_LENGTH=64



2011/10/24, Rafael de Oliveira Costa :
> Hi Amin,
>
> How do you send ack ? I use the interface called PacketAcknowledgements from
> AMSenderC and its works fine to me
>
> Rafael de Oliveira Costa, M.Sc. Student
> PPGI - UFRJ
> Rio de Janeiro, RJ, Brazil
> http://www.labnet.nce.ufrj.br
> "The first step to getting the things you want out of life is this : decide
> what you want", Ben Stein
>
>
>
> On Mon, Oct 24, 2011 at 8:18 AM, Amin Amin  wrote:
>
>>
>>
>>   Hi,
>>>
 I have changed variable TOS_DATA_LENGHT dans Makefile, but the problem
 is
 same.


>>
>> ___
>> 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] Running shell script in Ubuntu from a java program

2011-10-25 Thread Ashish Sharma
Hello,

I am developing a java program where I need to execute commands like
'make telosb install /dev/USBx', etc. from the java program. Since, to
execute the make command we need to be in the respective folder
(Oscilloscope, BaseStation, etc), I decided to write a shell script
and execute it from the java program. But, I am getting error message
'make: No rule to make target 'telosb'. Stop.'

Any suggestions on this? Why such error message or how can I run
multiple commands from the java program so that I can execute commands
like make?

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


[Tinyos-help] Call for Contributions EWSN 2012: Industrial Demos/ Research Demos / Posters

2011-10-25 Thread Anna Förster
**
CALL FOR INDUSTRIAL DEMO, RESEARCH DEMO AND POSTER CONTRIBUTIONS
European Conference on Wireless Sensor Networks
February 15-17, 2012
Trento, Italy

IMPORTANT DEADLINES:

Industrial Demo/Research Demo/Poster 
proposal due:   December 5, 2011
Acceptance notification:December 15, 2011

All submission deadlines are at 23:59:59 UTC/GMT-11 hours (Samoa-Apia time, the 
last one to change the date on Earth).

All deadlines are HARD
No extension will be granted

***
DETAILED INFORMATION
on individual calls:

***
Industrial demos: http://ewsn12.disi.unitn.it/callforindustrialdemos.html
This year the EWSN conference will continue with the successful Industrial 
Demonstrations. The main goal for this session is to showcase industrial 
research and development in the area of wireless sensor networks, and to 
stimulate cooperation between industry and academia, especially small and 
medium enterprises. The purpose is also to increase the innovation strength of 
Europe and across the globe.

***
Research demos: http://ewsn12.disi.unitn.it/callfordemos.html
The demonstration session at EWSN is typically very well attended and is one of 
the highlights of the conference.  If you are a systems researcher who is bored 
with producing slides, and you would rather show off great code, working 
systems, useful tools, crazy flying objects, new platforms, and any other 
technologies related to EWSN, then the demo session is the place for you! 
Submissions from industry and universities are encouraged!

***
Posters: http://ewsn12.disi.unitn.it/callforposters.html
The poster session at EWSN provides a forum for researchers to present their 
work and receive feedback from experts attending the conference. The areas of 
interest are the same as the main track (see the call for papers for details). 
We explicitly encourage submissions from students.

***
--
Dr. Anna Förster
PostDoctoral Researcher
Networking Laboratory, SUPSI
Via Cantonale, Galleria 2
Manno, Switzerland
Tel. + 41 58 666 6597
http://www.dti.supsi.ch/~afoerste/


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


[Tinyos-help] Blink compilation using TOSSIM

2011-10-25 Thread Omkar raiker
hello m stuck with an error while compiling Blink application in tossim

inside directory /opt/tinyos-2.x/apps/Blink
when i give a command "$make micaz sim"

1st i get an error

make:python2.6-config: Command not found
make:python2.6-config: Command not found
make:python2.6-config: Command not found


and at the end /opts/tinyos-2.x/tos/lib/
tossim/tossim_wrap.cxx:139:. fatal error :python.h :no such file or
directory
compilation terminated.
make:***[sim-exe]Error 1

Someone  please help me ...

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

[Tinyos-help] Blink compilation using TOSSIM

2011-10-25 Thread Omkar raiker
hello m stuck with an error while compiling Blink application in tossim

inside directory /opt/tinyos-2.x/apps/Blink
when i give a command "$make micaz sim"

1st i get an error

make:python2.6-config: Command not found
make:python2.6-config: Command not found
make:python2.6-config: Command not found


and at the end /opts/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:139:. fatal
error :python.h :no such file or directory
compilation terminated.
make:***[sim-exe]Error 1

Someone  please help me ...

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

[Tinyos-help] Problem with serial communication using telosa

2011-10-25 Thread Luís Pereira
Hi All,

I'm starting a project at my school using telosa. I'm trying to do the
tutorial and i got stuck in lesson 4.

I can't receive data from telosa. When I try "java.net.tinyos.tools.Listen"
or "java TestSerial" or even the serialForwarder programs it shows me the
"resynchronizing" message and nothing else happens. With the application
that the mote blinks it's leds in an binary count, when i try to connect it
stops counting.

I already search in all the mailing list i nothing i found about this solve
my problem.

Can anyone help me please?

Thanks for your help
Luís Pereira
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] help please

2011-10-25 Thread hao liu
I have already booted angstrom on beagle board xM which has USB ports.

I want to plug the telosb into the USB port of the beagle board and use the
java listener " net.tinyos.tools.Listen "to listen the serial port of the
USB.

I did not install TinyOS tools kit on the angstrom (because I do not know
how to install, I only know how to install on Ubuntu), instead I install the
jamVM on angstrom begaleboard and copy the java package which include the
java listener to the angstrom beagle board. I try to run the java listener
program, however it does not work.

I can not make it work, does anybody has experience in this?

Thanks

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