Re: [Tinyos-help] topology and linkgain.out

2008-06-25 Thread Tal Rusak
Hi, I believe that the topology generation tool generates one value of noise to be consistent with an older version of TOSSIM. The way the current version is intended to be used is that you collect a noise trace in your environment (at least 100 samples long) and then input this trace

[Tinyos-help] Broadcast a packet from TOSBase

2008-06-25 Thread Haoying Liu
Hi, How can I broadcast a packet via radio from Basestation? Since TOSBase already implement a RadioSend to forward to radio packets received from UART, I tried: 1. Add another GenericComm component and use SendMsg to handle the application broadcast packet. 2. Use exist RadioSend

[Tinyos-help] tinyos2.0 Rssi Demo

2008-06-25 Thread wang wei
Dear all I installed tinyos2.0 (xp, cygwin), now im trying to get the RSSI value , when the installation finished i didnt find the Rssi Demo in $TOSROOT/opt/tinyos2.0/*apps*/*tutorials*/ , so i copied it from CVS, I have read all the codes of Rssi Demo carefully, when I try to upload the

[Tinyos-help] Tmote Mini

2008-06-25 Thread Shomnat Mitra
Hello , I received a shipment of the tmote mini development kit. The development board works fine. But can somebody please explain, how to check if everything is in order with the Tmote Mini and the programming fixture. My questions: *1. How to use tmote-bsl to download say CountRadio program

[Tinyos-help] MultiHopOscilloscope Packet Loss

2008-06-25 Thread Gaurav Chandwani
Hi All, I am facing packet loss problem with CTP in TinyOS 2.0(using the release 2.0.2) on telosb. Initially, I faced this in my modified-MultiHopOscilloscope code where I was accepting multiple message types and forwarding them to the Root node, but since I had changed some code, included a

[Tinyos-help] gain noise power

2008-06-25 Thread ndessart
hello I've read in the forum that there are three main values for signal quality (tinyos, tossim 2.x) : - the power which traduce the signal power (i've read in tossim the power is set up to 0 dB and then it is equal to gain value entered) - the gain which is the extenuation of the signal

Re: [Tinyos-help] MultiHopOscilloscope Packet Loss

2008-06-25 Thread Omprakash Gnawali
On Wed, Jun 25, 2008 at 7:09 AM, Gaurav Chandwani [EMAIL PROTECTED] wrote: Hi All, ... I saw a strange behaviour using SerialForwarder - When the application is running for some hours, sometimes, i dont receive messages from a particular node for some minutes and then it comes back again.

Re: [Tinyos-help] MultiHopOscilloscope Packet Loss

2008-06-25 Thread Omprakash Gnawali
On Wed, Jun 25, 2008 at 8:27 AM, Gaurav Chandwani [EMAIL PROTECTED] wrote: Hi Omprakash, Thanks for the quick reply. Viable path - I see the node lost behaviour even with nodes that are directly connected(no hop, very close) to the root node. Do you mean something else by viable path ?

Re: [Tinyos-help] Regarding setting position of nodes in tinyos

2008-06-25 Thread Paul Stickney
TOSSIM (T2) has no notion of node positions--it just cares about link gains and noise. You can specify an explicit topology to the USC model generator which will (using idealized computations that may or may not adequately reflect your real life plan) generate such a model as to place the nodes at

[Tinyos-help] RssiDemo: packets are there but RSSI=0

2008-06-25 Thread Andrey Gursky
Hi Paul! Paul Stickney wrote: Sorry, I misunderstood the meaning of RSSI values. So if I'm bringing 1 mote far away and it must increase it's transmission power to maximum, than after some distance I can't distinguish any more between distance changes, however the packets are well

Re: [Tinyos-help] %5BTinyos-help%5D%20%3D%3Futf-8%3Fq%3FRssiDemo%3D3A_packets_are_there_but_RSSI%3D3D%3F%3D%0A%09%3D%3Futf-8%3Fq%3F0%3F%3DIn-Reply-To=

