[Tinyos-help] GPS module of MTS420 not working

2008-02-14 Thread Nikhil Singhal
Hi all I have a CrossBow MTS420 board with the GPS module, and am running tinyos-1.x. I installed the XSensorMTS400 (/opt/tinyos-1.x/contrib/xbow/apps/XSensorMTS400) app on the mote, which is connected to my PC through a serial port. I then ran the XListen application , but I'm not getting any out

[Tinyos-help] Can we use two genericcomm components on a single mote

2008-02-14 Thread parahusar-sony
HI , can any tell can we use two genericcomm on a single mote or only one due to hardware restrictions.I am using it on cricket motes I am not receiving messages from one component.I am receving with the other component.I am testing it using Listen tool.Are there any changes to be made to Listen

Re: [Tinyos-help] Deluge T2 Dissemination

2008-02-14 Thread Chieh-Jan (Mike) Liang
I think that slot 0 is for golden image, and its code can't be disseminated over the air. Mike On Feb 14, 2008, at 9:39 AM, Bernardo Maciel wrote: If I do it in slot 1, everything works perfectly. But with slot 0, I can only reprogram the base station and not disseminate! Am I doing anythin

RE: [Tinyos-help] net.tinyos.tools.Listen MIB600 No data is seen on theDisplay

2008-02-14 Thread Giovanni Abu-Aita
Thank you very much. I did try the port 10002 first and it did not work; but after playing with the data rate (Speed=57600) it worked fine. Thanks again. Giri Baleri <[EMAIL PROTECTED]> wrote: The port 10001 of MIB600 is used to program the Mote and port 10002 is used to read data from the

Re: [Tinyos-help] RSSI and TOSSIM

2008-02-14 Thread Philip Levis
On Feb 14, 2008, at 1:37 PM, Iñigo Urteaga wrote: Hi all, I found this previous post from Dec. 19th in tynios-help and I would like to have some points clarified. First, I agree with Phil that the received signal strength will be (assuming waves are in phase) the addition of both desired sign

Re: [Tinyos-help] Deluge(ify) MultihopOscilloscope

2008-02-14 Thread Kevin Klues
What are the reported RAM / ROM sizes of your compiled app. It looks like the binary may be too large Kevin On Wed, Feb 13, 2008 at 1:33 PM, Andrew Parson O'Brien <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to modify a vanilla MultihopOscilliscope so that it may > serve as a Deluge

Fwd: [Tinyos-help] TOS_Msg length is invalid

2008-02-14 Thread Juan José Roncero
I tried -comm serial@/dev/ttyS0:mica2 and It works perfectly!! Thank you very much Under T1 at least the micaz message that comes over the serial line has been converted to a mica2 format by TOSBase. This puts the header fields in the 'wrong' places. Try

Re: [Tinyos-help] Re: [Tinyos-devel] DAC and MSP430RefVoltGenerator in T2

2008-02-14 Thread Kevin Klues
What we really need I think is a way of allowing the reference voltage component have "multiple" owners simultaneously. Most components that provide the Resource interface are used to grant exclusive access to a device that is used to perform some operation. The reference voltage component is a b

Re: [Tinyos-help] RSSI and TOSSIM

2008-02-14 Thread Iñigo Urteaga
Hi all, I found this previous post from Dec. 19th in tynios-help and I would like to have some points clarified. First, I agree with Phil that the received signal strength will be (assuming waves are in phase) the addition of both desired signal's power and existing noise power level. As far as

Re: [Tinyos-help] Re: [Tinyos-devel] DAC and MSP430RefVoltGenerator in T2

2008-02-14 Thread John Griessen
I like Sandip's idea to create an arbiter that reserves use of refvolt to the first process that asks, but also responds to queries about the refvolt value. Do arbiters as they are now allow for keeping a queue of asking routines satisfied with a resource with no breaks? Would a shared arbiter

RE: [Tinyos-help] CC2420 Hardware ACKs

2008-02-14 Thread David Moss
Hi Rodo - By default, software acknowledgments are enabled. This means MDMCTRL0.AUTOACK is *disabled* by default. With the hardware auto-ack's disabled, it is left up to CC2420ReceiveP to decide whether or not to issue a software ack (via the SACK strobe). There are two methods to enable automat

[Tinyos-help] complile problem

2008-02-14 Thread fangming he
When I operate the command"make telosb", it failed and display" nesc1: nesc-semantics.c:145: language_name: Assertion `0' failed. nesC: Internal error. Please send a bug report to the nesC bug mailing list at [EMAIL PROTECTED]" I am confusing about it. it did not indicate which file which line make

RE: [Tinyos-help] CC2420 Hardware ACKs

2008-02-14 Thread Rodolfo de Paz Alberola
Thanks David for your reply, but now I don't know then the difference between call or not call setAutoAck. If I send a packet requesting the ack using the requestAck(&myMsg) comand, which means set the request flag in the FCF, I don't have to do anything in the receiver to obtain an ack in the se

[Tinyos-help] Re: [Tinyos-devel] DAC and MSP430RefVoltGenerator in T2

2008-02-14 Thread Jan Hauer
> In the latter approach you outlined, where they share the same arbiter, if > we assume that the ADC and DAC require the same reference voltage, would > they still not be able to run in parallel? By parallel I meant "at the same time": in the second approach if two components would request to use

RE: [Tinyos-help] Compilation problem with iris motes....but works finewith micaz

