Re: [Tinyos-help] sending packets via Tython

2007-06-07 Thread Sarfraz Nawaz
Have you started GenericComm? On 6/7/07, Faisal Karim [EMAIL PROTECTED] wrote: Hi Sarfraz Thanks. Things worked out fine and now im able to send messages via tython (at least tython prompt says send msg :) Now the problem arises that node 20 is not receiving the message following is my code

Re: [Tinyos-help] sending packets via Tython

2007-06-07 Thread Faisal Karim
Hi Yap im using GenericComm. Secondly if im using some timer in my .nc file and send message via that file the msg is received and sent as well. Looking Forward Faisal - Original Message From: Sarfraz Nawaz [EMAIL PROTECTED] To: Faisal Karim [EMAIL PROTECTED] Cc: tinyos help

RE: [Tinyos-help] How to use MIG with telosb for tinyos1.x

2007-06-07 Thread Oussama Chougna
Why don't try it first on the command line? In your makefile you don't specify a target for mig. (telosa, telosb, etc.) Mig java -target=telosb -java-classname=foo fooheader.h FooMSG -o foo.java O.Chougna _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Tinyos-help] sending packets via Tython

2007-06-07 Thread Sarfraz Nawaz
It works properly on tinyos-1.1.15cvsdec. Maybe you can send your code and I can try it out on my setup. On 6/7/07, Faisal Karim [EMAIL PROTECTED] wrote: Hi Yap im using GenericComm. Secondly if im using some timer in my .nc file and send message via that file the msg is received and sent as

[Tinyos-help] serial data reception on atmega microcontroller

2007-06-07 Thread Dipti
Dear all, I want to send serial data from a microcontroller to the atmega microcontroller on a mica2 mote via the SPI interface. The mica2 mote is basically a slave in this serial data transfer which just receives the serial data sent by another master microcontroller and forwards the

[Tinyos-help] [tiyOs 1-x]

2007-06-07 Thread vazoumana fofana
hello , i m newbie in tinyos and i want to know something. I have to deploy a full application wich senste temperature in a space and communicate it to the base station via the sensors. I try do compile some applications in the tutorial to be familiar with tinyos. tjhere are some parts which

[Tinyos-help] TOSSIM import Error

2007-06-07 Thread Javier Almansa Sobrino
Hi everybody. I'm using TOSSIM 2.x with python for simulate an application and I need to inject packages. In my Makefie, I have this: BUILD_EXTRA_DEPS = gatewayES_t.py COMPONENT=gatewayAppC include $(MAKERULES) gatewayES_t.py: gateway.h mig python -target=$(PLATFORM)

Re: [Tinyos-help] TOSSIM import Error

2007-06-07 Thread Javier Almansa Sobrino
On Thu, 7 Jun 2007 12:16:03 +0200 Javier Almansa Sobrino [EMAIL PROTECTED] wrote: Hi everybody. I'm using TOSSIM 2.x with python for simulate an application and I need to inject packages. In my Makefie, I have this: BUILD_EXTRA_DEPS = gatewayES_t.py COMPONENT=gatewayAppC include

[Tinyos-help] which component and which interface to use for high frequency ANALOG ADC Sampling

2007-06-07 Thread Vipin Kashyap
Hi ! Can someone tell me which component (like IBADC/ADCREFM/SamplerC/ADCC etc) and which interface (like ADC/ADConvert etc) do i need to use for sampling ANALOG ADC at a rate higher than or equal to 1500 samples per second. Please help urgently. Thanks Regards, -- Vipin Kashyap

RE: [Tinyos-help] Compiling Blink for micaz

2007-06-07 Thread M.Soledad Escolar Díaz
Hi, In my installation, I have found the sfr_defs.h file in the /usr/avr/include/avr directory but sbi(), cbi()... are not there. As I told you the only place I could find them is in $TOSDIR/platform/pc/hardware.h for 'pc' platform. I have installed the next packages: avr-gcc-3.4.3-1

[Tinyos-help] mig problem - cant find .h file

2007-06-07 Thread
Hi I am facing difficulties to generate the class file. Following msg shown: In file included from /opt/tinyos-1.x/tos/system/tos.h:144: /opt/tinyos-1.x/tos/platform/telosb/hardware.h:7:25: CC2420Const.h: No such file or directory commandline: failed to preprocess

[Tinyos-help] [Fwd: Re: [Tinyos-2-commits] i need help for uart interface with micaz motes]

