Re: [Tinyos-help] cannot find JNI error

2007-12-13 Thread weiping SONG
Hi Hengly, I think you might add: export tinyoslibdir=/usr/lib/tinyos regards, Weiping Pieter De Mil wrote: Hi hengly, all, The script is looking for this file: toscomm-32.dll. I renamed the /usr/lib/tinyos/toscomm.dll to /usr/lib/tinyos/toscomm-32.dll (or you can edit the script, locate

RE: [Tinyos-help] Using Serial Forwarder to interface with otherapplications

2007-12-13 Thread Siirtola Harri
SerialForwarder provides a socket connection, so you can program an application that connects to port 9001. No limitations for what toolset you use. Regards, Harri -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prashanth Shenoy Sent: Thursday,

RE: 回复: RE: [Tinyos-help]: how to rea d message from the serial port of a pc??

2007-12-13 Thread Siirtola Harri
It's not impossible, actually I thought you're talking about megabytes of data (you could transfer megs but it would take a very long time). 20k isn't a big image, even though the data throughput is quite low with motes. All you have to do is chop the video into smaller chunks and reconstruct

[Tinyos-help] Has anyone tried with option [EMAIL PROTECTED] in SerialForwarder of tinyos-2.x???

2007-12-13 Thread Thanh Phuong Nguyen
Hi all, I have a problem when trying to run SerialForwarder of tinyos-2.x with -comm [EMAIL PROTECTED] option. It raises the error like: Couldnt instantiate tossim 's packet source Did you compile tossim? Any idea abt my prob? Thank you very much in advance, Phuong.

[Tinyos-help] Hardware Address Recognition

2007-12-13 Thread André Cunha
Hello all, I was looking at the hardware recognition in the CC2420 in the file CC2420ControlP and, if fact, the CC2420 register (MDMCTRL0-ADDR_DECODE) is enabled. Looking at the CC2420ReceiveP in the RXFIFO.readDone I realized that the address verification is by software. Can anyone

RE: [Tinyos-help] Hardware Address Recognition

2007-12-13 Thread David Moss
Address recognition is in both hardware and software. You can disable address recognition in hardware to sniff packets, but with software acknowledgements enabled you don't want to send an ack back unless you've received a packet to your local address or to the broadcast address. That's why

Re: [Tinyos-help] Hardware Address Recognition

2007-12-13 Thread André Miguel de Almeida Marrão Rodrigues
Hi I would like to know why in a simple configuration like BS --- Node I have packet loss when the acks are enabled and the code in the node retransmits the packed if it get lost. We are using 2% low power listening mode in T2 / TMote. Any ideias would be very apreciated. Regards, André

Re: [Tinyos-help] Conversion formula of Accelerometer value.

2007-12-13 Thread André Miguel de Almeida Marrão Rodrigues
Hi Usually you should get a 12 bit value (ADC12). So the range should be between 0 and 4096. If it's the case you should calculate: value read / 4096 * 3 - 1.5 (http://www.easysen.com/support/Datasheets/Accelerometer_MMA6260Q_Freescale.pdf) Regards, André - Original Message -

Re: [Tinyos-help] handelling of Hidden Terminal in TOSSIM

2007-12-13 Thread KURT PETERS
Is that a lot of extra code bloat or performance hit? Are the safe-TinyOS release issues delineated anywhere? Regards, Kurt Original Message Follows From: Philip Levis [EMAIL PROTECTED] To: KURT PETERS [EMAIL PROTECTED] CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help]

Re: [Tinyos-help] handelling of Hidden Terminal in TOSSIM

2007-12-13 Thread Philip Levis
On Dec 13, 2007, at 11:52 AM, KURT PETERS wrote: Is that a lot of extra code bloat or performance hit? Are the safe-TinyOS release issues delineated anywhere? This is part of the discussion. There will at the very least be a compile-time option for turning it on/off. For details on the

RE: [Tinyos-help] Hardware Address Recognition

2007-12-13 Thread David Moss
The base station does not automatically retransmit failed packets. There could be a lot of issues here: interference, collisions, range, mismatched duty cycling parameters, etc. Did you modify your base station application to configure the outbound packet for delivery to a duty cycling

[Tinyos-help] XM2100 IRIS Support

2007-12-13 Thread Ian Welch
I would like to upgrade from the Mica2Dot motes to zigbee for both interference and bandwidth purposes. I just noticed that X-Bow has come out with a new mote claiming to have better range and reduced power consumption? I have not used zigbee before and was wondering it TinyOS uses the true

