[Tinyos-help] Setting Baud Rate in B-Mac

2006-06-06 Thread venkatesh s
Hi all,   I am simulating a application where i need to find the transmission delay in TOSSIM.  So I used time stamps to find the delay for a packet.  The delay was varying from 20ms to 40 ms.  This was due to the fact of Backoff delay.  Since this is a randomly chosen delay, I made that to a const

Re: [Tinyos-help] Re: Neighbor List

2006-06-06 Thread Aditya Bhave
I am not too aware of the Neighbourhood graph. But its a relatively simple matter to code it yourself. Have each mote broadcast a "Hello" packet. All its neighbours will receive the packet and can record the node IDs in a link list or array. You can even simultaneously record the RSSI and come to k

Re: [Tinyos-help] Re: Packet format from PC to base mote through UART

2006-06-06 Thread David Gay
On 6/5/06, Lei Tang <[EMAIL PROTECTED]> wrote: I was using a general serial-port application to send data to the mote, because I want to have my own application to control motes. A suggestion: if you want to roll your own code, start by reading through the existing code which does what you want

Re: [Tinyos-help] Re: Packet format from PC to base mote through UART

2006-06-06 Thread Sankar Gorthi
Yup, The code sends out a packet every ~1.5 seconds on the radio. A TOSBase mote connected to a PC should be able to pick it up. -shrug- You're welcome and please do keep me posted. Curious to say the least. Sankar. On Tue, 06 Jun 2006 23:26:02 -0500, Lei Tang <[EMAIL PROTECTED]> wrote: Y

Fwd: Re: [Tinyos-help] Re: Packet format from PC to base mote through UART

2006-06-06 Thread Sankar Gorthi
Yes. Although, I've programmed them with group ID 7D (default). This shouldn't matter as TOSBase simply reads the packet sent over the UART and substitutes the current group ID when transmitting. Quick doubt - are you framing a message AROUND this packet? I mean are you sending the packet 7E ..

Re: [Tinyos-help] Unknown target during make

2006-06-06 Thread Sankar Gorthi
check your tinyos-1.x/apps/ folder to see if the Makerules file lists all the platforms you have to use. If not, the file should be available on the Tinyos.net website - http://www.tinyos.net/tinyos-1.x/apps/Makefile I couldn't find the tmote Make-rules in there though. Someone else might h

[Tinyos-help] Unknown target during make

2006-06-06 Thread bhushan bhatt
Hi all,   I am trying to implement SMAC and got the code from the site. When i give the command make tmote it says " Unknown targetKnown targets for TinyOS directory /opt/moteiv/tinyos-1.x/tosand the specified include directories are:  tmote atmega8 mica mica128 mica2 mica2dot micaz msp430 pc rene2

Re: [Tinyos-help] Re: Packet format from PC to base mote through UART

2006-06-06 Thread Lei Tang
On 6/6/06, Lei Tang <[EMAIL PROTECTED]> wrote: I am not sure if i was using UARTNoCRCPacket. Is it a component? But, I do not think it's because the CRC check. At least  Msg->length, type, addr are correct. I tried the packet you sent me, but i failed again. Msg->data = "" 00 00 00 00. Did you prog

Re: [Tinyos-help] Deluge

2006-06-06 Thread Sankar Gorthi
oops. hit send too fast there. now, like i was saying, once you've programmed them with DelugeBasic, plug in one of the motes in the programmer board and then use the Deluge tools to write the Goldenimage into the goldenimage image :). then follow the instructions in the manual: http://ww

Re: [Tinyos-help] Deluge

2006-06-06 Thread Sankar Gorthi
First, do the format flash part (tinyos-1.x/apps/TestDeluge/FormatFlash/) compile the code in that folder and program your motes. next, go to the DelugeBasic folder (tinyos-1.x/apps/TestDeluge/DelugeBasic/) and compile your code and program with the id's you want to use. Sankar. On Tue,

