Re: [Tinyos-help] How to call functions in other nesC file

2007-09-20 Thread Michael Schippling
The Blink demo app ought do ya then. MS Chan kenniel wrote: Thanks Philip, I have found that too, actually since I am kind of rush for the project, so I would appreciate if there's any simple way for me to learn wiring of nesC programming, I don't have enough time to read the whole tutorial,

Re: [Tinyos-help] How to call functions in other nesC file

2007-09-20 Thread Amartya
Yes,Blink demo,CntToLeds and CntToRfm will be good to start with u may find those codes in tinyos apps folder as sample On 9/20/07, Michael Schippling [EMAIL PROTECTED] wrote: The Blink demo app ought do ya then. MS Chan kenniel wrote: Thanks Philip, I have found that too, actually

[Tinyos-help] Motelist prob.

2007-09-20 Thread behnaz . bostanipour
Hi all, I'm using tinyos-2.x and tinynodes. I run this piece of code: Process p = null; System.out.println( OS is +System.getProperty(os.name)); if(System.getProperty(os.name).equals(Linux)) {

Re: [Tinyos-help] CC2420 lqi tinyos1.x

2007-09-20 Thread Jay Taneja
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-February/022905.html Please search the list at http://www.tinyos.net/scoop/special/support#mailing-lists before you post a question. -jay On 9/20/07, Leonardo [EMAIL PROTECTED] wrote: Hy guy thank you for help me.. I have

[Tinyos-help] Exclusive TimerA in TinyOS 2

2007-09-20 Thread Yann Hendrikx
Hi! Is there a way to get exclusive access to a Timer resource in TinyOS 2 like TimerAExclusiveC in Boomerang? Thx ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] BlockStorageC warning

2007-09-20 Thread lamiaimeil
Hi all, I have this problem with my new application that I never had before. When I type the command: MOTECOM=serial at COM5:tmote java net.tinyos.tools.Listen the prompt answer me: TOS_Msg length is invalid: header_length=10,real_length=16 ... modifying msg to fit I also try: java

RE: [Tinyos-help] TOS_Msg length is invalid?

2007-09-20 Thread lamiaimeil
Hi Amartya, I try to do what you suggest me but I have the same result.. Have you got another idea? Andrea --- Amartya [EMAIL PROTECTED] ha scritto: Hi Andrea, .platform.properties files in your home directory might not proper,check .bashrc also. For more detail check

[Tinyos-help] Why motelist does not work?

2007-09-20 Thread behnaz . bostanipour
Hi all, the motelist command doesn't work on my machine, Any ideas? This is the content of my motelist(I'm using tinyos-2.x and tinynodes,and I've already connected a tinynode on a serial port of my machine) Thanks. B. #!/usr/bin/perl -w use strict; # $Id: motelist-linux,v 1.1.2.2 2005/08/03

[Tinyos-help] motelist prob again

2007-09-20 Thread behnaz . bostanipour
I changed the connection of tinynode and I connected it to the machine via a usb port,but the motelist command does note still work. Rgds, B. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Motelist prob.

2007-09-20 Thread Kevin Klues
Assuming your motelist script is really in /usr/bin, you need a space borefe the '-c' in '/usr/bin/motelist -c' Kevin On 9/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I'm using tinyos-2.x and tinynodes. I run this piece of code: Process p = null;

[Tinyos-help] Question about CC1000RadioIntM

2007-09-20 Thread Man-Ki Yoon
Hi all, I'm using MICA2 and I want to know the execution flow of sending RF through CC1000RadioIntM. More specifically, I want to know the execution flow starting from Send.send(TOS_MsgPtr pMsg) to PacketSent() task. In Send.send(TOS_MsgPtr pMsg) command, it just pushes data to a buffer and set

Re: [Tinyos-help] Motelist prob.

2007-09-20 Thread Philip Levis
On Sep 20, 2007, at 2:09 AM, [EMAIL PROTECTED] wrote: Hi all, I'm using tinyos-2.x and tinynodes. I run this piece of code: Process p = null; System.out.println( OS is +System.getProperty (os.name)); if(System.getProperty(os.name).equals(Linux))

[Tinyos-help] I2C Bug ATM128L TinyOS 2.0.2

2007-09-20 Thread KURT PETERS
I found a bug in the I2C interface for the Mica platform(ATM128L) in TinyOS 2.x (2.0.2). In particular, after line 322 in file Atm128I2CMasterPacketP.nc the code should be changed as follows: /* Note #define ATM128_I2C_SLA_WRITE 0x00 * #define ATM128_I2C_SLA_READ 0x01

Re: [Tinyos-help] I2C Bug ATM128L TinyOS 2.0.2

2007-09-20 Thread Philip Levis
On Sep 20, 2007, at 2:00 PM, KURT PETERS wrote: I found a bug in the I2C interface for the Mica platform(ATM128L) in TinyOS 2.x (2.0.2). In particular, after line 322 in file Atm128I2CMasterPacketP.nc the code should be changed as follows: /* Note #define ATM128_I2C_SLA_WRITE

Re: [Tinyos-help] I2C Bug ATM128L TinyOS 2.0.2

2007-09-20 Thread KURT PETERS
Interesting that there's a debate. The left is counter intuitive, and if you can point out a datasheet with this convention, I'd love to see it -- satisfy my curiosity. Does the TinyOs MSP430 I2C code shift the address right to be consistent between the two platforms? I haven't looked.

Re: [Tinyos-help] I2C Bug ATM128L TinyOS 2.0.2

2007-09-20 Thread Philip Levis
On Sep 20, 2007, at 3:34 PM, KURT PETERS wrote: Interesting that there's a debate. The left is counter intuitive, and if you can point out a datasheet with this convention, I'd love to see it -- satisfy my curiosity. The AD5242 datasheet -- the chip which motivated me to write the I2C

re: [Tinyos-help] Motelist prob.

2007-09-20 Thread Daniel Widyanto
Hi, java.io.IOException: error=2, No such file or directory -- Check whether you have motelist or not : bash# whereis motelist Replace MOTELISTCMDL with the correct path of motelist : public static final String MOTELISTCMDL = /usr/bin/motelist -c; The name of the script is motelist. The

[Tinyos-help] MUTLIHOPPING

2007-09-20 Thread subhash nemani
hi i have attached the module file for sensing voltage from external sensor it is working but i want to send the voltage for a particular node which i wish for eg:- i have installed code into 4 tmotesky motes as 0,1,2,3(by using make tmote install,x)where x is 0,1,2,3 all are kept with in

[Tinyos-help] MUTLIHOPPING

2007-09-20 Thread subhash nemani
-- Forwarded message -- From: subhash nemani [EMAIL PROTECTED] Date: Sep 16, 2007 1:16 AM Subject: MUTLIHOPPING To: tinyos-help@millennium.berkeley.edu hi i have attached the module file for sensing voltage from external sensor it is working but i want to send the voltage for

[Tinyos-help] Mica2 communication problem

2007-09-20 Thread Bo Xu
Dear all: I used two Mica2 MPR400CB, one is used to send data, the other one(TOSBase is installed in it) is connected to the MIB510 to recieve the data. But the problem is that one Mica2 can send the data, but the other one can't recieve the data. This program runs sucessfully using Mica2