2008-06-25 Thread Andrey Gursky
Hi Miklos! Please use the RF230 datasheet for the exact meaning of the measured ED_LEVEL. Minimum value is 0 = less than -91 dBm, maximum value is 84, one unit corresponds to 1 dB, typical accuracy: +-5 dB which should be a constant calibration error. You cannot reliably calculate the

Re: [Tinyos-help] gain noise power

2008-06-25 Thread Paul Stickney
- i've read that on real hardware, the RSSI must a be positive value... RSSI is like speed. Are you measuring in mph or km/h or some system that starts at negative one million units... 0dB is 1mW what of uniform power distribution. This is the maximum output for a telosb with an idealized

Re: [Tinyos-help] motelist error

2008-06-25 Thread Paul Stickney
Just to make sure, you are using the latest FTDI driver and, all previous versions of the drive have been uninstalled? I could be wrong, but I believe that error is coming from WITHIN the serial bridge provided by the FTDI and not the TinyOS tool-chain itself. HTH, Paul

Re: [Tinyos-help] %5BTinyos-help%5D%20%3D%3Futf-8%3Fq%3FRssiDemo%3D3A_packets_are_there_but_RSSI%3D3D%3F%3D%0A%09%3D%3Futf-8%3Fq%3F0%3F%3DIn-Reply-To=

2008-06-25 Thread Paul Stickney
Even without steps, RSSI-for-localization is fickle at best. It should still be usable to show the general concept of performing localization based on decreasing signal strengths over distance and various means of triangulation. (And from the reading differences I was running into just from slight

[Tinyos-help] How to just compile and also pass the moteID?

2008-06-25 Thread Agnelo Silva
I am developing an schema of having users compiling locally (no motes plugged) and a local application submitting the image code to a server physically connected to the motes. Some of this idea I had already developed and tested, but now I have a problem that seems to be simple, but I didn't find

Re: [Tinyos-help] How to just compile and also pass the moteID?

2008-06-25 Thread Paul Stickney
Look at tos-set-symbols. It's part of the normal compilation stage during installation. You can use it independently, though. HTH, Paul On Wed, Jun 25, 2008 at 11:45 AM, Agnelo Silva [EMAIL PROTECTED] wrote: I am developing an schema of having users compiling locally (no motes plugged) and a

Re: [Tinyos-help] How to just compile and also pass the moteID?

2008-06-25 Thread Michael Schippling
I have managed to separate the final download command out of the makefile morass for tmotes. This takes place _after_ the moteid is set in the hex file and an intermediate file is made. I explicitly generate that intermediate and send it to my client for direct download of updates. The client then

[Tinyos-help] How to make MSP430 sleep?

2008-06-25 Thread DEBRAJ DE
Hi all, I have to make msp430 inside Trio mote to sleep. I saw in TinyOS 2.x, there is module like chip/msp430/MCUSleep.nc But I have to use TinyOS 1.15. Can anybody please help me out? Thanks, Deb ___ Tinyos-help mailing list

Re: [Tinyos-help] Help with Tymo and IRIS Motes

2008-06-25 Thread Andrey Gursky
Hi! I have the same IRIS platform (and also MicaZ). On Linux I have the latest nesC from Ubuntu repository and the latest CVS tinyos-2.x. There are only few minor errors when I compile TestTymo either for IRIS or for MicaZ. It is still possible to compile and use TestTymo for TOSSIM. I can

[Tinyos-help] Accessing the SHT15 on the MDA300

2008-06-25 Thread Charles Elliott
Hello All Thanks to Andrey and Chris for getting me started on the digital IO ports. I know that the SHT15 does not use the I2C bus so how is it accessed? I've looked at the SHT11 code for the telosb, and telosa, platforms but there is some processor specific code in it so it does not seem to

[Tinyos-help] NoClassDefFoundError

2008-06-25 Thread xiaowei
Hi, When I am following the java file on lesson 8 in the tutorial and run java net.tinyos.tools.BcastInject group_id start_sensing num_samples interval. An Exception appears as follow:Can anyone give me an answer on it?Thanks in advance. $ java BcastInject Exception in thread main

[Tinyos-help] Help with Tymo and IRIS Motes

2008-06-25 Thread Andrey Gursky
Janos, thank you! It was my lack of knowledge. I've renamed volumes-stm25p.xml to volumes-at45db.xml that seems to be used by IRIS and MicaZ. It is successfully compiled (with some warnings). Andrey Janos Sallai wrote: Andrey, The error message says that you're missing the

[Tinyos-help] Mantis OS

2008-06-25 Thread Saikat Ray
I am just curious: Can someone kindly tell me the pros and cons of Mantis OS (MOS) as opposed to Tiny OS? http://mantis.cs.colorado.edu/index.php/tiki-index.php Can MOS run on micaz motes? And since I have your attention, can 6LowPAN be integrated with TinyOS? --- Dr. Saikat Ray Assistant

Re: [Tinyos-help] Accessing the SHT15 on the MDA300

2008-06-25 Thread Andrey Gursky
Hi Charles! Thanks to Andrey and Chris for getting me started on the digital IO ports. The main appreciates are going to Chris, I was only casual quick to point to the wanted posted message here :) I know that the SHT15 does not use the I2C bus so how is it accessed? I've looked at the

