Re: [Tinyos-help] multi hop communication in tos 2

2007-04-19 Thread Philip Levis
On Apr 18, 2007, at 6:54 AM, Romain Thouvenin wrote: I forward my reply to the list, in case someone else is interested. ... Hi Phillip, I am currently implementing the DYMO protocol on TinyOS 2 for my Master's Thesis. This is a routing protocol for multihop unicast routes. To test and

Re: [Tinyos-help] multi hop communication in tos 2

2007-04-19 Thread Philip Levis
On Apr 18, 2007, at 4:42 AM, Philipp Engel wrote: Hello, I started working with TinyOS a few weeks ago and walked through the T2 tutorials (which were very helpful, btw). I have no experience with T1 so far. For my project, I need multi hop communication, so I read about ctp and

Re: [Tinyos-help] -shared option of ncc and avr-gcc

2007-04-19 Thread Philip Levis
On Apr 14, 2007, at 1:06 AM, Enric wrote: Dear All, I want to create a dynamic library using ncc, but I found the avr- gcc(in tinyos 1.x) has deliberately disabled its '-shared' option thus I cannot make it. But I do see this kind of usage on the tutorial.Does anyone know the reason? Is

Re: [Tinyos-help] Tuning the radio Ouput power

2007-04-19 Thread Philip Levis
On Apr 18, 2007, at 8:44 AM, Fabrizio Stefani wrote: R Also, I've found a CC2420Packet.setPower(message_t *, uint8_t), but it only applies to one packet. Changing power for each packet? Interesting... streams... power modulation depending on data value... low-power audio/video tx...

RE: [Tinyos-help] Micaz TOS_DATA_LENGTH change

2007-04-19 Thread Munaretto, Daniele
Try changing the length in the AM.h file. It should be fine. Cheers Daniele Daniele Munaretto Researcher DoCoMo Communications Laboratories Europe GmbH Landsbergerstraße 312 80687 Munich Germany Mobile : +49- 162- 2919-218 Office : +49- 89-

[Tinyos-help] Has anyone installed on Linux? Please reply if you have

2007-04-19 Thread keerthii
Hi, I was just wondering if anyone has installed Moteiv's Tmote tools or tinyos on linux. If so, please reply I need a file which I cannot find on the cvs. Regards Keerthi ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Tuning the radio Ouput power

2007-04-19 Thread Romain Thouvenin
On 4/19/07, Philip Levis [EMAIL PROTECTED] wrote: On Apr 18, 2007, at 8:44 AM, Fabrizio Stefani wrote: R Also, I've found a CC2420Packet.setPower(message_t *, uint8_t), but it only applies to one packet. Changing power for each packet? Interesting... streams... power modulation depending

[Tinyos-help] UART ReceiveMsg

2007-04-19 Thread Inderjit Singh
Thanks for the suggestions lad. Very appreciated. Most of them I have already thought of. The code was only written to test that the communication is working. That's it. But It's good to be confirmed on the issue. Thanks. However, Michael, what do you mean by you need to leave the 7E's alone as

Re: [Tinyos-help] surge performance

2007-04-19 Thread Alan Medlar
The radio hardware can send at 250kb/s and indeed every packet is being sent at that speed, however your throughput over time between two motes cannot be that high (time spent in backoff, loading buffers, time in the application code, etc). The most I have ever managed to get out of tinyos-1.x

Re: [Tinyos-help] Micaz TOS_DATA_LENGTH change

