[Tinyos-help] Why is sendDone() called twice?

2006-11-07 Thread Tarun Bansal
I was examining the behavior of sendDone() after sending a packet over radio (in TOSSIM environment). I noticed that it is being called twice for every packet sent. If I send the pkt to an actual address, both sendDone()'s have their ack flag up. However if the pkt is sent to a fictitious mote,

Re: [Tinyos-help] Why is sendDone() called twice?

2006-11-07 Thread Philip Levis
On Nov 7, 2006, at 12:10 AM, Tarun Bansal wrote: I was examining the behavior of sendDone() after sending a packet over radio (in TOSSIM environment). I noticed that it is being called twice for every packet sent. If I send the pkt to an actual address, both sendDone()'s have their ack flag

[Tinyos-help] Please help cant compile Blink.nc For TOSSIM

2006-11-07 Thread Nadeem Jamal
Hello all how are you? I am very new to Tiny Os, I hope you all can help me. I am trying to compile Blink for Tossim Using the Make pc command, but it doesnt seem to work. I can apparently Make blink.nc for all other platforms like mica, micaz and etc but not for Tossim. The error is

Re: [Tinyos-help] Why is sendDone() called twice?

2006-11-07 Thread Tarun Bansal
I am using TOSSIM environment with TinyOS 1.1.11 and CC1000 stack Tarun On 11/7/06, Philip Levis [EMAIL PROTECTED] wrote: On Nov 7, 2006, at 12:10 AM, Tarun Bansal wrote: I was examining the behavior of sendDone() after sending a packet over radio (in TOSSIM environment). I noticed that it

[Tinyos-help] Secude Deluge Implementation ?

2006-11-07 Thread Aurélien Francillon
Dear Tinyos users, I'm looking for an implementation of secured deluge. There is a few papers about this subject [1][2][3]... but i can't find any implementation. Is anyone aware of an available implementation ? Thanks in advance Aurélien [1] Secure Code Distribution in Dynamically

Re: [Tinyos-help] Secude Deluge Implementation ?

2006-11-07 Thread Ioannis Krontiris
Hi, I have implemented my secure deluge protocol in TinyOS. You can find the related papers in http://www.krontiris.org/?page_id=3 If you are interested, I could send you the implementation. regards, Ioannis Krontiris Aurélien Francillon wrote: Dear Tinyos users, I'm looking for an

[Tinyos-help] Changing transmit power at run time

2006-11-07 Thread Tan, Chiang Kang
Hi all, Does anyone know why the capability to change the transmit power of CC2420 at run time is taken out from tinyos-2.x? Are there serious issues with changing the transmit power at run time or is it just simply not implemented in tinyos-2.x yet? Any insight to this is welcomed.

[Tinyos-help] Problems with the java based SerialForwarder

2006-11-07 Thread walid hamdi
Hi TinyOSians! I´m getting always the same error under Ubuntu 6.06: java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0 java.io.IOException: Couldn't configure /dev/ttyS0 at net.tinyos.packet.SerialByteSource.openStreams(SerialByteSource.java:84) at

[Tinyos-help] Re: How to enable ACK on tmote

2006-11-07 Thread Pablo Gil Montaño
I used SP library from Moteiv, and set transmission to reliable. SP is included in Boomerang (see [1]), but I have tested it just with tmote motes.[1]: http://blog.moteiv.com/archives/boomerang/- Mensaje original De: Lee Ee Foong [EMAIL PROTECTED]Para: [EMAIL PROTECTED]Enviado: sábado, 4

[Tinyos-help] Simplecmd compatible with telosb

2006-11-07 Thread Victor Cobos Melia
I program the apps/SimpleCmd in amote telosb, andanother with apps/TOSbase. I follow the lesson 7 to the tutorial.the first application have a mistake and i can't run this application. ... ... STNAME="pc103-9" -DIDENT_HOSTNAME_BYTES="112,99,49,48,51,45,57,0" -DIDENT_USER_HASH=0x211b7941L

[Tinyos-help] Multihop messages

2006-11-07 Thread Crif1102
Hi everybody! I'm using tmote sky and tinyos 1.x. I'm using /opt/moteiv/tos/lib/MultiHopLQI for send messages to base station in MultiHop but I have some problems.. Sometimes some packets are duplicated, that is the base station received the same packet. The only field that differentiate the

[Tinyos-help] RE: A question about FlashViewer

