Re: [Tinyos-help] Surge Applicaiotn

2007-04-29 Thread Sankar Gorthi
http://en.wikipedia.org/wiki/Race_condition Googling the term multithreading should also help. Sankar. - Original Message - From: santosh bhima To: Tinyos-help@millennium.berkeley.edu Sent: Sunday, April 29, 2007 10:44 PM Subject: [Tinyos-help] Surge Applicaiotn Hello,

Re: [Tinyos-help] CRC checking

2007-04-09 Thread Sankar Gorthi
When we were calculating the CRC algorithm using LabVIEW, we did the following: 1. create the message packet including everything but the Sync bytes (7E) 2. escape the bytes corresponding to 7D, or 7E 3. run the CRC algorithm on the escaped data packet 4. attach the CRC in little endian format

Re: [Tinyos-help] CRC checking

2007-04-09 Thread Sankar Gorthi
format (lower byte first) 4. escape the bytes corresponding to 7D, or 7E 5. attach the sync bytes 6. Send. Sankar. - Original Message - From: Michael Schippling [EMAIL PROTECTED] To: Sankar Gorthi [EMAIL PROTECTED] Cc: tinyos-help@Millennium.Berkeley.EDU Sent: Monday, April 09, 2007 2:56

Re: [Tinyos-help] tinyos: controlling the data send through the serialwith VisualBasic

2007-03-29 Thread Sankar Gorthi
You might want to do a quick Google search for Octave Deciphering TinyOS serial packets First hit: http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf You have to first implement the CRC creation algorithm after you escape the packet. Good luck :). Sankar.

Re: [Tinyos-help] A Scenario to study TinyOS and WSN

2006-12-21 Thread Sankar Gorthi
tutorial tests. Chris Regards -- Sankar Gorthi No opera plot can be sensible, for people do not sing when they are feeling sensible. - W. H. Auden ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu

Re: [Tinyos-help] A Scenario to study TinyOS and WSN

2006-12-21 Thread Sankar Gorthi
about this plan? Sun Regards -- Sankar Gorthi No opera plot can be sensible, for people do not sing when they are feeling sensible. - W. H. Auden ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https

Re: [Tinyos-help] How to get the node-id just by Mote?

2006-12-15 Thread Sankar Gorthi
package. How to do this thing just by mote? Thank you. Are you trying to change the TOS_LOCAL_ADDRESS dynamically? I'm sorry, I didn't understand the question. Is TOS_LOCAL_ADDRESS accessible for writing? I'm not so sure. Never tried it to be frank. -- Sankar Gorthi No opera plot can

Re: [Tinyos-help] Fwd: Why no tinydb exists?

2006-11-25 Thread Sankar Gorthi
A simple google search for tinydb pulls up the berkeley.edu page describing the project and notes that it is available in the CVS repository for tinyos. http://telegraph.cs.berkeley.edu/tinydb/software.html So, we now go to the Sourceforge.net page for tinyos:

Re: [Tinyos-help] working with floats and tinyos1

2006-11-25 Thread Sankar Gorthi
I'm sure that if you were to make a simple structure for handling a double or float value, you should be able to use it to typecast the TOS_msg into this format. By which, I mean something like this: typedef struct myStructure { float number1; double number2; }myStructure;

Re: [Tinyos-help] C++ and Python

2006-11-23 Thread Sankar Gorthi
The Kernighan and Ritchie book on C should be a good place to start. If you already have though, you should look at the header files in the same folder, because that's usually where the definitions of structures are placed. Sankar. On Thu, 23 Nov 2006 12:40:27 -0600, fatima cabot [EMAIL

Re: [Tinyos-help] Why no tinydb exists?

2006-11-22 Thread Sankar Gorthi
TinyDB support was removed quite a while ago. I'm sure that a simple search through the archives will bring up the relevant support (look for mail before 2005). Sankar. On Thu, 23 Nov 2006 00:22:58 -0600, Stephen Chou [EMAIL PROTECTED] wrote: Why I could not find such a diretory

Re: [Tinyos-help] Programmer is not responding error

