[Tinyos-help] Listen program and statistics ?

2007-12-10 Thread Mona.baher
Hi All, As you know that Listem program create a packet source and prints out every packet coming from the mote like: 00 FF FF 02 33 09 00 A0 A0 B2 34 90 33 02 So my question is how to break this fields of date into 2 bytes each and store each 2 bytes into separate xls files for analyses ?

[Tinyos-help] using math.h in tinyos 2 for telosb or micaz

2007-12-10 Thread prashan wanigasekara
Hi everyone, This is my first post to the forum. I am programming in tinyos-2.x. and using micaz, telosb motes. My problem is 1. How to use math.h in tinyos-2.x? I cannot find a suitable header file anywhere. Could you recommend a place to download it ? 2. I want to use sqrt (square root) functi

[Tinyos-help] using math.h for micaz or telosb

2007-12-10 Thread prashan wanigasekara
Hi everyone, This is my first pos ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] really confuzed about a comment in the file MultiHopEngineM.nc of tinyos1.x

2007-12-10 Thread Renee Azhen
dear all: I am reading the file MultiHopEngineM.nc, in function mForward, there is a comment: // Failures at the send level do not cause the seq. number space to be // rolled back properly. This is somewhat broken. I am really confuzed about this and could anyone help me to make it c

Re: [Tinyos-help] Performance of TinyOS-1 versus TinyOS-2

2007-12-10 Thread Philip Levis
Urs Hunkeler wrote: Hi Anu, TOSSIM in TOS 2.x has specifically been written to be more efficient. You probably notice a difference especially when you interact with the TOS 1.x simulation with a java-based application, such as TinyViz. I don't think there would me much of a difference on real h

Re: [Tinyos-help] Performance of TinyOS-1 versus TinyOS-2

2007-12-10 Thread Urs Hunkeler
Hi Anu, TOSSIM in TOS 2.x has specifically been written to be more efficient. You probably notice a difference especially when you interact with the TOS 1.x simulation with a java-based application, such as TinyViz. I don't think there would me much of a difference on real hardware. Cheers, Urs

[Tinyos-help] Random number

2007-12-10 Thread Paul
Hi all I need to, during startup decides out of NUM_NODES nodes, which of the NUM_TASKERS nodes will perform certain tasks. Previously, I have identified these NUM_TASKERS inside the Makefile using -DTASK_NODE=1, -DTASK_NODE=6, However, I want the task nodes to be different for each run. B

Re: [Tinyos-help] Tunit setup on osx: serial port in tos-bsl problem

2007-12-10 Thread Kevin Klues
Hmmm... I actually got tunit set up and running on my macbook a while back. I'll look into putting some docuementation together on what I had to do to get it working sometime later this week. Maybe I'll come across a solution to your problem in the meantime. Off the top of my head I don't know w

[Tinyos-help] msp430 DCO Calibrate

2007-12-10 Thread Eric Decker
Could someone familar with the internals of the MSP430 TinyOS 2.ximplementation talk to me about how the DCO Calibrate is handled? I'm porting from the telosb to a wireless sensor node that is very similar but has some differences. So need to understand how it works. thanks, eric __

[Tinyos-help] Radio files

2007-12-10 Thread Khew U-Wei
Hi Everyone, I am using a file, RipsDataCollectionC.nc which uses the LedsC, CC1000ControlM, CC1000RadioC, ADCC and HPLCC1000M files. However, I am working in the directory which does not have these radio files. How is it possible? Hope to hear from you soon. THank you. BEst regards, U-Wei

[Tinyos-help] Crossbow sensor board in TinyOS2.x?

2007-12-10 Thread Mustafa Hammad
Hi, Any one can tell me how I can use Crossbow sensors board (like mts400, mts420, ...) in TinyOS2.x? unlike TinyOS1.x there is no Xbow board folder in TinyOS2.x! Thanks, Mustafa - Be a better friend, newshound, and know-it-all with Yahoo! Mo

[Tinyos-help] Energy Consumption TelosB Graphics

2007-12-10 Thread migueltsilva
Hello, I'm starting to measuring the energy consumption in TelosB, sampling rate are 100us. All test were done using TinyOS 2.0.0, except one. The first application, the radio is turned on one second, turn off one second (http://pwp.netcabo.pt/migueltsilva/radio_on_off.jpg): MCU + Radio ON - +-2