[Tinyos-help] Deluge

2006-06-06 Thread Adam
How to use Deluge to programe several motes together with different ID? Thanks. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[tinyos-help]does mate support mica2doc sensor board

2006-06-06 Thread song guo
Hi,I am a new one in tinyos and try to inject the mate VM in the mica2dot.I used the bombilla-mica.vmsf, it seems that it can not support the sensor of mica2dot. I used the function light() but the return value is always 1023 can any one give me a hint?thank yousong

[Tinyos-help] Re: Neighbor List

2006-06-06 Thread Keyan Mahadevan
Hello, Is there any documentation on how I can use the Neighborhood graph? I basically want each node to have a list of its neighbors. Thanks for your help Kn ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkel

Re: [Tinyos-help] Re: Packet format from PC to base mote through UART

2006-06-06 Thread Lei Tang
Thanks. But it doesn't work. If I send "7E 42 7D 5E 00 00 81 05 AA 07 44 08 11 38 40 7E", Msg->data is "40 00 00 00 00" at the base mote. And I found that Msg->data[0] is always the last CRC byte. Thanks anyway.Best,LeiOn 6/6/06, Sankar Gorthi < [EMAIL PROTECTED]> wrote:of course, i'm assuming you'

Re: [Tinyos-help] Application loses packets when using Low Power Listening on TOSSIM

2006-06-06 Thread Michael Schippling
can't help with the main LPL question, but search back on the list for a few weeks for "ACK". I periodically send out "advice" on that... MS Vinai Sundaram wrote: Hi , I notice that when I put the CC1000Radio (in tos/platform/pc ) in low power listening(LPL) mode, the application loses packet

Re: [Tinyos-help] need help for serial-to-usb converter for mib510

2006-06-06 Thread Michael Schippling
If you can program the mica2 but not receive data you probably have the silly little switch on the mib510 board in the wrong position. The a slide switch on the opposite edge from the serial connector, next to the reset push button, should be in the OFF position. Please don't ask me what the swit

[Tinyos-help] Application loses packets when using Low Power Listening on TOSSIM

2006-06-06 Thread Vinai Sundaram
Hi , I notice that when I put the CC1000Radio (in tos/platform/pc ) in low power listening(LPL) mode, the application loses packets although lossy radio model is not used. The event sendDone gets called on the sender side but the receiver does not receive the packet. When I put debug statemen

[Tinyos-help] need help for serial-to-usb converter for mib510

2006-06-06 Thread Zhengsu Gao
Hi, all: I am using mib510 board and a serial-to-usb converter. Now I can programing mica2 with mib510. but I cannot receive the raw data from uart (I am using xlisten). I found some doc said "Some USB to DB9 serial port adapters cannot run at 115 kbaud". But I checked the driver, it seems

Re: [Tinyos-help] is this resources good for practical understanding of TOS

2006-06-06 Thread Michael Schippling
Never saw it before, but looks interesting. However TOS was designed to be used with the mica Motes and has been extended to some other products, like Tmote. Start with the search page I just sent you. Also look at: http://www.xbow.com/Products/productsdetails.aspx?sid=3 For learning TOS itself,

Re: [Tinyos-help] scripting in TOSSIM

2006-06-06 Thread Philip Levis
On Jun 6, 2006, at 3:32 AM, Vinayak Naik wrote: http://www.tinyos.net/tinyos-1.x/doc/tython/manual.html TOSSIM in 2.0 takes a more extreme position, where the simulator itself is a Python object (removing the Tython/TinyViz overhead of IPC): http://tinyos.cvs.sourceforge.net/*checkout*/ti

Re: [Tinyos-help] RSSI strength

2006-06-06 Thread Philip Levis
On Jun 5, 2006, at 11:57 PM, Sankar Gorthi wrote: well, makes sense doesn't it? how can you simulate the strength of the recieved signal? i'd imagine it's fairly random. although, i wouldn't stake anything on it. maybe someone else has a better idea. You can simulate the strength of a r

