[Tinyos-help] TOSBase - RSSI

2006-11-08 Thread prabhu govindaswamy
Spam detection software, running on the system "mail.Millennium.Berkeley.EDU", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator

Re: [Tinyos-help] which one is the compiler choose when there are more components with same name

2006-11-08 Thread Philip Levis
On Nov 8, 2006, at 5:51 PM, Michael Schippling wrote: It's not "duplication", it's overloading... I haven't done an exhaustive search, but each of the same-named files/modules has different behavior -- mostly due to platform or protocol differences. Care to re-invent C++ using directories inste

Re: [Tinyos-help] always confused by this segment of code

2006-11-08 Thread Tie Luo
Hello, a quick question. What is the return value of STXON.strobe() if radio is currently receiving a message?   The CC2420 datasheet says that it causes radio to enter TX state and can send, but seen from my experiments it does not.  Rgds, Tie  On 11/6/06, Tie Luo <[EMAIL PROTECTED]> wrote: Thank

Re: [Tinyos-help] T2 Tutorial5

2006-11-08 Thread Philip Levis
On Nov 8, 2006, at 5:55 PM, Michael Schippling wrote: It may be that S.F.er is 'listening' to that serial port, and thus other programs cannot open it. If you want O'scope or Listen to attach to S.F.er, you should change the attach identifier, [EMAIL PROTECTED]:115200, to something that specifie

Re: [Tinyos-help] T2 Tutorial5

2006-11-08 Thread Michael Schippling
It may be that S.F.er is 'listening' to that serial port, and thus other programs cannot open it. If you want O'scope or Listen to attach to S.F.er, you should change the attach identifier, [EMAIL PROTECTED]:115200, to something that specifies it's advertised port. The name/port# is in some piece

Re: [Tinyos-help] which one is the compiler choose when there are more components with same name

2006-11-08 Thread Michael Schippling
It's not "duplication", it's overloading... I haven't done an exhaustive search, but each of the same-named files/modules has different behavior -- mostly due to platform or protocol differences. Care to re-invent C++ using directories instead of name-spaces? sorry, my bad... MS Benjamin Mador

Re: [Tinyos-help] duration of sensing when CCA.get () called in tinyos-2.x

2006-11-08 Thread Tie Luo
Hello, what is the relationship between the return value of CCA.get() and STXONCCA.strobe()?   Thanks.  On 11/9/06, Philip Levis <[EMAIL PROTECTED]> wrote: On Nov 8, 2006, at 11:50 AM, Avinash Sridharan wrote:> Hi All,>  I wanted to know as to what is the duration of sensing when using > CC2420 whe

[Tinyos-help] T2 Tutorial5

2006-11-08 Thread Mikael Ifversen
Hello again, Haven't found a match for this problem in the list. Java files compiled fine in Oscilloscope/java. Basestation and Oscilloscope are installed on motes, SerialForwarder is seeing mote communicarion and is counting. The Oscilloscope GUI can run without SerialForwarder. The problem i

Re: [Tinyos-help] duration of sensing when CCA.get () called in tinyos-2.x

2006-11-08 Thread Philip Levis
On Nov 8, 2006, at 11:50 AM, Avinash Sridharan wrote: Hi All, I wanted to know as to what is the duration of sensing when using CC2420 when the CCA.get() is called in tinyOS-2.x. Is there any way to measure this ? CCA.get is reading a memory-mapped input pin. So it *should be* a memor

Re: [Tinyos-help] TestTreeRouting

2006-11-08 Thread Philip Levis
On Nov 8, 2006, at 11:35 AM, ricardo tiago wrote: Hi I'm trying to simulate TestTreeRouting from tinyos-2.x tree. But i got some errors. The first ones that i fixed w I don't think TestTreeRouting is operable; you want TestNetwork or MultihopOscilloscope. Phil __

[Tinyos-help] T2 Tutorial4 Sending Packet To Serial

2006-11-08 Thread Mikael Ifversen
Hi, Shouldn't following code suffice in sending packets to serial instead of radio? Compilation is fine but get no response in both Listen or MsgReader execpt: $ java net.tinyos.tools.MsgReader BlinkToRadioMsg [EMAIL PROTECTED]:115200: resynchronising I'm using T2 w/Tmote #include #include "Bl

Re: [Tinyos-help] which one is the compiler choose when there are more components with same name

2006-11-08 Thread Benjamin Madore
There does seem (to me) to be a lot of unnecessary duplication throughout the tree. I seem to run accross it whenever I search for things. -- For some reason, the United States is the only country on Earth where accidents don't happen – it's always somebody's fault, and you can sue that somebody

[Tinyos-help] get wrong byte in the message

