Re: [Tinyos-help] Re: Getting Data from Tmote Sky's Sensors (javax.comm)

2007-01-14 Thread Mr. Jonathan A. Gomez
build_linux/TOSComm_wrap.cxx:108:17: error: jni.h: No such file or directory That's probably your basic problem with this situation. Somehow the JNI header file is not being included. You can manually include it by passing the compilation command the -I option with the path of directory

Re: [Tinyos-help] Help on Blackbook FileSystem

2007-01-14 Thread Mayur Maheshwari
Hi David, I updated the DictionaryDemo and tried make telosb but again it does not compile. It gives the same set of errors as previously. I did not update the environment variables to include the tinyos-2.x-contrib directory. Later, I noted that in TOS 1.x the contrib directory was located

Re: [Tinyos-help] How can i find the details of ADC0 (the rssi reading) in Mica2?

2007-01-14 Thread Michael Schippling
ADC0 is a straight-forward linear conversion of the radio rssi pin voltage. It should swing between 0x00 for 0 volts and 0xff for something approaching the battery voltage (which is used as the Vref for conversions). One of the Install/Getting Started manuals has a dbm conversion formula I think.

Re: [Tinyos-help] Accessing TOS_Msg fields from Java

2007-01-14 Thread Michael Schippling
I just looked at the mica2 code and I think was wrong: Only TOS_Msg.length bytes of payload are transmitted. There's a bunch of swapping around of lengths but it looks like the Msg.length is used to xmit only that number of bytes. So, even if you have a large TOSH_DATA_LENGTH you don't loose

Re: [Tinyos-help] Accessing TOS_Msg fields from Java

2007-01-14 Thread Philip Levis
On Jan 14, 2007, at 1:14 PM, Michael Schippling wrote: I just looked at the mica2 code and I think was wrong: Only TOS_Msg.length bytes of payload are transmitted. There's a bunch of swapping around of lengths but it looks like the Msg.length is used to xmit only that number of bytes. So, even

[Tinyos-help] MICA2: Signal Strength

2007-01-14 Thread cs233017
Hello, To detect the current signal strength on MICA2 of an incoming packet from another MICA2 does the surge_reliable routing need to be installed on all the motes or can this information be accessed even without it, if so how? Thanks -- Regards, Hamdi

[Tinyos-help] TOSSIM

2007-01-14 Thread ricardo tiago
Hi, I'm trying to send a msg from one mote to another. Mote A has a msg in a buffer that will send to mote B. Everything works , except in one situation where mote A sends to mote B, but the msg doesn't get there and consequently no ack, then in sendDone i repost the task of the msg. The

[Tinyos-help] RE:handling multiple connections/data-streams in tiny-os2.x

2007-01-14 Thread Junyan Ma
hi Suvesh, As you said, the timer is binded at compile time because of resource constrain on mote. Maybe you could write some runtime for yourself. To implement multiple streams (connections), I guess could appoint them with different AM handlers as we did in tinyos-1.x. Here is code snippet

[Tinyos-help] Help

2007-01-14 Thread Meiying Su
Dear All, are you availabe now ?could you give me a favor? I have written a module which can response the external interrupe1.The code is following [code] module HPLPulse { provides interface StdControl; uses { interface Leds; } } implementation { uint8_t pulseValue;//

Re: [Tinyos-help] MICA2: Signal Strength

2007-01-14 Thread Tarun Bansal
There is no need to install surge_reliable. All receiving nodes can check that value by accessing TOS_Msg - strength Regards Tarun Bansal On 1/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, To detect the current signal strength on MICA2 of an incoming packet from another MICA2 does