[Tinyos-help]:why does TOS_LOCAL_ADDRESS become 0 not 1?

2007-12-10 Thread Renee Azhen
Dear all: in opt\tinyos-1.x\tos\system\tos.h, here is the definition: uint16_t TOS_LOCAL_ADDRESS =1; but when I use dbg(DBG_USR1, "0x%02x\n", TOS_LOCAL_ADDRESS); to print the value, the printed result is 0x00, not 0x01. Do anyone know why?? Thanks Sam

[Tinyos-help] basestation & uart0 on a telosb mote

2007-12-10 Thread Peter de Cauwer
Hi, we are working on a project that requires interfacing a telosb with a development board via RS232. First i used the basestation application to interface the mote with the pc via uart1 ( the USB connector ), this worked just fine. Then I connected the mote to PC again, this time using a MAX232

[Tinyos-help] time synchronization implementation

2007-12-10 Thread KeonSu Kim
Hi~ guys I am working on the simple time synchronization, but it is not easy to me. I hope that someone give me a comment. What I am trying to do is like this, 1. there are 3 motes( one-master, the other : slave) 2. Master mote transmits the packet to slave motes at the interval of some time. 3.

[Tinyos-help] postdoct in WSN --- real deployment

2007-12-10 Thread Gian Pietro Picco
ANNOUNCEMENT OF POST-DOCTORAL RESEARCH POSITION === The University of Trento, Italy, seeks applications for a position for a post-doctoral researcher in the Department of Information and Communication Technology. The position is part of a large proj

[Tinyos-help] Performance of TinyOS-1 versus TinyOS-2

2007-12-10 Thread Anu Singh
Hi All, Is there is a considerable performance difference between TinyOS-1 and TinyOS-2? I am doing simulation using TOSSIM for a program (encodes a message passing iterative algorithm among network nodes). I wrote the logic of the program in nesC for both TinyOS-1 and TinyOS-2. When I simula

Re: [Tinyos-help] how to trigger a transistor

2007-12-10 Thread Michael Schippling
I'm cc'ing this back to the help list to keep a record... Follow the trail of tos/platform/{tmote,telosb}/UserButton*.nc to get a general idea of how MSP430GeneralIO works, for input at least. But, luckily enough, I just finished a tmote program that twiddles a bunch of inputs and output transi

[Tinyos-help] How to save the data read from the UART port in the Matlab workspace please?

2007-12-10 Thread Ruoshui Liu
Dear all, I am trying to read the recieved raw data from the base station (attached to the computer) in the command window in Matlab after doing the set-up in the tutorial named 'Using Matlab with TinyOS'. Now I can get the data appears on the screen in Matlab, but I have been stuck with find

Re: [Tinyos-help] Tunit setup on osx: serial port in tos-bsl problem

2007-12-10 Thread Michael Schippling
Does motelist work? I think the BSL program uses some moral equiv of such to find the tmote port. MS Matthias Woehrle wrote: Hi, I got a problem concerning setting up Tunit on my macbook (osx-tiger). I run Kevin Klues' setup (_http://docs.google.com/View?docid=ajjph9mvqk3z_bchp66xkmgk6n&pli=

Re: [Tinyos-help] message using UART

2007-12-10 Thread Michael Schippling
There are a few problems with your use of send(), but you should still receive a message and toggle the Leds. 1) you need to specify the size of the payload, not the size of the whole TOS_Msg, 2) when receive() returns the message pointer, it may be freed or overwritten before it can be resent so

Re: [Tinyos-help] problem running java tools

2007-12-10 Thread Michael Schippling
I've never seen that error before. Perhaps your Java install is bad. First make sure your PATH points to the correct Java. You said (later) that it's in C:/program files/java so your PATH should contain something like: C:/program files/java/jdk1.5.0_07/bin I dislike putting Java in "Program File

RE: [Tinyos-help] Error when running 'Listen' on xubuntu

2007-12-10 Thread Michiel Konstapel
> To summarize your problem, you're running Linux natively on your > computer. You are using TinyOS 1.x. When trying to access the serial > port with the TinyOS 1.x Java APIs, you get errors saying that you > should use Windows-style port names. Is this correct? Correct in more ways than one :-) T

Re: �ظ��� [Tinyos-help] problem running java tools