RE: [Tinyos-help] Acoustic Ranging: Not getting 16 samples within oneset of 16 chirps

2007-12-13 Thread Janos Sallai
This is the expected behavior. The samples are not simply saved into the buffer, but they are added to the samples already in the buffer. For every chirp, this additive recording starts from the beginning of the buffer and stops after 850 samples (or whatever your buffer size is). After all the 16

[Tinyos-help] tmote programming

2007-12-13 Thread L. Lee
I was wondering if you knew a way to alter the oscilloscope application to support more than one tmote sky at a time and display the readings from each one simultaneously. Thanks___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

RE: [Tinyos-help] XM2100 IRIS Support

2007-12-13 Thread Janos Sallai
Ian, Iris support has been added to tinyos 2.x after the 2.0.2 release. You will need to get the latest sources from the CVS, and also, you will need to update your toolchain. Details on the toolchain update can be found at

RE: [Tinyos-help] XM2100 IRIS Support

2007-12-13 Thread Giri Baleri
Hello Ian, The IRIS platform offers improved radio range at lower power power budget compared to MICAz or TelosB Mote. The IRIS platform support is currently available under MoteWorks, which is based off of TinyOS 1.x. There are efforts underway to port IRIS support to TinyOS 2.x. Neither of

Re: [Tinyos-help] Hardware Address Recognition

2007-12-13 Thread André Miguel de Almeida Marrão Rodrigues
Hi The base station does not automatically retransmit failed packets. It means that I should change the code of the standard basestation that comes with T2.02? Includind adding buffer to allow retransmission of packets? interference - it's possible from wifi collisions - in this

[Tinyos-help] Number of nodes in simulation

2007-12-13 Thread zahid iqbal
Hi all Is it possible to know with how many nodes is the simulation running in TOSSIM. We specify the number of nodes when we start the simulation but is there a way to get the number of nodes in the simulation i.e. some function that would return this value ? Thanks. Zahid Iqbal.

Re: [Tinyos-help] Re: unable to inject packet from tossim

2007-12-13 Thread Thanh Phuong Nguyen
Hi all, I have the same prob with Vijayant. When I call make micaz sim then it can only generate the latest object that I declared. I mean in Vijayant's case only the RadioCountData.py, .java, .class were created. I havent figure out why it happens like that. Right now, my solution is typing

[Tinyos-help] linking problems

2007-12-13 Thread mejda chouaieb
Hello All, can someone please expalin to me the meaning of this line and if something for linking is present here : $(NCC) -o $(MAIN_EXE) $(OPTFLAGS) $(PFLAGS) $(CFLAGS) $(WIRING_CHECK_FLAGS) $(COMPONENT).nc $(LIBS) $(LDFLAGS) because when i copile for my new platform I have a linking error from

[Tinyos-help] turning ON debug statements

2007-12-13 Thread Vijayant Bhatnagar
Hi, can anyone please tell me how to turn ON debug statements of system files ? I am able to track debug statements from my application but not from source files. Basically i wish to track statements like : dbg(CpmModelC,SNRLoss, - lost packet from %i as SNR was too low.\n, (int)mine-source);

[Tinyos-help] How to get the Sample code which is suitable to telosb platform?

2007-12-13 Thread Renee Azhen
dear all: My platform is a telosb node. Most Sample code in /opt/tinyos 1.x/apps/ is for micamica2, then can not work on telosb platform. so I want to get some sample application that are suitable to telosb platform, could you tell me where and how I can get them??(Website, link or

Re: [Tinyos-help] turning ON debug statements

2007-12-13 Thread Thanh Phuong Nguyen
Hi Vijayant, I am not sure if i understand ur quest right. Now for ur quest, i just add a line in the python script: = t.addChannel(CpmModelC,SNRLoss, sys.stdout) # t = Tossim([]) = If u already had that in ur script, so maybe somehow ur program hasnt reach to the debug line. Hope this

[Tinyos-help] Re: link reliability on TOSSIM

2007-12-13 Thread Vijayant Bhatnagar
CAn anyone reply please ? :) -Vijayant On Dec 13, 2007 9:27 PM, Vijayant Bhatnagar [EMAIL PROTECTED] wrote: hi, Can anyone give me hint on implementing link reliability. I found out that there is a mechanism by which we can know whether a packet was sent or not. I was able to implement