Re: [Tinyos-help] tinyos2.0 Rssi Demo

2008-06-25 Thread Dimas Abreu Dutra
Hello, You don't need to upload the contents of the java folder to the mote, only the apps on the SendingMote and InterceptBase. The java folder has the app you have to run on the pc, and you are supposed to make it with the command *make* only, not *make mica2*. Is maybe that your problem?

Re: [Tinyos-help] MSP430 ADC first reading

2008-06-25 Thread Dimas Abreu Dutra
I am actually *SURE* that the value was stable since I measured it on the oscilloscope and saw no artifacts. Also, the accelerometer's power comes from an I2C chip which is not affected by the microcontroller reset, and I turned it on before reseting the mote. It is hard trying with another

Re: [Tinyos-help] NoClassDefFoundError

2008-06-25 Thread Andrey Gursky
Hi xiaowei, Do you have export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:. ? Andrey xiaowei wrote: Hi, When I am following the java file on lesson 8 in the tutorial and run java net.tinyos.tools.BcastInject group_id start_sensing num_samples interval. An Exception appears as

Re: [Tinyos-help] NoClassDefFoundError

2008-06-25 Thread xiaowei
Hi, Andrey, Yes. The error now is [EMAIL PROTECTED] /opt/tinyos-1.x $ export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar [EMAIL PROTECTED] /opt/tinyos-1.x $ java net.tinyos.tools.BcastInjet 1 start_sensing 5 1 Exception in thread main java.lang.NoClassDefFoundError:

Re: [Tinyos-help] NoClassDefFoundError

2008-06-25 Thread Andrey Gursky
Hi Xiaowei, So it was not before? Than check also: export TOSROOT=/opt/tinyos-1.x And than one more: export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:. Don't forget colon and dot at the end of the last line. Andrey xiaowei wrote: Hi, Andrey, Yes. The error now is [EMAIL

Re: [Tinyos-help] tinyos2.0 Rssi Demo

2008-06-25 Thread Shikhar Sachan
The RSSI demo program is a fairly simple program. The SendingMote sends an empty packet which is recieved by the basestation which is connected to your PC whose job is to fill this empty packet with the RSSI of the packet and transfer it to the PC. The java program is runs a thread on your PC,

Re: [Tinyos-help] motelist error

2008-06-25 Thread McBride, Devin
Quick update, I resolved the issue by modifying /opt/tinyos-1.x/tools/src/motelist/motelist-win32.cpp I replaced all occurrences of 6001 with 6010 but I am unsure what the consequences are (if any) by doing this. After rebuilding and copying the binary to /opt/oasis/bin/ I can now

