[Tinyos-help] problem with TOS_BCAST_ADDR !!!

2008-05-23 Thread fatima zohra
Hi, i have a small problem when I send a diffusion message using TOS_BCAST_ADDR i wonder if TOS_BCAST_ADDR can send the packet to all nodes even if they aren't nieghbors to the sender node ??? to be clear; this is my network topology : 1:2 1:3 2:4 2:5 3:5 3:6 4:7 5:7 5:8 6:8 7:9 8:9 however i get

[Tinyos-help] RE:RE:Compiling problem

2008-05-23 Thread Carlos Gil Soriano
Hi, I have tried to compile any other application in the same terminal session and the other application works. I feel sorry, but I do not know what are you refering to when you say " not use the sim extra". Thanks you very much for your attention and help. Regards, Carlos

Re: [Tinyos-help] problem with TOS_BCAST_ADDR !!!

2008-05-23 Thread Paul Stickney
Physical neighbors are not the same as logical neighbors. All physical neighbors (those within the TX range) will "hear" the message. When a non-broadcast message is sent it is typical that only the node for whom it is specifically addressed takes action (the message is simply discarded low on the

Re: [Tinyos-help] Compiling problem

2008-05-23 Thread Paul Stickney
> I have tried to compile any other application in the same terminal session > and the other application works. Do you use the same compilation settings? The same target? How is the Makefile configured? Something changes; find out what it is. (It almost looks like it's trying a normal C linkage at

Re: [Tinyos-help] Routing

2008-05-23 Thread Paul Stickney
Consider looking at apps/MultihopOscilloscope (this is in TOS 1.x, I think...) ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] problem with TOS_BCAST_ADDR !!!

2008-05-23 Thread fatima zohra
Hi Paul, thanks for your fast reply, so, for my application (which is tested only by Tossim) there is no "real" physical neighbors. in this case, is the diffusion still doing the same procedure as you detailed ? if it does, should I change my packet.addr from TOS_BCAST_ADDR to a list of node's neig

Re: [Tinyos-help] Finding 1's Complement

2008-05-23 Thread ram kishore
Hi, I added #include stdio.h as below to configuration file: #include stdio.h configuration TOSBase { } implementation { components Main, TOSBaseM, RadioCRCPacket as Comm, FramerM, UART, LedsC; //some lines } I get the following error: TOSBase.nc:38:10: #include expects "FI

[Tinyos-help] Problem with MIB600

2008-05-23 Thread Antonio Prados Vilchez
Hi TinyOS users!! I'm trying to program a MICA2 mote using a MIB600 gateway. I've connected the gateway to a PC through an Ethernet port. I'm using Lantronix software to configure the IP address of the gateway, it asks me for the gateway's MAC, but it doesn't recognize it. It seems that the d

Re: [Tinyos-help] Finding 1's Complement

2008-05-23 Thread Siirtola Harri
Huh? If you have it in a variable, just typecast it to int: int IntVar; IntVar = (int) YourXORedVar; Harri From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ram kishore Sent: Friday, May 23, 2008 2:06 PM To: tinyos-help@millennium.berkeley.

Re: [Tinyos-help] Finding 1's Complement

2008-05-23 Thread Urs Hunkeler
Hi, For the include statement, try: #include The complement operator or the bit-wise XOR operator both should work directly with integers. Can you provide us with a short example of code that you would like to use? Cheers, Urs ram kishore wrote: > Hi, > I added #include stdio.h as bel

[Tinyos-help] Tinos 1.x on Debian

2008-05-23 Thread Sibel Demirkol
Hi, I have read the mailing list about this subject but I am not an expert linux user. I want to install tinyos 1.1.15 release on debian computer. Could someone please help me ? Thanks, Sibel ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.ed

Re: [Tinyos-help] Finding 1's Complement

2008-05-23 Thread ram kishore
Oops, that is not the purpose of typecasting.Typecasting is about precision adjustment. How to include #include stdio.h in my application? still any ideas as to how to convert hex into decimal? Thanks On Fri, May 23, 2008 at 6:09 PM, Siirtola Harri <[EMAIL PROTECTED]> wrote: > Huh? I

Re: [Tinyos-help] Finding 1's Complement

2008-05-23 Thread Siirtola Harri
Typecasting is for precision adjustment??? And how to include stdio.h... There's no stdio in motes. Sorry, I don't have a clue what you're talking about. Harri From: ram kishore [mailto:[EMAIL PROTECTED] Sent: Friday, May 23, 2008 4:29 PM To: tinyos-help@m

[Tinyos-help] mica2 data

2008-05-23 Thread Patrick Brady
hi all, I'm pretty new to working with these sensors and I'm trying to write my own application to display the data. Problem is that I don't know how the data is tranmitted to the serial port. What I mean by this is, I don't know how big the bytes of data being sent from the sensor, are but more i

Re: [Tinyos-help] Deluge T2

2008-05-23 Thread Janos Sallai
Reema, > I tested again programming node 1 thru mib520 and then deluge it works > but reprogramming the reprogrammed node again with deluge is not working for > me Obviously, this will only work if the new image, too, has Deluge functionality. Once you disseminate an image such as apps/B

Re: [Tinyos-help] Finding 1's Complement

2008-05-23 Thread ram kishore
Hi, I tried #include ,but in vain. example code: Msg->strength(rssi) is uint16_t variable which is by default displayed in hex like shown below: ReceivedMsg->data[0] = Msg->strength & 0xFF;(MSB) ReceivedMsg->data[1] = Msg->strength >>8; (LSB) I have to get the 1's complement of Msg->strength

Re: [Tinyos-help] Problem with MIB600

2008-05-23 Thread Giri Baleri
Are you connecting the MIB600 to PC via a crossover Ethernet cable? If so, when you click on Search button of Lantronix device installer, does it detect the MIB600? Can you successfully ping its IP address? Giri From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [Tinyos-help] mica2 data

2008-05-23 Thread Michael Schippling
Read through the doc/tutorial material and pay special attention to stuff on messaging. There is a utility called "MIG" which creates a Java class that knows how to parse a message payload struct. Examples abound in the TOS1.x apps directory, e.g., SimpleCmd and Oscilloscope. MS Patrick Brady wro

Re: [Tinyos-help] Finding 1's Complement

2008-05-23 Thread Michael Schippling
Setting aside, for the moment, why you want to include studio.h... Decimal is a property of a display device such as printing to a screen. All(most all) values are stored in computers in binary representation. Since there is no way to "print" anything directly from a mote, we are somewhat confused

Re: [Tinyos-help] Finding 1's Complement

2008-05-23 Thread Thiago Teixeira
Hi Ram, What do you mean by "displayed in hex"? Are you "displaying" the variable somewhere? Using printf? Using a debugger to probe the internal memory? In your example, strength is a uint16_t. This means it's a 16-bit binary number on the memory, just like anything else that the memory store

[Tinyos-help] micaz programmer

2008-05-23 Thread Paolo
Hi, there is a programmer written in python for mica family motes ? Thanks. Paolo ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problem with MIB600

2008-05-23 Thread Nicola Wegner
You can also try to set the IP address by using this command: arp -s This works for me. Try to enter the configuration program with: telnet 1 telnet On port 1 you reset the ethernet part of the MIB600 (I think I read s.th. like that ;-), on port the configuration program is provid

[Tinyos-help] problem with tinyos DemoSensorC

2008-05-23 Thread Liang Hong
Hi,   I am now reading lesson 5 of tinyos-2 tutorial. I had a problem with the DemoSensorC in oscilloscope application.   I am now using micaz and tinyos-2 without sensor board. I installed the oscilloscope application. It works. However, the data are almost constant around 440 in the display p

[Tinyos-help] how to use MTS400 in TinyOS-2

2008-05-23 Thread Liang Hong
Hi,   I just bought two MTS420 sensorboards with GPS for MICAZ motes. But there is no any driver for MTS420 in TinyOS-2. I found the driver for MTS400 in TinyOS-1 from the Xbow contrib. If anyone has successfully used MTS420 with TinyOS-2, please share me the drivers. Or please let me know how t

Re: [Tinyos-help] Tinos 1.x on Debian

2008-05-23 Thread Paul Stickney
Read and follow: http://www.tinyos.net/dist-1.1.0/snapshot-1.1.15Dec2005cvs/doc/install-snapshots.html Read and follow steps 1 to 4 (not 5) to install the appropriate support tools: http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html Make sure you have a compatible version of GCC instal

[Tinyos-help] sending large packets from computer to telosb

2008-05-23 Thread tarun sharma
Hi I wanted to know if there's a better way (faster way) of sending large number (around 600) of large packets (over 20 bytes of data per packet) from computer to mote (I'm using telosb) then using "send" function of MotIF.java . I find that it's performing too slow in this particular condition. T

[Tinyos-help] Scheduler mechanisms - Task queue overflowing

2008-05-23 Thread Edgar Charry
Hi all, Where can I find information about the scheduler in TinyOS1.1-x? How it works, queue size.. priorities..? I've been working with some Mica2's (and the dot's) in doing some ADC's measurementes and sending them off as quickly as possible. The problem is: apparently my motes are hanging b

Re: [Tinyos-help] sending large packets from computer to telosb

2008-05-23 Thread Razvan Musaloiu-E.
Hi! On Fri, 23 May 2008, tarun sharma wrote: > Hi > I wanted to know if there's a better way (faster way) of sending large > number (around 600) of large packets (over 20 bytes of data per > packet) from computer to mote (I'm using telosb) then using "send" > function of MotIF.java . I find that