[Tinyos-help] TOSSIM Event Handling

2006-11-03 Thread Marguerite A Doman
How can I trace events? I'm trying to handle an ADCDataReadyEvent event in my Tython script. I issue the command SetADCPortValueCommand. The status message appears: status: Wrote command: SetADCPortValueCommand [mote 0] [port 2] [value 33] But I don't see the event in my handler. So, I th

[Tinyos-help] Obtaining ADC data in WSN -Regarding

2006-11-03 Thread Arumugam
Dear sir/madam, Greetings!. I'm arumugam,Engineer development,Benchmark. I'm using the Tmote Sky product. I want to Display the ADC value in digit format.For the reason,I would like to get some technical details and it is mentioned below.   How can I read the ADC data without using the tra

[Tinyos-help] Timer-SysTimeC in TinyOs-2.X

2006-11-03 Thread Osman Ugus
Hello, I am implementing ECC Arithmetic on micaz motes with tinyOS-2.X. I want to mesasure the timing efficiency of my methods. I want to get the time just before calling the method and just after finishing the method. There was a component called SysTimeC in tinyOs-1.x and I think that coul

[Tinyos-help] FCS - TinyOS 1.x (Tmote)

2006-11-03 Thread Terence Joseph
Hi, I am collecting data on the serial port and I was just wondering over which fields the FCS is calculated in software as I can't seem to reproduce the value I see? The raw packet is the following (including esc chars): 7E 42 00 01 08 AA FF FF FF FF 04 7D 5D F0 CE 7E The FCS is the third

[Tinyos-help] Handling events in Tossim

2006-11-03 Thread Doman, Marguerite
How can I trace events?   I'm trying to handle an  ADCDataReadyEvent event in my Tython script. I issue the command SetADCPortValueCommand. The status message appears:   status: Wrote command: SetADCPortValueCommand [mote 0] [port 2] [value 33]   But I don't see the event in my handler. So, I th

[Tinyos-help] How to enableACK on tmote

2006-11-03 Thread Lee Ee Foong
I'm trying to test the ack in the sendDone( ) but the ack field always set to zero. I call MacControl.enableACK( ) in the StdControl.start( ).  Is there something that I did wrong or missing?   I wired the components as following:    Main.StdControl -> CC2420RadioC;  MultiHopEngineM.MacControl

Re: [Tinyos-help] FCS - TinyOS 1.x (Tmote)

2006-11-03 Thread Joe Polastre
The FCS isn't transmitted over the serial port. -Joe On 11/1/06, Terence Joseph <[EMAIL PROTECTED]> wrote: Hi, I am collecting data on the serial port and I was just wondering over which fields the FCS is calculated in software as I can't seem to reproduce the value I see? The raw packet is t

Raw Listener (was: [Tinyos-help] FCS)

2006-11-03 Thread Benjamin Madore
Is there a "Raw Listener" available for motes? One that receives all valid packets and forwards them through the serial port? -- For some reason, the United States is the only country on Earth where accidents don't happen – it's always somebody's fault, and you can sue that somebody for neglect.

Re: [Tinyos-help] How to enableACK on tmote

2006-11-03 Thread Ole Bischoff
Hy Lee Ee Foong,   I never tried to read the ack element in my message before sending, but I successfully checked the fcfhi element (after sending) from a received messages. fcfhi is the high byte of the FrameControlField (IEEE 802.15.4), if this is equal to 0x21 your message requests ACK.  

Re: [Tinyos-help] How to enableACK on tmote

2006-11-03 Thread Joe Polastre
Using SP, you want to request reliability. See the SPSend.sendAdv() function definition in /opt/moteiv/doc/nesdoc (start by opening index.html and navigating in the left frame). An example using reliability is in /opt/moteiv/tos/lib/MultiHopLQI -Joe On 11/2/06, Lee Ee Foong <[EMAIL PROTECTED]>

[Tinyos-help] Problem with mica2 and tinyos1.1.14/15

2006-11-03 Thread Termodonte
Hello,   I've got some problems while I try to upload every application of  tos/apps folder using tinyos.1.14 or .15 and the command:   make mica2 reinstall   It's the same problem that I had when I tried to upload the application with no Makelocal file (flash errors).   It' strange because after t

[Tinyos-help] Packet Descriptions

2006-11-03 Thread Benjamin Madore
I already have the Octave document, are there any other descriptions of TinyOS packets? Specifically, I'm looking at the multi-hop packets, as in Surge. -- For some reason, the United States is the only country on Earth where accidents don't happen – it's always somebody's fault, and you can sue

Re: [Tinyos-help] Problem with mica2 and tinyos1.1.14/15

2006-11-03 Thread Michael Schippling
Would be nice to see the errors...but... One change in the upgrade >.10 is that cygwin insists on using /dev/ttySn-1 instead of COMn. So if you were using COM3 you should instead use /dev/ttyS2 MS Termodonte wrote: Hello, I've got some problems while I try to upload every application of tos

Re: [Tinyos-help] Packet Descriptions

2006-11-03 Thread Michael Schippling
The message header file is probably the doc. Or at least worth a look. MS Benjamin Madore wrote: I already have the Octave document, are there any other descriptions of TinyOS packets? Specifically, I'm looking at the multi-hop packets, as in Surge. ___

[Tinyos-help] Access data stored in tmotes

2006-11-03 Thread bhushan bhatt
Hi everyone,   I have an application where i put the motes in low power when they are not receiving any data and call this as sleep mode. I also have a global timer which notes the time of the entire simulation run. I would like to have a way in which i can send the time for which the motes sleep t

[Tinyos-help] new tinyos user, question regarding cc2420

2006-11-03 Thread Joel Wilder
Hello all,   A new tinyos user here...   I've been working on a sensor that's attached to Softbaugh's DZ1612 development board, which contains an MSP430 with a CC2420.  Chipcon provides a subset RF 802.15.4 library for use with the CC2420, which has the following limitations (App note AN033 f