2007-04-19 Thread Alan Medlar
If my understanding of what you are doing is correct and you want to send packets of length TOSH_DATA_LENGTH, then the actual call to 'send' has to falsely state that the length of the packet payload is TOSH_DATA_LENGTH. (eg: call Send.send(ADDRESS, TOSH_DATA_LENGTH, buf) as opposed to call

Re: [Tinyos-help] Has anyone installed on Linux? Please reply if you have

2007-04-19 Thread Alan Medlar
Could you be less vague? What file? What verion of tinyos? (or boomerang if this is something to do with moteiv)? On 19/04/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I was just wondering if anyone has installed Moteiv's Tmote tools or tinyos on linux. If so, please reply I need a

[Tinyos-help] Fw: configuring PW pins as both input and output pins

2007-04-19 Thread Dipti
Hi all, I am trying to implement an application in which a mica2 mote receives digital data on pins PW0-PW3 and forwards the same on the RF link. I have a few doubts regarding the application. 1 Is it possible to configure pin nos PW0-PW3 as input pins and the pins PW4-PW7 as the output pins.

Re: [Tinyos-help] Install tinyos(Tmote Tools) on Linux

2007-04-19 Thread Alexander Becher
* [EMAIL PROTECTED]: I was wondering if anyone knows where I can get the file mspgcc-cvs.tar.gz I have been trying to follow the installtion guide for installing tiny OS (Tmote Tools) on Linux. I'm stuck at the bit where I have to install MSP-GCC. There's a script in there that's meant to

Re: [Tinyos-help] Ubuntu TinyOS Existing AVR libs

2007-04-19 Thread Anne van Rossum
Of course, this problem is not Ubuntu specific. It exist on every system where there is an existing AVR toolchain. If there are no hardcoded dependencies, I can rename the folders and file names in the following way: * dpkg-deb -x avr-binutils_2.15tinyos-4_i386.deb

[Tinyos-help] Simple question on TimerTMilli

2007-04-19 Thread Muhammad Azhar
Hi all, I apologise if this is a rather basic question, but to set a timer to fire exactly 1s periodically (using TimerTMilli), do I input startPeriodic(1000) or startPeriodic(1024)? 'Coz all the while, I've always used the former, but I realised that it's never 1 sec, always faster than that. A

[Tinyos-help] NetSync in Boomerang

2007-04-19 Thread John Hendrie
Hello, I'm looking at NetSync in Boomerang and I can't see how NetWakeM is actually used. Only NetSync wires to NetWake and NetSync doesn't actually call any functions inside of NetWake. All functionality seems to start at ReceiveMsg.receive() but from what I can see nothing triggers a send in

[Tinyos-help] How do I only operate as the relay mote on Surge program?

2007-04-19 Thread Jeong Kwanhee
Hello all, Currently, I do test multihop using the surge program by micaz.. Environment is this: Computer ß base mote node 0 ß mote 1 ß mote2 ß mote3 Moreover, I’m trying to act only relay except source node(mote3) and mote 0. Mote1 and mote2 act only to relay what it received child mote.

Re: [Tinyos-help] surge performance

2007-04-19 Thread Hui KANG
This is the link. http://www.moteiv.com/community/Change_the_default_UART_baud_rate On 4/19/2007, Michael Schippling [EMAIL PROTECTED] wrote: If the destination is the pc you may be limited by the serial port speed. There are some instructions for changing that speed, someplace... I probably

Re: [Tinyos-help] Simple question on TimerTMilli

2007-04-19 Thread Steve McKown
Hi, On Thursday 19 April 2007 05:53, Muhammad Azhar wrote: Hi all,    I apologise if this is a rather basic question, but to set a timer to fire exactly 1s periodically (using TimerTMilli), do I input startPeriodic(1000) or startPeriodic(1024)?  'Coz all the while, I've always used the

[Tinyos-help] CC2420 micaz real data rate?different from MIB manual

2007-04-19 Thread Munaretto, Daniele
Hi all, I was wondering if someone of u has some experience on the real MicaZ data rate. The MIB manual says 250Kbit/s as MAX data rate, but it will mean that if u have a packet of 127 bytes to transmit, your transmission time is around 4 ms. However I feel the transmission time has to be quite

Re: [Tinyos-help] Simple question on TimerTMilli

2007-04-19 Thread Urs Hunkeler
Hi, Usually a clock on a microcontroller is implemented by using a clock crystal on an asynchronous counter. When the counter overflows (or reaches 0) it generates an interrupt, which is then used to update the clock. A typical frequency for such a crystal would be 32.768 kHz, which is 2^15. The

[Tinyos-help] Surge application

2007-04-19 Thread mehmet kaplan
Hi all, I searched mail archives, but i couldn't find anything. I am trying to load Surge application to a node in Sensenode TinyOS 1.15. But there is an error like implicit declaration of function qsort in MultiHopLEPSM. I couldn't solve the problem. I suppose it is so simple, but i'm beginner

[Tinyos-help] Regarding Surge application

2007-04-19 Thread ankur jain
Hi all, I want to know whether the Surge applications that lies within contrib/xbow/apps folder comes with multi-hop routing enabled or disabled by default.Since in the apps config. files ,the lines corresponding to multi-hop routing are commented in my case. I am sending you the config. file

[Tinyos-help] Microphone on a mts300 sensorboard - tone detector, raw data and Resource.request() problem (and workaround)

2007-04-19 Thread Hugo Sousa
Using: TinyOs 2.x (CVS updated), cygwin, crossbow micaz motes, mts300ca sensorboard The initial problem while using MicC to access the microphone tone detection was that the microphone seemed to be always detecting the 4khz tone, even if no tone was present. I tried reading the code below (MicP,

[Tinyos-help] How to change TimerA to TimerB

2007-04-19 Thread Firat TARAKTAS
Hi Steve, I am mailing you according to statement below (TimerTMilli components uses Timer A). Do you inform me about how to make Timer to use TimerB instead of Timer A. Thanks for your help. Firat TARAKTAS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [Tinyos-help] Regarding Surge application

2007-04-19 Thread vinay murthy
Hi ankur it comes with Mutihop enabled. cheers,vinay. ankur jain [EMAIL PROTECTED] wrote: Hi all, I want to know whether the Surge applications that lies within contrib/xbow/apps folder comes with multi-hop routing enabled or disabled by default.Since in the apps config. files ,the

Re: [Tinyos-help] Complete Novice Question: Installing TinyOS and Compiling on MacOSX 10.4 for MICA

2007-04-19 Thread Greg Turnipseed
Yes, I have avr-objcopy and avr-gcc installed. They¹re located in the /usr/local/bin directory. TOSDIR=/Users/greg/Documents/Sources/tinyos-1.x/tos TOSROOT=/users/greg/Documents/Sources/tinyos-1.x These are correct, as far as I can tell. Inside the TOSDIR path are the folders

Re: [Tinyos-help] Tmote Invent Potentiometer

2007-04-19 Thread Andrew Redfern
Hi Jon, Take a look at the PhotoDriver component located in $MOTEIV_DIR/tos/sensorboards/invent/. Andrew On 4/18/07, Jon [EMAIL PROTECTED] wrote: The photo potentiometer. On 4/19/07, Andrew Redfern [EMAIL PROTECTED] wrote: Hi Jon, What potentiometer are you trying to set? Andrew On

Re: [Tinyos-help] Simple question on TimerTMilli

2007-04-19 Thread Philip Levis
On Apr 19, 2007, at 7:37 AM, Steve McKown wrote: H In case you're wondering why it's set up this way: converting between powers of 2 needs only fast bit shifts. Far more efficient than, say, dividing by 1000. Actually, the reason has more to do with error and the effort/cost it

Re: [Tinyos-help] Micaz TOS_DATA_LENGTH change

2007-04-19 Thread Benjamin Madore
On Thu, April 19, 2007 5:41 am, Alan Medlar said: If my understanding of what you are doing is correct and you want to send packets of length TOSH_DATA_LENGTH, then the actual call to 'send' has to falsely state that the length of the packet payload is TOSH_DATA_LENGTH. (eg: call

[Tinyos-help] transmission using cricket problem

2007-04-19 Thread Abhishek Trivedi
Hello All, I have a problem with the crossbow cricket. I am able to use it as beacon,listener and receiver but the transmission through it is not working. The transmit function is like this.. event result_t RadioSend.sendDone(TOS_MsgPtr data, result_t success) {

Re: [Tinyos-help] UART ReceiveMsg

2007-04-19 Thread Michael Schippling
I think the sync bytes are covered in the octavetech doc. Each message is preceeded and succeeded (bracketed) by a 0x7E byte so the receiving code can figure out where it is in the stream. All other 7E's in the message are escaped, which at least triples the complicatedness of the system. But it

Re: [Tinyos-help] Fw: configuring PW pins as both input and output pins

2007-04-19 Thread Michael Schippling
Search back on this list for TOSH_ASSIGN_PIN schip ( http://www.moteiv.com/community/TinyOS_Information is a good start) and you will find many of my deathless posts on the use of DIO with TOS1.x Specifically these two:

[Tinyos-help] Re: CC2420 micaz real data rate?different from MIB manual

2007-04-19 Thread Michael Schippling
My much referenced but never replicated report is at: http://www.etantdonnes.com/Motes/report_micaz/ I thought I was thinking clearly when I did it, but cannot recover the process without re-reading it every time... There is a major non-clarity: The 66 message number refers to a call and

[Tinyos-help] BlackBook File System, BFileWrite interface

2007-04-19 Thread Mayur Maheshwari
Hi David I had a chance to test the BBFS on my telosb mote running TOS2 and I ran a small app to use BFileWrite and BFileRead interfaces and they worked as expected. However, while bulding up an advanced application I required to know the name of the file whenever I opened one (with BFileWrite

[Tinyos-help] RE: BlackBook File System, BFileWrite interface

2007-04-19 Thread David Moss
Hi Mayur - You're right - that is pretty inconsistent. I think it's left over from one of the first implementations of Blackbook on TinyOS 1.x, and I forgot to update the interface's comments. There is a major design issue with allowing the event to give you back the filename, which is

[Tinyos-help] backoff CSMA

2007-04-19 Thread Jeong Kwanhee
Hello all!! I want to increase about throughput in micaz's surge application. So, I'm currently doing to remove backoff and ack. However, I don't know how to disable backoff. (I found how to disable ack.) I think that I have to use CC2420Radio or CC2420Control. Is right? I can't find and