[Tinyos-help] Help: lossy.nss, option -r=lossy

2006-06-06 Thread Munaretto, Daniel
When i start my simulation, with command ./buld/pc/main.exe -b=1 -t=10 -r=lossy 3 > sim.txt it's showed: .. Initializing lossy model from lossy.nss 0: cannot open lossy.nss - assuming single radio cell .. What should i do to use this file for the "-r=lossy" option? Please, if anyone could

[Tinyos-help] Tiny DB Help

2006-06-06 Thread prajakta choudhari
Recently we r trying to run tinydb with mts 420 sensors , we are getting null values for pressure,humidity.. We traced the code and found the Pressure.getData() function neither returns fail nor signals dataReady event. Can anyone put sum light on this issue. -- ---

[Tinyos-help] time

2006-06-06 Thread Munaretto, Daniel
How can i consider these time in seconds or milliseconds? i ran a TOSSIM simulation and i found these times of booting: SIM: Time for mote 1 initialized to 2477084. SIM: Time for mote 2 initialized to 2200990. It's quite urgent, if anyone knows.. Thanks Daniele __

[Tinyos-help] Re: MTS420 drivers problem with tinydb

2006-06-06 Thread Samuel Madden
Abishek -- To the best of my knowledge, the MTS420 has never worked with the mica2's and TinyDB. The behavior you see (large gaps between epochs, lots of readings with NULLs) is consistent with TinyDB timing out on calls to getAttr which never return a value. -Sam On Jun 6, 2006, at 5:

Re: [Tinyos-help] scripting in TOSSIM

2006-06-06 Thread Vinayak Naik
http://www.tinyos.net/tinyos-1.x/doc/tython/manual.html- VinayakOn 6/6/06, Dasarath Weeratunge <[EMAIL PROTECTED]> wrote:I read on http://www.cs.berkeley.edu/~pal/research/tossim.htmlthat there is an on going effort to incorporate scripting into TOSSIM. Where canI find more information about this

Re: [Tinyos-help] TinyOs Help - TOSSIM

2006-06-06 Thread mike healy
Hi Marcus, This question seems to come up fairly often so I'll take a stab at giving an answer. I see from the attached files that you're running TOSSIM under Windows. This is the problem. My understanding is that if you are running TOSSIM under Windows TinyViz will not work (at least not for th

[Tinyos-help] MTS420 drivers problem with tinydb

2006-06-06 Thread Abhishek
Hi ,   Is there any guy out there who is successful in getting the results from this experimental setup:   MTS420 sensor with MPR400 (mica2 mote). The mote is programmed with /opt/tinyos-1.x/apps/TinyDBApp .   On the PC side , we are viewing the results in TinyDB GUI  using the following co

[Tinyos-help] is this resources good for practical understanding of TOS

2006-06-06 Thread Sola Famoriyo
Thanks for the response , please can anyone advice if the products on the website http://www.smileymicros.com/  is equally good for the practical understanding of TOS. I would like to have a practical feel of the functionalities of TOS and need a constant practise  all comments are welcome...

[Tinyos-help] scripting in TOSSIM

2006-06-06 Thread Dasarath Weeratunge
I read on http://www.cs.berkeley.edu/~pal/research/tossim.html that there is an on going effort to incorporate scripting into TOSSIM. Where can I find more information about this work? thanks, --dasarath ___ Tinyos-help mailing list Tinyos-help@Millenniu

[Tinyos-help] Help: Michael Schippling please

2006-06-06 Thread Sola Famoriyo
hello Michael Schippling, please i mistakenly deleted the mail you sent to me cos it went to my bulk mail. i had already clicked on the delete button before seeing the mail. on going back i couldn't open it again.   ''' hello all, i am very new to tinyos and i need to get some fundamental kno