Re: [Tinyos-help] How to just compile and also pass the moteID?

2008-06-25 Thread Varun Jain
Hi Agnelo, Once you have compiled with 'make micaz', you can do the following in the /app/build/micaz: tos-set-symbols main.exe main.exe-3 TOS_NODE_ID=3 ActiveMessageAddressC\$addr=3 This will set the TOS_NODE_ID to be 3 and then you can install the 'main.exe-3' file to your mote and it

Re: [Tinyos-help] MSP430 ADC first reading

2008-06-25 Thread Michael Schippling
I'm just kibbitzing so nothing is necessary. If a close reading of the ADC code reveals no first sample timing issues, then I'm out of ideas so tossing the first reading is my (second) best solution... MS Dimas Abreu Dutra wrote: I am actually *SURE* that the value was stable since I measured

Re: [Tinyos-help] NoClassDefFoundError

2008-06-25 Thread xiaowei
Hi, Andrey, Still get the same error. Don't know why. :( Xiaowei On 6/25/08, Andrey Gursky [EMAIL PROTECTED] wrote: Hi Xiaowei, So it was not before? Than check also: export TOSROOT=/opt/tinyos-1.x And than one more: export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:. Don't

Re: [Tinyos-help] NoClassDefFoundError

2008-06-25 Thread Michael Schippling
is it not supposed to be BcastInject ^ or was that a mis-typed message? MS xiaowei wrote: Hi, Andrey, Yes. The error now is [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] /opt/tinyos-1.x $ export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar [EMAIL

Re: [Tinyos-help] NoClassDefFoundError

2008-06-25 Thread xiaowei
Sorry for the mis-typed in the error message, it should be BcastInject in the error message $ java net.tinyos.tools.BcastInject 1 read_log 2 Exception in thread main java.lang.NoClassDefFoundError: net/tinyos/tools/BcastInject Xiaowei On 6/25/08, Michael Schippling [EMAIL PROTECTED] wrote: is

Re: [Tinyos-help] Accessing the SHT15 on the MDA300

2008-06-25 Thread Christopher Leung
Hi Charles, No problem for the digital IO ports. As for the SHT15, it too uses a two-wire-interface. But its TWI is not compatible with I2C so you will have to control the pins directly by using the tos.chips.atm128.pins.HplAtm128GeneralIOC and tos.chips.atm128.pins.HplAtm128InterruptC

Re: [Tinyos-help] gain noise power

2008-06-25 Thread Paul Stickney
When I talk about RSSI I talk about the values found in a file like the meyer-heavy.txt file. So, I suppose I must say noise floor instead of RSSI? RSSI standard for Relative Signal Strength. -50 dBm is a SPECIFIC decibel value. So you can have an RSSI value of -50dBm. You can also have a

Re: [Tinyos-help] gain noise power

2008-06-25 Thread Tal Rusak
I've read in the forum that there are three main values for signal quality (tinyos, tossim 2.x) : - the power which traduce the signal power (i've read in tossim the power is set up to 0 dB and then it is equal to gain value entered) Correct. Signal power (in dBm) at the receiver is

Re: [Tinyos-help] gain noise power

2008-06-25 Thread Tal Rusak
When I talk about RSSI I talk about the values found in a file like the meyer-heavy.txt file. So, I suppose I must say noise floor instead of RSSI? RSSI standard for Relative Signal Strength. -50 dBm is a SPECIFIC decibel value. So you can have an RSSI value of -50dBm. You can also have a

Re: [Tinyos-help] NoClassDefFoundError

2008-06-25 Thread Michael Schippling
That is (I think) definitely the error you get when the specified top-level class is not in your CLASSPATH. You show your CP being set with TOSROOT, however if you are on Widows, Java does not grok cygwin /opt paths. If your TOSROOT is /opt or some such it won't get it. Try using the explicit