2006-11-07 Thread David Moss
Title: Message Hi Weijen, It looks like you're using Boomerang, correct? I originally wrote FlashViewer for TinyOS-1.x without Boomerang, and Boomerang introduced some arbitration architecture that FlashViewer didn't support.In fact, FlashViewer was created just to figure out the

[Tinyos-help] Problem in telosb radio and I2C

2006-11-07 Thread RSS
Hi all, I'm facing some problem in using the radio of a telosb when the telosb is connected to another device through the 10-pin connector. I figured that this is due to the I2C pins (pin 6 and 8).The radio works even if one of these two pins is not connected to the other device. Most

[Tinyos-help] why the SurgeTelos application cannot work?

2006-11-07 Thread suyaner0605
Dear all: I have some problems about ucb/SurgeTelos app (combined with the surge program in java),and i have checkedall mailarchive ,but i cannot resolve my problem. can you help me ?[Environment]Moteivtelosb(upgraded) tinyos 1.152 motes with SurgeTelos program (node id = 1and 2)

Re: [Tinyos-help] Problems with the java based SerialForwarder

2006-11-07 Thread prabhu govindaswamy
Hi,u can find C based SerialForwarder attinyOS1.x/tools/src/sf--Thanks and Regards,Prabhuwalid hamdi [EMAIL PROTECTED] wrote: Hi TinyOSians!I´m getting always the same error under Ubuntu 6.06:java net.tinyos.sf.SerialForwarder -commserial@/dev/ttyS0java.io.IOException: Couldn't configure

[Tinyos-help] TinyOS 2.0 Upgrade problem

2006-11-07 Thread Hairong Yan
Dear Sir, I want to upgrade my tinyOS from version 1.1.8 to 2.0. After I followed the steps of the http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html. First I get a error when I use rpm -ivh tinyos-tools-1.2.2-1.cygwin.i386.rpm It is said it need a nesc-1.2.7-1, but my nesc is

[Tinyos-help] Problem of using mica2 and sensor function

2006-11-07 Thread Yao Hui
Dear Sir I am a University Student in Singapore. I am trying to use the sounder and photo sensors from a mica2 mote. I looked over Sense application and I saw that it uses DemoSenorC and I look under the mica2 directory to see what happens in that DemoSensorC. I couldn't figure out how to use

[Tinyos-help] Sense reading of MTS300 sensor board

2006-11-07 Thread Patric Wong
Sir/Mdm,I'm currently working for a project which need to read sensor data from MTS300 sensor board attached to MICA2 Series (MPR4x0) in TinyOS 2.0. I have try the tutorial in Sense but it couldn't read the value correctly. Do you have somesample program which can read from MTS300 correctly in

[Tinyos-help] GPIO Interrupts on Imotes

2006-11-07 Thread Rene Mayrhofer
Hi all, I am currently trying to get interrupts on GPIO changes instead of polling them. Unfortunately the iMote platform does not seem to support the GpioInterrupt interface, and I can't get the GPIO interface (implemented by the GPIOC component) to emit the fired event. Are there any

[Tinyos-help] Question on necC - storing an array in the internal flash memory

2006-11-07 Thread Jooyoung Lee
Hi, I am a beginner at tiny-OS/nesC, and I have a question in nesC language. I need an array in my code, but the size is too large to be stored in data memory of 4KB. Fortunately, the valuesneed not be changed during execution, so they can be regarded as constants. However, the

Re: [Tinyos-help] TinyOS 2.0 Upgrade problem

2006-11-07 Thread Prabal Dutta
It looks like the install failed because of confusion about the OS. Try using the --ignoreos option: $ rpm -Uvh --force --ignoreos tinyos-2.0.0beta2-3.cygwin.noarch.rpm - Prabal On 11/4/06, Hairong Yan [EMAIL PROTECTED] wrote: Dear Sir, I want to upgrade my tinyOS from version 1.1.8 to 2.0.

Re: [Tinyos-help] Problem of using mica2 and sensor function

2006-11-07 Thread Michael Schippling
Try: make mica2 docs and then go look in: tinyos.../doc/nesdoc/mica2 there should be a file like: apps.Sense.Sense.nc.html which will have a navigable graph of the modules used in the program. If you look closely enough you will find that each module (sort of) states where it's source file

Re: [Tinyos-help] Changing transmit power at run time

2006-11-07 Thread Kannan Srinivasan
If I am not mistaken, CC2420Packet interface provides this feature in tinyos-2.x. You can access it using the CC2420ActiveMessageC component. Kannan. Quoting Tan, Chiang Kang [EMAIL PROTECTED]: Hi all, Does anyone know why the capability to change the transmit power of CC2420 at run