2007-06-07 Thread moorthyd
Original Message Subject: Re: [Tinyos-2-commits] i need help for uart interface with micaz motes From:Philip Levis [EMAIL PROTECTED] Date:Thu, June 7, 2007 1:21 am To: [EMAIL PROTECTED]

[Tinyos-help] Two dismatches between nesC and MIG.

2007-06-07 Thread Zhifeng Lai
Dear All, Can anyone confirm that my finding of two data type dismatches in interpreting messages between nesC programs and MIG in TinyOS 1.1.13 is correct? (My OS is WinXP + SP2.) (1) MIG regards “int” type as 16-bit data , while nesC treat it as 32 bits. (2) In the following

[Tinyos-help] Serial Packet Weirdness

2007-06-07 Thread Federico Spadini
Hi Guys, So I am trying to write a c# interface for the iMote ActiveMessage serial stack (so namely just a little packet parser so I can send and read data from the motes). On the mote side I have written a small program wired to SerialActiveMessageC that can receive three different types of

[Tinyos-help] TOSSIM Error [sim-exe] Error 2

2007-06-07 Thread Latro 2000
Hello. When I try to compile Blink Application for TOSSIM, I get the error showed below. It seems I have an environment variable wrong, but I was looking for it, so, It seems ok. I'm using tinyos 2.0.1, Win XP SP2 + Cygwin. TOSROOT=/opt/tinyos-2.x TOSDIR=/opt/tinyos-2.x/tos

Re: [Tinyos-help] Two dismatches between nesC and MIG.

2007-06-07 Thread David Gay
On 6/7/07, Zhifeng Lai [EMAIL PROTECTED] wrote: Can anyone confirm that my finding of two data type dismatches in interpreting messages between nesC programs and MIG in TinyOS 1.1.13 is correct? (My OS is WinXP + SP2.) (1) MIG regards int type as 16-bit data , while nesC treat it as 32

[Tinyos-help] TOSSIM serial package injection

2007-06-07 Thread Javier Almansa Sobrino
Hello Someone knows how to make serial package injection on TOSSIM 2. I can do radio package injection following the tutorial instructions, but I don't know how to make the serial injection. Thanks -- Nunca confies en un S.O. del que no tienes código fuente ;-)

[Tinyos-help] [CC2420_lpl] Can a packet be received while performing a CCA check?

2007-06-07 Thread John Hendrie
Hi, When the radio is switched on and the CCA checks are perfomed, is it possible to receive a packet during this time? Thanks, John ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Two dismatches between nesC and MIG.

2007-06-07 Thread David Gay
On 6/7/07, Zhifeng Lai [EMAIL PROTECTED] wrote: Dear David, I run the program in Cygwin, WinXP. How can I specify the platform? I am just not aware of this. That's what the documentation is for. Try 'man ncc', and 'man mig', and look at the -target option. It is weird that: typedef struct

RE: [Tinyos-help] [CC2420_lpl] Can a packet be received whileperforming a CCA check?

2007-06-07 Thread David Moss
Yes - the CCA pin can be sampled independently of the CC2420 chip receiving a packet. Once the chip receives a packet, it notifies the microcontroller through an Rx interrupt. At that time, the microcontroller can read in the received packet from the CC2420. -David -Original Message-

[Tinyos-help] [TinyOS-2.x]Documentation for all components and interfaces

2007-06-07 Thread Peizhao Hu
Dear TinyOS developers, Is there any API kinds of documentation for all available interfaces and components? hard to know what is available from which component or interface by searching the tos directories. also, a suggestion to keep the mailing list tidy, can you create separate mailing

Re: [Tinyos-help] [TinyOS-2.x]Documentation for all components and interfaces

2007-06-07 Thread Philip Levis
On Jun 7, 2007, at 9:31 AM, Peizhao Hu wrote: Dear TinyOS developers, Is there any API kinds of documentation for all available interfaces and components? hard to know what is available from which component or interface by searching the tos directories.

Re: [Tinyos-help] [TinyOS-2.x]Documentation for all components and interfaces

2007-06-07 Thread David Gay
On 6/7/07, Philip Levis [EMAIL PROTECTED] wrote: On Jun 7, 2007, at 9:31 AM, Peizhao Hu wrote: Dear TinyOS developers, Is there any API kinds of documentation for all available interfaces and components? hard to know what is available from which component or interface by searching the tos

[Tinyos-help] tinyos (help) complining blink in telos rev-b