2006-11-08 Thread Yinying Yang
Hi,   I am using TOSSIM to simulate a multihop flooding protocol. I use Tinyviz to produce the topology of the network and the radio model plugin to control node's transmission range. The node in the middle of the topology broadcast a message to its neighbor, and when its neighbor received it, the

[Tinyos-help] duration of sensing when CCA.get () called in tinyos-2.x

2006-11-08 Thread Avinash Sridharan
Hi All, I wanted to know as to what is the duration of sensing when using CC2420 when the CCA.get() is called in tinyOS-2.x. Is there any way to measure this ?Thanks,Avinash-- Phd Dept. of Electrical Engineering University of Southern Californiahttp://www-scf.usc.edu/~asridhar _

[Tinyos-help] TestTreeRouting

2006-11-08 Thread ricardo tiago
Hi I'm trying to simulate TestTreeRouting from tinyos-2.x tree. But i got some errors. The first ones that i fixed were: In file included from TestTreeRoutingC.nc:10: In component `TestTreeRoutingP': TestTreeRoutingP.nc:7: too few arguments to interface `Timer' TestTreeRoutingP.nc:10: `Timer.f

Re: [Tinyos-help] which one is the compiler choose when there are more components with same name

2006-11-08 Thread Michael Schippling
There is an assumed include order defined _somewhere_ in the tool chain. You can add a -v to the nesc line to get a list of source files (but not necessarily header files unfortunately). Or you can search through the intermediate output app.c file. The make docs output will also show which modules

Re: [Tinyos-help] T2 SerialForwarder

2006-11-08 Thread Michael Schippling
Such '80's technology...heh. You can also just use separate shell windows... MS Conor Todd wrote: If you'd like SerialForwarder (or any command, for that matter) to run in the background so that you can still use your command line, put an ampersand ("&") at the end of the command. To bring it

Re: [Tinyos-help] T2 SerialForwarder

2006-11-08 Thread Conor Todd
If you'd like SerialForwarder (or any command, for that matter) to run in the background so that you can still use your command line, put an ampersand ("&") at the end of the command.  To bring it back to the foreground, type "fg".  If it's already running in the foreground and you don't want to st

Re: RE : [Tinyos-help] Tinyviz and Tossim with multi applications