2007-12-10 Thread Nashwa Abo Elneel
Actually i don't know where this folder is, i have my java installation under windows C:/program files/java besides that i have added the java tools to my tinyos installation root directory from one of the snapshots found on the tinyos.net website (as i haven't the tools installed initially wit

RE: [Tinyos-help] AMSend.send() unsuccessful

2007-12-10 Thread Michiel Konstapel
What radio are you using? The only ways AMSend.send() *should* fail is if that AMSenderC is busy, or the radio is off. However, at least the CC1000 radio stack can lock up when the radio is turned off during a send, because then no sendDone() event is generated and it thinks it's still busy. If yo

[Tinyos-help]: Anyone know the mean of the variable "TableEntry *gpCurrentParent" in MultiHopLEPSM.nc.

2007-12-10 Thread Renee Azhen
Dear all: I am studying the routing protocol MultiHop in tinyos 1.x. the main file is: MultiHopLEPSM.nc but so confuzed when saw the following vars declared: TableEntry *gpCurrentParent; uint8_t gbCurrentHopCount; int16_t gCurrentSeqNo; uint16_t gwEstTicks; uint32_t gUpdateInterva

RE: [Tinyos-help] COM error when running Listen application from tinyos tuto on Xubuntu

2007-12-10 Thread Michiel Konstapel
Sun's JavaComm library always identifies ports by their "Windows names", i.e. COMn. To work out which COMn corresponds to which tty, look in /jre/lib/javax.comm.properties. In there, it says which ports are serial ones, probably /dev/ttyS and /dev/ttyUSB. If both are listed, it'll be hard to figure

回复: [Tinyos-help] problem running java tools

2007-12-10 Thread Renee Azhen
You'd better tell us the command to start the Java tool you used ... I sugget you start the command outside the folder:com/sun/tools/javac/main Sam Nashwa Abo Elneel <[EMAIL PROTECTED]> 写道: Hi, I am trying to run the oscilloscope example in lesson 6 (the installation on the mote was

[Tinyos-help]: which is the most popular multiple Hop routing protocol in WSN??

2007-12-10 Thread Renee Azhen
dear all: I am newer in tinyos, and want to study the routing protocol in tinyos. could you tell me which is the most popular routing protocol toady in WSN? Is the MultiHopEngineM a good? if not, could you give me some suggestion?? Thanks Sam ---

[Tinyos-help] Error using "MatlabControl.blockingFeval" of

2007-12-10 Thread James Mulford
Hi, I had the same problem using the MatlabControl class. Use the Matlab eval function instead and it will return a string. You can type methodsview com.mathworks.jmi.Matlab at your Matlab command prompt to see the Matlab class (which is the one I used for MatlabCommand.java). It has version

[Tinyos-help] help

2007-12-10 Thread allen john
TinyDB i m running this command on text interface in tinyDB ON evtTest : select nodeid,light from sensors sample period 1024 but i m getting syntax error please guide me ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millen

[Tinyos-help] Tunit setup on osx: serial port in tos-bsl problem

2007-12-10 Thread Matthias Woehrle
Hi,I got a problem concerning setting up Tunit on my macbook (osx-tiger). I run Kevin Klues' setup (http://docs.google.com/View?docid=ajjph9mvqk3z_bchp66xkmgk6n&pli=1).The specific problem is that when the bootstraploader is executed, the serial port is not set (in my case: /dev/tty.usbserial-M4AJ

[Tinyos-help] Re: Any Mote in industry use ?

2007-12-10 Thread CROSSBOW_cNakamura
Joe, The MICAz type neoMOTE has been in production for Energy Saving Co. XMesh runtime is intalled for multi-hop WSN , collecting micro climate data AND actuates HVAC/refregirators in supermarket. System test was completed in Q1 of '07 and some 1+ shipped since Q2 and continuing. Qtty in 200

[Tinyos-help] problem running java tools

2007-12-10 Thread Nashwa Abo Elneel
Hi, I am trying to run the oscilloscope example in lesson 6 (the installation on the mote was successful), however when i start the normal procedure by typing "make" in the java directory i get a lot of errors like: exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac

[Tinyos-help] message using UART

2007-12-10 Thread ashrafalqudah
i have write the following small program (with name sendreceive) that i expect work like this: 1- send a packet from SerialForwarder to a directly connected mote (micaz) via serial port (COM,mib510) 2- the micaz response by toggling the red led on it 3- then resend the same packet back to the Seria