2007-06-07 Thread nirfan
Hi I am trying to run blink application for telos Rev-b in tinyos and getting error message. Can anybody suggest me what should I do can anybody please reply, I am really stuck regards Nazish Error message: compiling Blink to a telos binary ncc -o build/telos/main.exe -O -mdisable-hwmul

[Tinyos-help] Oscilloscope Temp conversion

2007-06-07 Thread vbhatia
Hi all, This is my first message on the help list and I hope to get a good response. I used the OscilloscopeRF application to sense the temperature instead of light by using Temp instead of Photo in the Oscilloscope.nc file. I am able to get the readings and display them on PC using TOSBase.

[Tinyos-help] Re: Trying to simulate tutorial 12 EasyDisseminationAppC - error

2007-06-07 Thread Hugo Sousa
Found out why the errors, there is no component (and interface) to turn on the radio in the EasyDissemination example; from what I see in the nesdoc 2.0.0 Dissemination was a bit different from what is now, and was able to turn on the radio. The EasyDissemination example hasn't been updated.

[Tinyos-help] Help on receiving multiple packets in tinyos-2.x from multiple motes.

2007-06-07 Thread Murtuza
Hello friends, Can anyone advice me on how to tackle this situation. I have a set of mica2 motes and working on tinyos-2.x. Suppose I broadcast a message from Basestation to other nodes requesting their node IDs and some other stuff ( like voltage readings etc). Then once they receive this

Re: [Tinyos-help] Help on receiving multiple packets in tinyos-2.x from multiple motes.

2007-06-07 Thread Romain Thouvenin
On 6/7/07, Murtuza [EMAIL PROTECTED] wrote: Hello friends, [...] will I get time to store them in memory during the Receive event. Or should I have an array of buffers and use an element of the array each time i have a receive event. The BaseStation provided with TinyOS has a queue, you can

[Tinyos-help] Re: Trying to simulate tutorial 12 EasyDisseminationAppC - error

2007-06-07 Thread Hugo Sousa
Well, now that I'm at it, should have send it in the first place configuration EasyDisseminationAppC {} implementation { components EasyDisseminationC, DisseminationC; components MainC; EasyDisseminationC.Boot - MainC; EasyDisseminationC.DisseminationControl - DisseminationC; components

Re: [Tinyos-help] TEP 126 and AES

2007-06-07 Thread R. Steve McKown
HI David, On Wednesday 06 June 2007 11:48:59 David Moss wrote: A layer that enables hardware encryption would be extremely beneficial to the TinyOS CC2420 stack. If you're interested in pursuing this functionality, let's see how we can get it designed and integrated as an optional layer in

[Tinyos-help] continuous sampling on mica2dot

2007-06-07 Thread Lei Tang
Hi all, I'm working on a sampling program on mica2dot. Now, I'm using a timer to start one sampling procedure repeatedly. But it's not efficient for high frequency sampling. On micaz, a command can be called to start a continuous sampling without triggering of a timer (call Sample.getSample()).

[Tinyos-help] Are RTS-CTS-ASK implemented in GenericComm?

2007-06-07 Thread Gary Pan
I have been used GenericComm interface a lot. I use it to send and receive radio message. I wonder that if GenericComm does RTS-CTS-ASK scheme as well as backoff? I found that CC2420RadioM module in the lib folder also provides send and receive interface. Does it has the RTS-CTS scheme? Here

Re: [Tinyos-help] [TinyOS-2.x]Documentation for all components and interfaces

2007-06-07 Thread Peizhao Hu
Hi David, so which version of tinyos your example application antiTheft is based on? It cant find the DisseminationC component from the documentation Philip suggested, but it is in my tinyos2.x directory, under lib/net/ David Gay wrote: On 6/7/07, Philip Levis [EMAIL PROTECTED] wrote: On

Re: [Tinyos-help] Are RTS-CTS-ASK implemented in GenericComm?

2007-06-07 Thread Greg Jaman
From my experience (in tinyos 1.x): Yes.. the CC2420RadioM has a built in backoff before trying to transmit a message, as well it polls the CCA pin to ensure the channel is free. Also, the command sent to the controller tells it to wait for a clear channel before sending. No RTS/CTS that I

Re: [Tinyos-help] [TinyOS-2.x]Documentation for all components and interfaces

2007-06-07 Thread David Gay
On 6/7/07, Peizhao Hu [EMAIL PROTECTED] wrote: Hi David, so which version of tinyos your example application antiTheft is based on? It cant find the DisseminationC component from the documentation Philip suggested, but it is in my tinyos2.x directory, under lib/net/ The AntiTheft demo is for