[Tinyos-help] SurgeImec Code

2006-09-15 Thread Sumit Gupta
Can anyone zip and send me the code of apps/SurgeImec. It is in new version of tinyos which I don't want to install on my pc. So if anyone already have installed it then please email it to me. Also please forward me the component of routing algorithm of application in the zip file. I will be

RE : Re: [Tinyos-help] make micaz problem under tinyos-2.x

2006-09-15 Thread walid hamdi
Hi Phil, i have got the avr-gcc 3.3 ! I had the 3.4 version but it never works correctly with tinyos-1.x.. ___ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le

RE: [Tinyos-help] help

2006-09-15 Thread Siirtola Harri
Just adding a hint for the google part: use a search string like for example: TimerMilli site:https://mail.millennium.berkeley.edu/pipermail/tinyos-help/; To find string TimerMilli in the help forum. Regards, Harri -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Tinyos-help] Unicast radio transmission

2006-09-15 Thread Pablo Gil Montaño
OK, the bytes I show are already sorted (I mean, I've switched the bytes because I knew that the lower byte of a unit16_t was sent first). According to what you say (PAN in bit 5 6), I'm sending a packet to PAN 0x and address 0x0001. The problem is that all the motes receive this packet (not

[Tinyos-help] Surge Algorithm Doubt

2006-09-15 Thread Sumit Gupta
Hi, I am trying to figure out one thing since last two days about Surge Algorithm. I am trying to get data from network using nucleus which is working fine but I am not satisfying about one attribute. In my testing I am using only two motes: one running TOSBase and other Surge application. Now

[Tinyos-help] Surge Algorithm Doubt (code attached)

2006-09-15 Thread Sumit Gupta
I am also attaching file MultiHopLEPSM.nc. Please advice. I want to say that I have made once change in file. I replaced qsort function with a nested for loop and also added nucleus code. you can find it easily. Please see and tell if I am doing anything wrong. Regards, SumitOn 9/15/06, Sumit

[Tinyos-help] ADCC question

2006-09-15 Thread lamiaimeil
Hi all, I have a question on ADC.getContinuousData. In my progect I have 4 sensors mount on Tmote sky and I want to get data from them periodically. I have set a timer and at every Time.fired() I switch from a case structure for get data of a different sensor. The problem is that this way seems

[Tinyos-help] TinyOS 2.x doesn't support TinyViz ????

2006-09-15 Thread Supasate Choochaisri
Hi,I want to know that TinyOS 2.x supports TinyViz or not.Because now I can not find any tutorial or any code about TinyViz in TinyOS 2.x.Thanks in advance.Supasate Choochaisri ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] use exclusive digital I\O

2006-09-15 Thread t3lab
I want use Gio1 pin 7 of U2 expansion connector of tmote sky module in mode Exclusive digital output.. I've lookek that i can set or reset that pin using: TOSH_MAKE_GIO1_INPUT(); TOSH_MAKE_GIO1_OUTPUT(); TOSH_SET_GIO1_PIN(); TOSH_CLR_GIO1_PIN(); my question is... is possible settint the output

[Tinyos-help] Extracting packet history from Tython

2006-09-15 Thread Sarfraz Nawaz
Hi,I am using tossim/tinyviz to simulate a small network of nodes running my application. I want to extract some statistics about transmitted packets in the network. The Tython manual gives a simple example for doing this. It suggests that doing a print packets[3] on Tython console will print out

[Tinyos-help] Help regarding the Transmission of data

2006-09-15 Thread Hari Hara Sudhan
Hello every one, Im doing a project in which the sensor mote is connected to a RS232 device. Sensor is having these properties. Baud rate-1200 bps Stop bit-1 Parity-none Flow control-none I have initialized the Mote UART by   async command result_t UART.init() {     \\

RE: [Tinyos-help] Help regarding the Transmission of data

2006-09-15 Thread Siirtola Harri
You are using the original code which doubles the rate you set with UBRR registers ("set double mode"). Try with 600bps setting in the first two lines. Regards, Harri From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hari Hara SudhanSent: Friday, September 15, 2006 2:43

[Tinyos-help] How to use Surge.nc to communication?

2006-09-15 Thread 蒋伟
Hi: I am trying tomodify these command to commucation with motes. 1.intinyos-1.x/contrib/ucb/surgetelos make this install net.tinyos.sf.SerialForwarder net.tinyos.surge.MainClass 0x7d this JAVA application seemsnot works well in control the mote. when i press the button control panel ,nothing

[Tinyos-help] real tim data

2006-09-15 Thread neeraj sharma
hii have to send my own real time data coming from PICTURE(IMAGE) from PC to Tmote...i m using TOSBAse but i don't knw how can i send my own data..pls if anybody no abt this help me...bye.. Stay in the know. Pulse on the new Yahoo.com. Check it out.

Re: [Tinyos-help] Surge Algorithm Doubt (code attached)

2006-09-15 Thread Ole Bischoff
Hy Sumit, I'm not really familiar with Surge, but I think all of your motes (including Basestation)should run with Surge.And your Basestation is theonly mote with TOS_LOCAL_ADDRESS = 0. Perhaps that is the reason for your HopCount = ROUTE_INVALID (=0xff). Regards, OLE -

Re: [Tinyos-help] SurgeImec Code

2006-09-15 Thread Ole Bischoff
Hy Sumit, this app (SurgeImec) is not in some new version of TinyOS. It was rewritten for the IMEC sensor module prototype at the University College London, please take a look at http://www.cs.ucl.ac.uk/teaching/dcnds/group-reports/2005/2005-hailes-C-user.pdf and contact the authors directly

Re: [Tinyos-help] use exclusive digital I\O

2006-09-15 Thread R. Steve McKown
On Friday 15 September 2006 03:38 am, t3lab wrote: I want use Gio1 pin 7 of U2 expansion connector of tmote sky module in mode Exclusive digital output.. I've lookek that i can set or reset that pin using: TOSH_MAKE_GIO1_INPUT(); TOSH_MAKE_GIO1_OUTPUT(); TOSH_SET_GIO1_PIN();

[Tinyos-help] MDA 300

2006-09-15 Thread goetgheb
Hi everybody I ask you about I2C Pins of the MDA300. I should connect a sensor into my MicaZ network and I see we have I2C pins in the MDA300. In fact, Ive a sensor that works as follow: 1) When an event is detected, the Enable output signal set up (edge). (here I should make an

RE: [Tinyos-help] repeating tests,no free memory

2006-09-15 Thread Munaretto, Daniel
Dear all, i tried to use TinyAlloc interface but the results are really similar. So this is not a problem of the calloc function. But i start thinking the problem is in the stack. If i post too many tasks, can the mote crash? The problem is that i have to use tasks to handle the FlashBridge

Re: [Tinyos-help] TinyOS 2.x doesn't support TinyViz ????

2006-09-15 Thread Philip Levis
On Sep 15, 2006, at 2:26 AM, Supasate Choochaisri wrote: Hi, I want to know that TinyOS 2.x supports TinyViz or not. Because now I can not find any tutorial or any code about TinyViz in TinyOS 2.x. Thanks in advance. It does not. One of the motivations behind the TOSSIM architecture in

Re: [Tinyos-help] use exclusive digital I\O

2006-09-15 Thread Cory Sharp
The GeneralIO interface applies to TinyOS 1.x, as well, with the main component being MSP430GeneralIOC instead of HplMsp430GeneralIOC. - Cory On 9/15/06, R. Steve McKown [EMAIL PROTECTED] wrote: On Friday 15 September 2006 03:38 am, t3lab wrote: I want use Gio1 pin 7 of U2 expansion connector

[Tinyos-help] Get Crash in TinyViz

2006-09-15 Thread 吳 宗達
Hi, all My problem is when I used the TinyViz to simulate the performance of the my application. (About make mica2 to sleep). After I click the start button the procedure of the simulation always stuck around 0.5~3 sec. And after that, TinyViz just looked like got a crash, can’t be started

Re: [Tinyos-help] Unicast radio transmission

2006-09-15 Thread Michael Schippling
I guess it's time to go to the source code... I don't know the correct usage for destpan, so it might be that it needs to be the moteID as well. A quick search for the two fields in the tmote radio source should be telling. MS Pablo Gil Montaño wrote: OK, the bytes I show are already sorted

Re: [Tinyos-help] use exclusive digital I\O

2006-09-15 Thread Michael Schippling
Along with verifying that you have really set the pin to OUTPUT, make sure you are not loading it down too heavily. A '1' output should be close to VCC. MS Cory Sharp wrote: The GeneralIO interface applies to TinyOS 1.x, as well, with the main component being MSP430GeneralIOC instead of

Re: [Tinyos-help] real tim data

2006-09-15 Thread Michael Schippling
Look at: tools\java\net\tinyos\tools\Send.java for a _very_ simple example of packet sending. Unfortunately it doesn't help with the packet formatting. For that I recommend my code bolus at: http://www.etantdonnes.com/Motes/robocode.tar.gz which has a very complicated example of message

[Tinyos-help] RE: Tinyos-help Digest, Vol 41, Issue 76

2006-09-15 Thread Adesola Omotayo
Sumit, TOSBase and Surge are not compatible. You need to install Surge on all your motes with each one having a unique ID and the base station should be configured with an ID of 0. Adesola -Original Message- Message: 3 Date: Fri, 15 Sep 2006 15:31:50 +0200 From: Ole Bischoff [EMAIL

[Tinyos-help] make install help

2006-09-15 Thread Xiang Gao
hi all I got a problem to make install. When I tried to make mica2 install command under the /opt/tinyos-1.x directory, it says No rule to make target `mica2'. Stop. Anybody can help me to fix this problem? At which directory shall I do the installation? My enviroment is tinyos 1.1.10. Thanks

Re: [Tinyos-help] make install help

2006-09-15 Thread Michael Schippling
You should do that in an application directory, like: /opt/tinyos-1.x/apps/Blink It will build and download that specific application. MS Xiang Gao wrote: hi all I got a problem to make install. When I tried to make mica2 install command under the /opt/tinyos-1.x directory, it says No

[Tinyos-help] Assembler messages, unknown opcode during make

2006-09-15 Thread Gaessler, Alexander
Title: Assembler messages, unknown opcode during make Hi all, I installed TinyOS 1.1 (also tested with 1.1.15) on SuSE Linux 10.1 as described in http://www.tinyos.net/tinyos-1.x/doc/install.html and got the following error messages. I have searched in the mail archive but I did't found

[Tinyos-help] release notes for TinyOS 2.0

2006-09-15 Thread Gaessler, Alexander
Title: release notes for TinyOS 2.0 Hi all, I'm a beginner with sensor networks and TinyOS. As I can see there is actual a 'minimum' functionality in TinyOS 2.0 beta2, where a lot of libraries are missing. So, it's not good to 'begin' with TinyOS 2.0. Is this correct, or is it possible

Re: [Tinyos-help] use exclusive digital I\O

2006-09-15 Thread R. Steve McKown
Thanks for the clarification, Cory. I didn't mean to imply that only tos2 uses GeneralIO, but that I didn't really know about tos1. I should at least review it sometime... On Friday 15 September 2006 11:35 am, Cory Sharp wrote: The GeneralIO interface applies to TinyOS 1.x, as well, with the

[Tinyos-help] Include paths

2006-09-15 Thread Sean Walton
Can anyone tell me how nesC determines which files to include when compiling a file. It appears that tos.h is included by default; are there other files included by default? I noticed that the paths look something like: $TOSDIR + /system $TOSDIR + /platform/ + $PLATFORM But, this left out a

Re: [Tinyos-help] Include paths

2006-09-15 Thread Michael Schippling
Yes tos.h is automagically included and that pulls in all sorts of other files that you might not expect...adding a -v to the ncc command line will dump a bunch of information about what is being used, but I'm still not sure about the implicit search order. I know that micaz begets mica2 begets

[Tinyos-help] Nucleus Data Retrieval

2006-09-15 Thread Sumit Gupta
Hi, I want to catch the data, which Nucleus gets to computer from base (which gets from nodes) before it prints it to the console window. If anyone know which file or where in source code it happens then let me know. I am still looking it but if someone can help me then I will be able to save me

Re: [Tinyos-help] Surge Algorithm Doubt (code attached)

2006-09-15 Thread Sumit Gupta
hi, I am still having problem. As per ur instructions I ran SurgeTelos on mote id=0 and other mote had Surge application runninig on it. Now when I ran a query no out put was shown in console window where as Serial Forwarder shown one line out put on its window write failed. So it means I have to