2006-11-08 Thread Conor Todd
Is it possible to run multiple copies of TOSSIM (one for each application under test) connected to one serialforwarder so that they can talk to each other?     - Conor  On 11/8/06, walid hamdi <[EMAIL PROTECTED]> wrote: This was my first problem at all!!:)This won´t be possible:-(Tossim runs a

[Tinyos-help] CC2420 Questions

2006-11-08 Thread Greg Jaman
Hi Everyone,I"m creating a new hardware platform for tinyOS.  I decided on using the CC2420 as the RF transceiver.I have connected all the SPI lines and control lines.  But I have a few questions. This is my configuration.   -  4 SPI lines:      (CSn, SCLK, SI, SO)   -  FIFOP:            Wired

RE: [Tinyos-help] acks in T2

2006-11-08 Thread Razvan Musaloiu-E.
Hi! On Wed, 8 Nov 2006, David Moss wrote: > Hi Razvan, > > Interesting - broadcasts are never supposed to be acknowledged, as you > pointed out. I see what the issue is though - line 276 in > CC2420LowPowerListeningP is forcing acknowledgements on, and the lower level > radio stack isn't checki

[Tinyos-help] Re: Question on necC - storing an array in the internal flash memory

2006-11-08 Thread Ian Welch
Try using the BlockStorageC or LogStorageC components. Also you may want to take a look at http://www.tinyos.net/tinyos-2.x/doc/html/tep103.html for more information on how to use the Permanent Data Storage (Flash) on your platform. What Platform are you using? Mica2? Ian-- Forwarded messag

[Tinyos-help] re: Problem of using mica2 and sensor function

2006-11-08 Thread Ian Welch
Yao,    Are you using a sensor board or your own set of custom sensors?  Either way you may want to try sampling the sensor with the ADC using the ATM128AdcP module. This will allow you to manually sample the sensors. Use the the ADC in conjunction with the TimerMilliC module to periodically sample

RE: [Tinyos-help] acks in T2

2006-11-08 Thread David Moss
Hi Razvan, Interesting - broadcasts are never supposed to be acknowledged, as you pointed out. I see what the issue is though - line 276 in CC2420LowPowerListeningP is forcing acknowledgements on, and the lower level radio stack isn't checking addresses before ack'ing. Therefore, line 276 shoul

RE: [Tinyos-help] Problem of using mica2 and sensor function

2006-11-08 Thread Yao Hui
Dear Sir May I know the below info is based on tinyos1.1 or tinyos2.x? because I can not find tos/sensorboards/micasb/ folder under tinyos2.x. thx! From: Michael Schippling [mailto:[EMAIL PROTECTED] Sent: Wed 11/8/2006 3:31 AM To: Yao Hui Cc: tinyos-help@Mil

[Tinyos-help] timer accuracy

2006-11-08 Thread Tie Luo
We are using micaz motes with T2.  Since we may set intervals as small as 1 ms, we are concerned about the timer accuracy. We read TEP and knew that timer0 uses external crystal and has the best accuracy, does the millisecond timer component use timer 0 rather than 1-3? If not, how to use timer0?An

[Tinyos-help] which one is the compiler choose when there are more components with same name

2006-11-08 Thread Hairong Yan
Dear Sir, I am reading the codes of CntToLedsAndRfm, I notes there are two components named RadioCRCPacket, one is in the directory of system, one is in the platform. The compiler choose the one in the platform directory. But in the makefile I can not found any rule of it, why? Thanks in advance. b

[Tinyos-help] multiplying two,4byte nos within 1ms

2006-11-08 Thread siva prasad
hi all,   i am working on tmotes--( 8MHz Texas Instruments MSP430 microcontroller (10k RAM, 48k Flash)    i need to multiply two "int32_t" numbers within 1ms is it possible?   please let me know...  thanking u ... ___ Tinyos-help mailing list Tiny

[Tinyos-help] T2 SerialForwarder

2006-11-08 Thread Mikael Ifversen
Hi, Tutorial4 states that a second SerialForwarder can be opened with this line: java net.tinyos.sf.SerialForwarder -port 9003 -comm [EMAIL PROTECTED]:9002 But where am I suppose to to input this line since cygwin is occupied by SerialForwarder and does not allow input. The same goes for :

[Tinyos-help] how to disable interrupt in tossim

2006-11-08 Thread roy liu ^-^
tinyos-help, hi,everyone I want to know how to disable or enable interrupt in tossim. for example, if i used codes in mica mote as below { intEnabled = inp(SREG) & 0x80; cli(); } Is it the samed in tossim? thx for your

RE : [Tinyos-help] Tinyviz and Tossim with multi applications

2006-11-08 Thread walid hamdi
This was my first problem at all!!:) This won´t be possible:-( Tossim runs a simulation of up to 1000 motes but implementing the same application.. Sorry:( ___ Découvrez une nouvelle f

[Tinyos-help] Tinyviz and Tossim with multi applications

2006-11-08 Thread Termodonte
Hello guys, maybe this question is old as tinyos but i would like to know if it's possible to run more applications, using tossim and see them working together in tinyviz. For example, i would run OscilloscopeRF and TOSbase (or maybe TOSbase and TestTinySec) in the same time and see in tinyv

[Tinyos-help] T2-Tutorial4

2006-11-08 Thread Mikael Ifversen
Hello, Could anyone point me to the file in T2 that changes the output structure of java net.tinyos.tools.Listen from what is displayed in tutorial4: 00 FF FF 04 22 06 00 02 00 01 to what I receive with Tmote: 00 FF FF FF FF 04 22 06 00 02 00 01. Best, Mikael _

[Tinyos-help] Re: A question about FlashViewer

2006-11-08 Thread Wei-jen Hsu
Title: Message Hello all,   I am using the new version of FalshBridgeViewer for Boomerang now, but still get the same problem. The compilation of program and uploading to the mote seem to be fine, and the green led comes up. But when I send any message through FlashBridgeViewer there is no re

Re: [Tinyos-help] changing radio strength

2006-11-08 Thread Kocsis László
I think TOS *msg->strength  is automatically set, in the receiver mote when a packet arrived, so you can measure the RSSI. In cc2420control interface you can set ( SetRFPower() ) and get ( GetRFPower() )the RFPower is used when sending. L.   - Original Message - From: sougata

[Tinyos-help] Hash Function

2006-11-08 Thread Lorenzo Mainardi
Hi, I developing a distributed authentication protocol for Wireless Sensor Network. I need an hash function, I saw in a previous posts that RC5 was implemented in TinyOS, where I can find it? If I cannot use it, can I initialize the standard random number generator with a seed, instead the default

Re: [Tinyos-help] Why is sendDone() called twice?

2006-11-08 Thread Tarun Bansal
OK. Also is there anyone in the group who has/hasn't noticed the same phenomenon ? Tarun On 11/8/06, Philip Levis <[EMAIL PROTECTED]> wrote: On Nov 7, 2006, at 1:57 AM, Tarun Bansal wrote: > I am using TOSSIM environment with TinyOS 1.1.11 and CC1000 stack I have no idea what the problem