Re: [Tinyos-help] Why is sendDone() called twice?

2006-11-07 Thread Philip Levis
On Nov 7, 2006, at 1:57 AM, Tarun Bansal wrote: I am using TOSSIM environment with TinyOS 1.1.11 and CC1000 stack I have no idea what the problem might be; IIRC, the CC1000 stack was written by Victor Shnayder at Harvard. Phil ___ Tinyos-help

Re: [Tinyos-help] Sense reading of MTS300 sensor board

2006-11-07 Thread Philip Levis
On Nov 5, 2006, at 6:25 PM, Patric Wong wrote: Sir/Mdm, I'm currently working for a project which need to read sensor data from MTS300 sensor board attached to MICA2 Series (MPR4x0) in TinyOS 2.0. I have try the tutorial in Sense but it couldn't read the value correctly. Do you have some

Re: [Tinyos-help] Changing transmit power at run time

2006-11-07 Thread Philip Levis
On Nov 7, 2006, at 4:36 AM, Tan, Chiang Kang wrote: Hi all, Does anyone know why the capability to change the transmit power of CC2420 at run time is taken out from tinyos-2.x? Are there serious issues with changing the transmit power at run time or is it just simply not implemented

Re: [Tinyos-help] SetRFPower micaz TinyOs 1.x

2006-11-07 Thread Kocsis László
Hi! I find a mistake that may result the problem. In xbow/tos/lib/CC2420RadioAck/CC2420ControlM SetRFPower: gCurrentParameters[CP_TXCTRL] = (gCurrentParameters[CP_FSCTRL] 0xfff0) | (power CC2420_TXCTRL_PAPWR); I thinkthe right hex is0xff00 instead of 0xfff0, so I get the RFindex at 5

Re: [Tinyos-help] Multihop messages

2006-11-07 Thread Joe Polastre
Duplicate packets are usually caused by an ack that was lost by the transmitting node. Thus, two packets are received at the base station instead of one. Simply filtering by sequence number addresses the issue. -Joe On 11/7/06, Crif1102 [EMAIL PROTECTED] wrote: Hi everybody! I'm using tmote

[Tinyos-help] In TinyOS 2.0, how to inject packets from a PC into the sensor network?

2006-11-07 Thread Xu, Jingdong
Hello Everyone, I am now using the new released TinyOS 2.0. I want to inject packets from a PC into the sensor network. However, I can no longer find the simple Java tool BcastInject as in TinyOS 1.1, which I used to use following the TinyOS 1.1 Tutorial Lesson 7 (Injecting and broadcasting

[Tinyos-help] acks in T2

2006-11-07 Thread Razvan Musaloiu-E.
Hi! I'm playing a little with the CC2420 LPL and I noticed that the messages send to the broadcast address are getting acknowledged. What is even more puzzling for me is this is still happening even after I tried to disabled them using the noAck() function from the PacketAcknowledgements

[Tinyos-help] changing radio strength

2006-11-07 Thread Abhishek Jain
Hi,Is the radio strength programmable? Specifically, can i set the TOS *msg-strength field to some value in program code? Please respond.thanks,Abhishek-- All you need in life is ignorance and confidence, and then success is sure. ___ Tinyos-help mailing

Re: [Tinyos-help] changing radio strength

2006-11-07 Thread sougata sen
if u r using a cc2420,u can change the radio strength in the header file /tos/lib/cc2420/cc2420const.h On 11/8/06, Abhishek Jain [EMAIL PROTECTED] wrote: Hi,Is the radio strength programmable? Specifically, can i set the TOS *msg-strength field to some value in program code? Please

[Tinyos-help] TOSH_DATA_LENGTH can be more than 111

2006-11-07 Thread Tie Luo
Hi, According to CC2420 datasheet, the 127 byte packet size limit does not count in the PHY header, therefore the max payload length should be 127 - 10 (MAC header, excluding length field) - 2 (MAC footer) = 115 bytes, i.e. TOSH_DATA_LENGTH can be definedto be115. Dr. Levis, could you confirm? -

Re: [Tinyos-help] Problem of using mica2 and sensor function

2006-11-07 Thread Michael Schippling
ah...I was leading you down a T1 path. Don't know about T2. sorry MS Yao Hui wrote: Dear Sir May I know the below info is based on tinyos1.1 or tinyos2.x? because I can not find tos/sensorboards/micasb/ folder under tinyos2.x. thx! From: Michael