2008-02-14 Thread Giri Baleri
Your error log is missing from your e-mail below. Can you send the complete compile output including the commands you type and the folder you are in? Thanks, Giri From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Murtuza Sent: Thursday, February 14,

[Tinyos-help] Compilation problem with iris motes....but works fine with micaz

2008-02-14 Thread Murtuza
Hi Friends I have an application that uses MTS400 GPS sensorboard. Until now I used this application on Micaz motes without any problem. I now decided to switch to IRIS motes as these motes have better transmission power and distance. I installed MoteWorks provided by Crossbow for IRIS support. In

[Tinyos-help] Deluge T2 Dissemination

2008-02-14 Thread Bernardo Maciel
Hello, I'm working with Deluge T2 to use in a Tmote Sky testbed. So far I have looked into various documents and material, including the mailing list (eg http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-December/030076.html ), but I keep having one issue. I have updated my system (

RE: [Tinyos-help] CC2420 Hardware ACKs

2008-02-14 Thread David Moss
Also, are you calling CC2420Config.sync() to commit your hardware acknowledgment changes to the CC2420 hardware? call CC2420Config.setAutoAck(TRUE, TRUE); call CC2420Config.sync(); // wait awhile event void CC2420Config.syncDone() { ... } -David -Original Message- From: Rodolf

RE: [Tinyos-help] CC2420 Hardware ACKs

2008-02-14 Thread David Moss
The CC2420 radio requires the acknowledgment request flag be set in the FCF byte before it will automatically generate a hardware acknowledgment for any received packet. -David -Original Message- From: Rodolfo de Paz Alberola [mailto:[EMAIL PROTECTED] Sent: Thursday, February 14, 2008 9

RE: [Tinyos-help] net.tinyos.tools.Listen MIB600 No data is seen on theDisplay

2008-02-14 Thread Giri Baleri
The port 10001 of MIB600 is used to program the Mote and port 10002 is used to read data from the base Mote. You need to set the MOTECOM variable to port 10002 of your MIB600 for the PC tools to read data. Regards, Giri From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

[Tinyos-help] Re: [Tinyos-devel] DAC and MSP430RefVoltGenerator in T2

2008-02-14 Thread Sandip Bapat
Jan, In the latter approach you outlined, where they share the same arbiter, if we assume that the ADC and DAC require the same reference voltage, would they still not be able to run in parallel? Here's one scenario which might be common to a lot of sensing apps: An app uses RefVolt via Msp43

RE: [Tinyos-help] CC2420 Hardware ACKs

2008-02-14 Thread Rodolfo de Paz Alberola
Hi David, On Thu, 2008-02-14 at 08:56 -0700, David Moss wrote: Are you requesting an acknowledgment before sending? > > call PacketAcknowledgements.requestAck(&myMsg); > call AMSend.send(0x0, &myMsg, sizeof(my_payload_t)); > No, I thought that only calling the command setAutoAck it should enab

RE: [Tinyos-help] CC2420 Hardware ACKs

2008-02-14 Thread David Moss
Are you requesting an acknowledgment before sending? call PacketAcknowledgements.requestAck(&myMsg); call AMSend.send(0x0, &myMsg, sizeof(my_payload_t)); Does it the software work as expected using software acknowledgments? -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

[Tinyos-help] Re: [Tinyos-devel] DAC and MSP430RefVoltGenerator in T2

2008-02-14 Thread Jan Hauer
Currently Msp430RefVoltArbiterImplP intercept the requests of ADC clients to the Resource interface, it is not really arbitrating access itself. If the DAC needs access to the RefVolt component too, then we might need a real arbiter for the RefVolt component that is independent of the actual ADC ar

Re: [Tinyos-help] Strange error about type definition

2008-02-14 Thread Flavio Pompermaier
I fixed the problem changing struct to nx_struct in the declarations as you told me..Initially I didn't understand what you adviced me! Thanks.. -- Initial Header --- >From : "David Gay" [EMAIL PROTECTED] To : "Flavio Pompermaier" [EMAIL PROTECTED] Cc : "He

[Tinyos-help] CC2420 Hardware ACKs

2008-02-14 Thread Rodolfo de Paz Alberola
Hi all, I was trying to set Hardware ACKs for CC2420 radio chip. I did a simple ping pong application in which I posted a task call ack() inside the event SplitControl.startDone(error_t error). The task call ack activates HW acknowledgements in the following way: bool activated = TRUE; task voi

RE: [Tinyos-help] How to measure the memory cost

2008-02-14 Thread Michiel Konstapel
> The local automatic variables are not counted when the make system prints out the RAM usage. I suspect you have some of those in your code. > They are created dynamically on the stack, and thus, it's hard to tell what is the maximum possible stack depth. (There exist static stack depth analysis

Re: [Tinyos-help] How to measure the memory cost

2008-02-14 Thread AIGroup
Hi Janos, thanks for your precious answer. Where can i read more about this? I'm looking for a document but i still don't find it. Thanks a lot for your time. Roberto 2008/2/13, Janos Sallai <[EMAIL PROTECTED]>: > > Roberto, > > > > The local automatic variables are not counted when the make sys

Re: [Tinyos-help] Strange error about type definition

2008-02-14 Thread Flavio Pompermaier
So how could I store in my code a radio struct? Should I construct another one regular struct and retrieve data from the payload? Why it is so? > On Feb 13, 2008 3:23 PM, Flavio Pompermaier <[EMAIL PROTECTED]> wrote: > > Hi to all, > > I have a very problem in defining a message types to send ove