2006-11-18 Thread Sankar Gorthi
Hi, the most common instances of this happening were when 1. the mote was switched off (turn it on) 2. the programmer switch on the programmer was set to on (set to the off position) 3. the port was being used by a different application (on windows i close all applications, labview,

Re: [Tinyos-help] PointerStruct clarification

2006-11-18 Thread Sankar Gorthi
Hi, CountMsg_t is a structure datatype. body is a pointer variable of type CountMsg_t. n is a field in the structure CountMsg_t and so is src. when you type cast m_msg.data to the CountMsg_t pointer datatype, depending upon the order in which the values are defined in the structure

[Tinyos-help] Reset Motes - Programmer is not responding. make: *** [reinstall] Error 2

2006-11-15 Thread Sankar Gorthi
Hi, I am working with the Cricket MTS450CA boards. I was programming the motes to initialize a status array - code below: for (i=0; i= NUM_MOTES; i++) { for (j=0; j=255; j++) { msgRcvd[j][i] = FALSE; } SeqNo[i] = 0;

[Tinyos-help] Re: Programmer is not responding. make: *** [reinstall] Error 2

2006-11-15 Thread Sankar Gorthi
It's working again. Of it's own volition. all it took was a couple or two restarts of the PC. Sankar. On Tue, 14 Nov 2006 20:10:20 -0600, Sankar Gorthi [EMAIL PROTECTED] wrote: Hi, I am working with the Cricket MTS450CA boards. I was programming the motes to initialize a status array

Re: [Tinyos-help] tinydb problem

2006-10-11 Thread Sankar Gorthi
Hi, Last time this happened, the query wasn't defined properly. Did you look at this? http://telegraph.cs.berkeley.edu/tinydb/tutorial/tinydb.html The tutorial covers how TinyDB interacts with the user. Sankar. On Wed, 11 Oct 2006 10:40:48 -0500, Maciej Piasecki [EMAIL PROTECTED] wrote:

Re: [Tinyos-help] queries

2006-10-11 Thread Sankar Gorthi
http://www.tinyos.net/tinyos-1.x/doc/ is as good a place to start as any. Sankar. On Wed, 11 Oct 2006 11:17:27 -0500, Torsha Banerjee [EMAIL PROTECTED] wrote: Hi all, I am a PhD student and trying to write a program in NesC which involves mathematical operations like matrix

Re: [Tinyos-help] Problem with TinyDB

2006-10-08 Thread Sankar Gorthi
As i see it, these are all warnings. did you try ignoring them and just installing the code on the mica2s? Sankar. On Sun, 08 Oct 2006 03:59:05 -0500, Milton Aguiar [EMAIL PROTECTED] wrote: Hi all: I'm trying to install, use and test TinyDB. I've installed TinyOS, java, javax.comm

[Tinyos-help] Re:

2006-08-01 Thread Sankar Gorthi
I wasn't able to fix it. The problem still exists. What I did instead was, I copied the platform specs from a colleague's pc and saved it in the tinyos-1.x/tos/ folder. I also copied his entire Cricket folder and saved it in mine (all of this with tinyos-1.1.0 in case you were wondering).

Re: [Tinyos-help] Uploading apps on mica2

2006-07-19 Thread Sankar Gorthi
Oh snap! not you too! I suffered through all of that last week. What versions of cygwin, tinyos etc are you using? I was trying out the new cygwin environment and the jan2005 (tinyos-1.1.10) build. Sankar. On Wed, 19 Jul 2006 11:42:52 -0500, jurin dan [EMAIL PROTECTED] wrote: Hi, i've

Re: [Tinyos-help] Uploading apps on mica2

2006-07-19 Thread Sankar Gorthi
cygcheck -c -v -h -v and -h are optional Sankar. On Wed, 19 Jul 2006 13:06:29 -0500, jurin dan [EMAIL PROTECTED] wrote: I've upgraded my tinyos to tinyos-1.1.15 version today. for cygwin version i don't know how to check. From: Sankar Gorthi [EMAIL PROTECTED] To: jurin dan [EMAIL

Re: [Tinyos-help] Uploading apps on mica2

2006-07-18 Thread Sankar Gorthi
are you using the MIB510=COM# make mica2 install command? (replace # with com port number) Sankar. On Tue, 18 Jul 2006 17:54:18 -0500, jurin dan [EMAIL PROTECTED] wrote: Hi. i'm working with MIB510 and mica2 and mica2dot. presently i've some difficulties to upload an

Re: [Tinyos-help] Mica2 Installation Guide available

2006-07-14 Thread Sankar Gorthi
Hi, Excellent guide. Really helped. Quick question, have you tested your setup with the Cricket series? Sankar. On Fri, 14 Jul 2006 14:29:19 -0500, Mark Bramwell [EMAIL PROTECTED] wrote: I have been creating an Installation Guide CD-ROM for my fellow students at our University. After

Re: [Tinyos-help] Pause program

2006-07-13 Thread Sankar Gorthi
I'm not sure if it's really a good idea, but I just add a timer and fire it when I need to pause for a certain amount of time. Increment a counter inside the timer.fired() event and then go back to the execution. Needs a LOT of preplanned seperation and compaction of code, but it works.

Re: RE : [Tinyos-help] Cygwin problem

2006-07-13 Thread Sankar Gorthi
... -- Personnally, I never have modify my nesc 1.1.0 to nesc-1.1.2b version I think it's the problem, you have changed your nesc version... You should come back with the 1.1.0 See you Matt -Message d'origine- De : Sankar Gorthi [mailto:[EMAIL PROTECTED] Envoyé : mercredi 12 juillet 2006 19:25 À

Re: [Tinyos-help] Pause program

2006-07-13 Thread Sankar Gorthi
. Tony On 7/13/06, Sankar Gorthi [EMAIL PROTECTED] wrote: I'm not sure if it's really a good idea, but I just add a timer and fire it when I need to pause for a certain amount of time. Increment a counter inside the timer.fired() event and then go back to the execution. Needs a LOT of preplanned

Re: RE : [Tinyos-help] Cygwin problem

2006-07-13 Thread Sankar Gorthi
cygwin version and your cygwin tools... -- Personnally, I never have modify my nesc 1.1.0 to nesc-1.1.2bversion I think it's the problem, you have changed your nesc version... You should come back with the 1.1.0 See you Matt -Message d'origine- De: Sankar Gorthi [mailto:[EMAIL

Re: [Tinyos-help] Cygwin Version Problem

2006-07-12 Thread Sankar Gorthi
Hi, I've been having the exact same problem with programming MICA2 motes. http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-July/017800.html I've tried this installation in three different PCs and have got the same result. No idea why this happens either. Help, please.

Re: [Tinyos-help] Cygwin problem

2006-07-12 Thread Sankar Gorthi
This can't be the problem, because the Programmer LED does glow when I specify the port name. Were you able to program the motes with /dev/ttyS0 etc? Sankar. On Wed, 12 Jul 2006 09:44:39 -0500, goetgheb [EMAIL PROTECTED] wrote: Andres gave me the answer. We should use ,/dev/ttyS0 and

Re: [Tinyos-help] Programming problem

2006-07-11 Thread Sankar Gorthi
it. It might just be my laptop, though. - Conor On 7/10/06, Sankar Gorthi [EMAIL PROTECTED] wrote: As you can see, the compilation results show this output: compiled Blink to build/mica2/main.exe 0 bytes in ROM 0 bytes in RAM Is there anything in particular

[Tinyos-help] Programming problem

2006-07-10 Thread Sankar Gorthi
It's not your typical Flash error of death, but it is just as frustrating. Steps adhered to: 1. Install tinyos-1.1.0 with cygwin, etc. (typical installation) 2. Try programming mica2 with Blink - works fine. 2. Upgrade Cygwin with the latest setup file from www.cygwin.com 3. Upgrade nesc to

Re: [Tinyos-help] Programming problem

2006-07-10 Thread Sankar Gorthi
As you can see, the compilation results show this output: compiled Blink to build/mica2/main.exe 0 bytes in ROM 0 bytes in RAM Is there anything in particular that can be said about this? Sankar. On Mon, 10 Jul 2006 18:34:01 -0500, Sankar Gorthi [EMAIL

Re: [Tinyos-help] Listen and ListenRaw

2006-07-04 Thread Sankar Gorthi
The packets without the 7E at the end might have had carriage returns or other line feed characters. This causes MATLAB to drop the line if you use fscanf(). fread() should fix that. This link should help you decipher the packets:

Re: [Tinyos-help] Multiple Timers

2006-06-22 Thread Sankar Gorthi
As soon as StdControl.init() reaches the return statement, it stops the execution of the program. You're halting the program after executing Timer1. Save the return keyword for the last Timer call. Sankar. On Thu, 22 Jun 2006 22:09:32 -0500, bhushan bhatt [EMAIL PROTECTED] wrote: Hello

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,

Re: [Tinyos-help] Deluge

2006-06-06 Thread Sankar Gorthi
://www.cs.berkeley.edu/~jwhui/research/deluge/deluge-manual.pdf Sankar. On Tue, 06 Jun 2006 16:56:44 -0500, Sankar Gorthi [EMAIL PROTECTED] wrote: First, do the format flash part (tinyos-1.x/apps/TestDeluge/FormatFlash/) compile the code in that folder and program your motes. next, go

Re: [Tinyos-help] Unknown target during make platform

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

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

2006-06-06 Thread Sankar Gorthi
you program the base mote with TOSBase? Thank you. Best, Lei On 6/6/06, Sankar Gorthi [EMAIL PROTECTED] wrote: well, that will obviously not work. the last two bytes in the packet i sent you were the CRC bytes (38 40) - they were specific to the message that was formed with group id 7D

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

2006-06-06 Thread Sankar Gorthi
: Yes, I sent the packet 7e7edirectly. I was using MATLAB and fwrite() function. Thanks for your code, although it doesn't work on my platform. I'm using micaz. Is that just to send messages? I will keep trying to figure it out. Thanks again. Lei On 6/6/06, Sankar Gorthi [EMAIL PROTECTED

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

2006-06-05 Thread Sankar Gorthi
Lei, you're actually right. You need to write to the 7E address. Try sending this message: 7E42 7D5E 7D5D 05AA 0744 0811 3840 7E Sankar. On Mon, 05 Jun 2006 23:23:41 -0500, Lei Tang [EMAIL PROTECTED] wrote: Hi, Julia Thanks for your reply. I was using a general serial-port

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

2006-06-05 Thread Sankar Gorthi
of course, i'm assuming you're using a windows based PC and are using a generic serial port access software (MATLAB, java etc.) to write to the serial port. Sankar. On Mon, 05 Jun 2006 23:35:30 -0500, Sankar Gorthi [EMAIL PROTECTED] wrote: Lei, you're actually right. You need

Re: [Tinyos-help] RSSI strength

2006-06-05 Thread Sankar Gorthi
i was able to get it. what seems to be the problem? all i did was access the message-strength value. Sankar. On Mon, 05 Jun 2006 23:33:52 -0500, Rajat Bansal [EMAIL PROTECTED] wrote: I am trying to print RSSI strength in the recieved broadcast packet. First i was trying to access in

Re: [Tinyos-help] RSSI strength

2006-06-05 Thread Sankar Gorthi
Leds.redToggle(); ret = m; this is a simple code i have written for recieved packet..i dont know wat seems to be the problem. can u make out some mistake? -rajat On Mon, 5 Jun 2006, Sankar Gorthi wrote: i was able to get it. what seems to be the problem? all i did was access the message-strength

Re: [Tinyos-help] RSSI strength

2006-06-05 Thread Sankar Gorthi
and oh - tinyos-1.1.0 Sankar. On Tue, 06 Jun 2006 00:20:08 -0500, Sankar Gorthi [EMAIL PROTECTED] wrote: well, this is my (a colleague's) code: Receive.receive(TOS_MsgPtr m) IntMsg *message=(IntMsg*)buffer.data; message-val=m-strength; doesn't look too different. although our

[Tinyos-help] Re: no CRC

2006-05-03 Thread Sankar Gorthi
On Wed, 03 May 2006 02:57:18 -0500, Roberto [EMAIL PROTECTED] wrote: I used UARTNoCRCPacket.nc, but, looking at a terminal application I can see always the crc packet. Have you some idea about that ? thank you in advance Apologies about the previous reply - I checked my code history after

Re: [Tinyos-help] Re: RSSI offset

2006-04-28 Thread Sankar Gorthi
Hi Roberto, We took indoor measurements of the strength value too. The value that we got back was a uint16_t value. And it showed a steadily increasing trend - which makes sense after reading this email. However, the uint8_t part is a bit of a concern. Our measurements stared at a value

[Tinyos-help] Re: RSSI

2006-04-21 Thread Sankar Gorthi
The Linear Regression approximation was exactly what we were trying to do. Didn't know about the indoor limitations. Please do clear this one doubt for us though - We were taking these measurements at increments of 1 inch corresponding to about 15 seconds on the curve that I attached in

[Tinyos-help] RSSI

2006-04-20 Thread Sankar Gorthi
will be greatly appreciated. Sankar Gorthi. strengthmeasured.png Description: PNG image ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Multihopping Questions!

2006-03-24 Thread Sankar Gorthi
I have sent this questrion before but received a very unhelpful answer so i am sending again with more detailed questions in the hope that I can get some meaningful feedback! http://www.catb.org/~esr/faqs/smart-questions.html#keepcool Once again, RT-Fine-M and your question was pretty much

Re: [Tinyos-help] Accelerometer and Mic Question

2006-03-23 Thread Sankar Gorthi
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2003-March/000993.html hope that helps, sankar. On Thu, 23 Mar 2006 15:41:58 -0600, [EMAIL PROTECTED] wrote: Hello I am a student at Purdue University and am working with the cricket mots and 310 Sensorboard. I have two questions

Re: [Tinyos-help] help

2006-03-23 Thread Sankar Gorthi
It doesn't look like there are any errors - just warnings. Have you added the deluge component in SurgeReliable.nc? If you have, just write the image to the motes. That should do it. Sankar. On Thu, 23 Mar 2006 17:14:56 -0600, Winston Liu [EMAIL PROTECTED] wrote: I want to install Deluge

Re: [Tinyos-help] using stdio.h

2006-03-21 Thread Sankar Gorthi
What exactly are you trying to do. If all you want to do is read from the serial port buffer, you should try implementing the UART component in your nesC program. TinyOS generates an even every time a byte is recieved and you can use this to perform your task. Hope that helps. Sankar. On

Re: [Tinyos-help] Help with TinyDB

2006-03-04 Thread Sankar Gorthi
. navigate to the tinyos-1.x/tools/java folder and enter java net.tinyos.tinydb.TinyDBMain should work. sankar gorthi. On Sat, 04 Mar 2006 23:56:25 -0600, Aditya Bhave [EMAIL PROTECTED] wrote: When I try to run TinyDBMain.class as explained in the tutorial, it gives the following

Re: [Tinyos-help] Help with TinyDB

2006-03-04 Thread Sankar Gorthi
On Sun, 05 Mar 2006 01:36:49 -0600, Aditya Bhave [EMAIL PROTECTED] wrote: I have one more doubt related to TinyDB. We are implementing a localization algorithm using the motes. In my project, one of the motes (the base station) is connected to the UART. I want this mote to send a query

Re: [Tinyos-help] tinyos1.x or tinyos2.x?

2006-03-01 Thread Sankar Gorthi
a questionable doubt :D. Seriously though, thanks for the heads up. Will look into Multihop-LQI. Quick question let's say I have a robot carrying a mote moving through a static sensor field, what multihop strategy would you suggest? Thanks a ton for the info. Sankar Gorthi. On Tue, 28 Feb 2006

Re: [Tinyos-help] Longer messages

2006-03-01 Thread Sankar Gorthi
http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson4.html On Wed, 01 Mar 2006 14:48:56 -0600, jose m [EMAIL PROTECTED] wrote: I want to send and receive longer messages throught SendMsg and ReceiveMsg interface. Can I mess with the TOS_Msg struct, making the data array longer? There is any

Re: [Tinyos-help] Badly need help in tinydb

2006-02-27 Thread Sankar Gorthi
this again when all the queries have been sent, acknowledged and confirmed? Any shortcuts to this? Any help would be greatly appreciated. Sankar Gorthi. On Sun, 26 Feb 2006 19:14:31 -0600, Sankar Gorthi [EMAIL PROTECTED] wrote: Hello again, I've gone through the code again and it's obvious

Re: [Tinyos-help] Badly need help in tinydb

2006-02-26 Thread Sankar Gorthi
Hi, I'm tryng to use TinyDB to get the motes to accept a Sleep query. Will it be sufficient to just define qSNOOZE? If that's all it takes, what command would I have to send to the network? Sankar Gorthi. On Sun, 26 Feb 2006 11:48:15 -0600, Zhengsu Gao [EMAIL PROTECTED] wrote: Hi, I am

Re: [Tinyos-help] Badly need help in tinydb

2006-02-26 Thread Sankar Gorthi
Hello again, I've gone through the code again and it's obvious that the #define qSNOOZE statement exists and that it only handles snoozes between long epoch durations. Has anyone implemented sleep commands in TinyDB? TIA, Sankar Gorthi. On Sun, 26 Feb 2006 14:59:38 -0600, Sankar Gorthi

Re: [Tinyos-help] Documentation for contrib folder...

2006-02-21 Thread Sankar Gorthi
Your first option would be to check out the accompanying README files which usually come with the demos in the contrib folder. #ifndef README check google. The designers might have a website. Your only other option would be to follow the code tree to understand how the code works. Sankar

[Tinyos-help] Radio frequency

2006-02-17 Thread Sankar Gorthi
to communicate (changed the CC1K_DEF_PRESET in both). Any similar solutions for the above problem? Please help, Sankar Gorthi. -- If life was fair, Elvis would be alive and all the impersonators would be dead - Johnny Carson ___ Tinyos-help mailing

Re: [Tinyos-help] Upgrade to tinyos-2.x

2006-02-16 Thread Sankar Gorthi
try rpm -Uvh --ignoreos --force tinyos . Sankar Gorthi. On Thu, 16 Feb 2006 13:57:41 -0600, [EMAIL PROTECTED] wrote: Hey all, After much debate, I am going to upgrade from TinyOS 1.1.10 to 2.x. Using this page: http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html I

Re: [Tinyos-help] TOS_Msg

2006-02-15 Thread Sankar Gorthi
uint8_t would be unsigned, int8_t would be signed. they are both one byte long, but obviously, the latter has a lower maximum value. hope that helps. Sankar Gorthi. On Wed, 15 Feb 2006 14:36:51 -0600, Ian Welch [EMAIL PROTECTED] wrote: I'm trying to make a TOS_Msg with a data size of one

[Tinyos-help] Tinyos 1.1.15 Cricket

2006-02-14 Thread Sankar Gorthi
to tinyos-1.x/apps/Cricket/ and execute make cricket, I get the following. Anybody have a fix for this? Have I extracted the tarball incorrectly? Sankar Gorthi. $ make cricket mkdir -p build/cricket compiling Cricket to a cricket binary ncc -o build/cricket/main.exe -Os -Wl,-u,vfprintf

Re: [Tinyos-help] Turn ON/OFF MICA2 node

2006-01-21 Thread Sankar Gorthi
And, if you could just implement multihop along with that, you'd make my job a whole lot easier. Sankar. On Sat, 21 Jan 2006 18:28:02 -0600, [EMAIL PROTECTED] wrote: Dear, I was wondering if there is any command in TinyOS to Turn ON/OFF a mica2 sensor node, or if it is possible to

Re: [Tinyos-help] about the readings

2006-01-10 Thread Sankar Gorthi
The Reading is 0x0396... etc windows swaps the bytes when reading. Sankar. On Tue, 10 Jan 2006 19:21:34 -0600, nandy jones [EMAIL PROTECTED] wrote: dest addr handlerID groupID msg len source addr counter channel readings 7e 00 0a 7d 1a 01 00 14 00 01 00 96 03

Re: [Tinyos-help] Micaz UART message length problem

2006-01-09 Thread Sankar Gorthi
Just to be sure, http://www.google.com/search?hs=v16hl=enlr=client=operarls=enq=deciphering+tinyos+serial+packetsbtnG=Search From the text: The raw data packet uses an escape byte of 0x7D. This is needed in case a byte of payload data is the same as a reserved byte code, such as the frame

Re: [Tinyos-help] How to use the surge application on mica2 motes

2006-01-06 Thread Sankar Gorthi
http://www.google.com/search?client=operarls=enq=surge+tinyossourceid=operaie=utf-8oe=utf-8 Some helpful links. Sankar. On Fri, 06 Jan 2006 14:59:19 -0600, vijay chand uyyuru [EMAIL PROTECTED] wrote: Hi everyone, I am trying to use the surge application. I read somewhere that for using

Re: [Tinyos-help] how do you reduce the firing interval of TimerM.nc

2005-12-21 Thread Sankar Gorthi
Hi Scott, http://telegraph.cs.berkeley.edu/tinydb/nesdoc/mica/tos.system.TimerM.nc.html That is the description of the TimerM.nc module/component. As you can see, the variables listed are: uint8_t mClockRate uint8_t mMinTimer long mMinTicks uint32_t mState struct TimerM.timer_s { uint8_t

[Tinyos-help] Mica2 Buadrate

2005-12-20 Thread Sankar Gorthi
(15, UBRR1L);/code Some webpages have the command codeoutp(0, UBRR1H); outp(12, UBRR1L); //set baudrate at 4800 (or 9600)/code Does anyone have ideas on what the register values should be to allow radio communication at 9600? Thanks, Sankar Gorthi

[Tinyos-help] Re: Mica2 Buadrate

2005-12-20 Thread Sankar Gorthi
Found this mail in the archives: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-April/008846.html Does the same apply to the mica2 series? Sankar. On Tue, 20 Dec 2005 14:01:28 -0600, Sankar Gorthi [EMAIL PROTECTED] wrote: Hi, How does one change the Radio communication

Re: [Tinyos-help] Re: Mica2 Buadrate

2005-12-20 Thread Sankar Gorthi
PROTECTED] wrote: That is only changing the UART, not the Radio speed. I'm not clear on which you want to do... But I believe '2 and 'Z used the same controller so this setting should be the same. You can find the whole set of settings in the UART part of the ATMEGA spec sheet. MS Sankar Gorthi

Re: [Tinyos-help] How to increase the payload of a TOSMsg?

2005-12-19 Thread Sankar Gorthi
http://weblog.cs.uiowa.edu/294s05-project/uart/slides/deciphering-serial-packets.pdf Sankar. On Mon, 19 Dec 2005 06:20:49 -0600, Tran Trong Tri [EMAIL PROTECTED] wrote: Hi, Anyone knows how to increase the payload of a TOSMsg from just 29 bytes?...If yes, what is the maximum that we can

Re: [Tinyos-help] How to increase the payload of a TOSMsg?

2005-12-19 Thread Sankar Gorthi
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-December/013396.html Sankar. On Mon, 19 Dec 2005 10:26:12 -0600, Sankar Gorthi [EMAIL PROTECTED] wrote: http://weblog.cs.uiowa.edu/294s05-project/uart/slides/deciphering-serial-packets.pdf Sankar. On Mon, 19 Dec 2005 06:20:49

Re: [Tinyos-help] Addressing node by id

2005-12-16 Thread Sankar Gorthi
: you got it... I believe TOS_LOCAL_ADDRESS is the name for a ROM memory address known to the uisp program, where it sticks the install.N number as it is downloading... MS Sankar Gorthi wrote: Hi, Another newbie doubt: When installing Surge in the motes, let's say I use codemake mica2 install

Re: [Tinyos-help] Addressing node by id

2005-12-15 Thread Sankar Gorthi
:41 PM 12/14/2005 -0600, Sankar Gorthi wrote: Hi, Quick newbie doubt. Has any code been written to address a particular node in a network? Basically trying to run a command like put node no. X to sleep. Thanks, Sankar Gorthi. ___ Tinyos-help mailing

[Tinyos-help] Addressing node by id

2005-12-14 Thread Sankar Gorthi
Hi, Quick newbie doubt. Has any code been written to address a particular node in a network? Basically trying to run a command like put node no. X to sleep. Thanks, Sankar Gorthi. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU