Re: [Tinyos-help] CC2420Config.syncDone() may not get called after sync() return SUCCESS

2006-10-25 Thread Philip Levis
On Oct 25, 2006, at 2:11 AM, Tie Luo wrote: if (call CC2420Config.sync()==SUCCESS) var=1; and in RadioConfig.syncDone(error_t err) I reset var=2 regardless of the value of err. However, sometimes the var is always 1, even if I check var periodically. This shows syncDone may not be c

[Tinyos-help] Re: Design pattern of dispatcher in TinyOS programming

2006-10-25 Thread Philip Levis
On Oct 24, 2006, at 11:57 PM, KANG HUI wrote: Dr. Levis: In your book tinyos programming guidance, it said "if two services are wired to a given ReceiveMsg instance, only one of their pointers will be passed and the second will be lost." Does the following example belong to this situation?

Re: [Tinyos-help] CC2420Config.syncDone() may not get called after sync() return SUCCESS

2006-10-25 Thread Philip Levis
On Oct 25, 2006, at 9:32 AM, Tie Luo wrote: If radio is busy, I think CC2420Config.sync will fail, or may return SUCCESS and signal syncDone at some time later. I do not understand what you said "if sync were to never signal done, then it is unlikely that the radio is receiving/transmitting

Re: [Tinyos-help] collision simulation in tossim

2006-10-26 Thread Philip Levis
On Oct 26, 2006, at 3:27 AM, Pela wrote: Using the "simple" model means that all the nodes will receive packets and the bit error rate is set to zero. However, collisions can still occur as well as the hidden terminal problem, for this reason crc errors are possible. As far as I know, collisio

Re: [Tinyos-help] Re: LowPoerListening

2006-10-26 Thread Philip Levis
On Oct 26, 2006, at 10:21 AM, Ian Welch wrote: Does anyone know how I can use this feature? Thanks On 10/24/06, Ian Welch <[EMAIL PROTECTED]> wrote: I would like to use LowPowerListening to help save power while my Motes are inactive and waiting for commands. I found the Interface in /c

Re: [Tinyos-help] C program for Listern

2006-10-26 Thread Philip Levis
On Oct 26, 2006, at 12:46 PM, Joe Polastre wrote: Download Boomerang from www.moteiv.com. In there are the applications you are looking for: /opt/moteiv/apps/Oscilloscope /opt/moteiv/apps/TOSBase Alternatively, you can just check out the versions that were in the tree before Moteiv remove

Re: [Tinyos-help] current consumption MICAZ

2006-10-27 Thread Philip Levis
On Oct 27, 2006, at 2:15 AM, John Thelen wrote: Hi, This summer there was some discussion about the current consumption of the MicaZ in tinyOS 2.x Were these measurements the current consumption for the whole node circuitry or just the microcontroller? Currently I am measuring in total

Re: [Tinyos-help] Does AMSnoopingReceiver work?

2006-10-27 Thread Philip Levis
On Oct 27, 2006, at 10:13 PM, Tie Luo wrote: Dear all, I am using AMSnoopingReceiverC, but the node seems only receive message destined to the node itself, and cannot receive messages for others. I saw in CC2420ActiveMessageC.nc there is a comment: "Note that snooping may not work, due to

Re: [Tinyos-help] CC2420Control issue

2006-10-27 Thread Philip Levis
On Oct 27, 2006, at 6:27 PM, KANG HUI wrote: In the tinyos CVS,there is TestPC2420, which is for CC2420 on PC. Hui That's right. I've never used it myself, and I've heard that it's not perfect, but it's supposedly pretty accurate with respect to interface (I do not know about the radio m

Re: [Tinyos-help] problem on switching back to tinyos-1.x

2006-10-29 Thread Philip Levis
On Oct 28, 2006, at 9:45 AM, Adam wrote: Michael, Thank you. Here is the problem: I can compile 1.x application with "make telosb", but not "make micaz" -- show following errors (how to correct it): /opt/tinyos-1.x/tos/platform/micaz/HPLCC2420InterruptM.nc:161: warning: `CCATime r.start

Re: [Tinyos-help] Tinyos-2.x

2006-10-30 Thread Philip Levis
On Oct 30, 2006, at 4:45 PM, Fatima Zohra wrote: Hi All, I dont see tinyos-2.x tree after running the rpm 's. Has anyone successfully installed this version of tinyos. Is there an Installshield setup for Windows platform available or is there an installation CD available? I really need thi

Re: [Tinyos-help] LinkEstimator header and footer related questions ... Manish

2006-10-30 Thread Philip Levis
On Oct 30, 2006, at 7:17 PM, Manish Kochhal wrote: Dear TinyOS users, I have some questions regarding the messages that are being used by the LinkEstimator module and implemented in tinyos-2.0 ... The module provides send and receive interfaces for the upper layers ... So that means, tha

Re: [Tinyos-help] CC2420 ack transmission causes SFD capture?

2006-10-31 Thread Philip Levis
On Oct 27, 2006, at 12:39 PM, Chris Merlin wrote: Hi, I am looking at the software ACK mechanism in CC2420. In CC2420RadioM.nc, when a packet is received and if it requests an ACK, the command strobe SACK is issued. (in doRXFIFODoneBody // if ack is requested, must pass CRC and match our

Re: [Tinyos-help] tinyos-2.x - ignoring unknown packet type 45

2006-11-01 Thread Philip Levis
On Nov 1, 2006, at 7:51 AM, Cormac Duffy wrote: Hi I am running the beta-2 version of tinyos-2.x. I can't seem to get any results from the serial forwarder or Listener java applications, they both issues the following error: serial@/dev/ttyUSB0:115200: ignoring unknown packet type 45 I am u

Re: [Tinyos-help] Questions about application MultihopOscilloscope(T2)

2006-11-01 Thread Philip Levis
On Nov 1, 2006, at 4:50 AM, xiaoyan yang wrote: Dear TinyOS users, I'm running MultihopOscilloscope in TOSSIM(T2). The event Receive.receive is supposed to be signaled at the root node only when it receives a new message. However, now every node will receive messages through this interfac

Re: [Tinyos-help] very strange code of sending on micaZ, Tinyos2.0

2006-11-01 Thread Philip Levis
On Nov 1, 2006, at 1:35 AM, Tie Luo wrote: Line 6: if congestion is true, even m_cca==false can enter S_SAMPLE_CCA state, which is wrong. Why is this wrong? If it's congested, continue sampling for a clear channel. Line 7: I do not find where the macro PLATFORM_MICAZ is defined. And,

Re: [Tinyos-help] TinyOS 2.x

2006-11-02 Thread Philip Levis
On Nov 2, 2006, at 2:43 PM, ricardo tiago wrote: Hi Does anyone know a estimated date for a new tinyos 2.x release ? Barring catastrophe, Monday. Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley

Re: [Tinyos-help] BlinkTask w/new T2

2006-11-06 Thread Philip Levis
On Nov 6, 2006, at 1:41 PM, Mikael Ifversen wrote: Hello, I had successfully implemented the last part of the BlinkTask tutorial on the Tmote Sky using the T2 Beta version during the weekend. Today I upgrade the TinyOS2.x tree (only) with the new RPM found at: http://www.tinyos.net/tinyos-

[Tinyos-help] TinyOS 2.0 released

2006-11-06 Thread Philip Levis
t story at www.tinyos.net or read the documentation at http://www.tinyos.net/tinyos-2.x/doc/ This release is the product of a huge amount of work from a large group of people, including but not limited to (apologies if I forgot you!): David Gay, Philip Levis, Cory Sharp, Vlado Handziski,

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 up

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 mai

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 i

Re: [Tinyos-help] TestTreeRouting

2006-11-08 Thread Philip Levis
On Nov 8, 2006, at 11:35 AM, ricardo tiago wrote: Hi I'm trying to simulate TestTreeRouting from tinyos-2.x tree. But i got some errors. The first ones that i fixed w I don't think TestTreeRouting is operable; you want TestNetwork or MultihopOscilloscope. Phil __

Re: [Tinyos-help] duration of sensing when CCA.get () called in tinyos-2.x

2006-11-08 Thread Philip Levis
On Nov 8, 2006, at 11:50 AM, Avinash Sridharan wrote: Hi All, I wanted to know as to what is the duration of sensing when using CC2420 when the CCA.get() is called in tinyOS-2.x. Is there any way to measure this ? CCA.get is reading a memory-mapped input pin. So it *should be* a memor

Re: [Tinyos-help] T2 Tutorial5

2006-11-08 Thread Philip Levis
On Nov 8, 2006, at 5:55 PM, Michael Schippling wrote: It may be that S.F.er is 'listening' to that serial port, and thus other programs cannot open it. If you want O'scope or Listen to attach to S.F.er, you should change the attach identifier, [EMAIL PROTECTED]:115200, to something that specifie

Re: [Tinyos-help] which one is the compiler choose when there are more components with same name

2006-11-08 Thread Philip Levis
On Nov 8, 2006, at 5:51 PM, Michael Schippling wrote: It's not "duplication", it's overloading... I haven't done an exhaustive search, but each of the same-named files/modules has different behavior -- mostly due to platform or protocol differences. Care to re-invent C++ using directories inste

Re: [Tinyos-help] Upgrading to TinyOS 2.x

2006-11-09 Thread Philip Levis
On Thu, 2006-11-09 at 08:41, Chiranjoy Chowdhuri wrote: > I tried to upgrade from TinyOS 1.x to TinyOS 2.x. Everything just > about worked fine. But while installing the > tinyos-tools-1.2.3-1.cygwin.i386.rpm the following error occured. On > running the following command : > > rpm -ivh --force ti

Re: [Tinyos-help] which one is the compiler choose when there are more components with same name

2006-11-09 Thread Philip Levis
On Nov 9, 2006, at 12:16 PM, Michael Schippling wrote: Yes, wouldn't we all like to know that... I just asked Phil if it was doc'ed someplace. I'd suspect that it's defined in the nesc scripts but I never went to look... There are two parts. The first is the default TinyOS part. This is in

Re: [Tinyos-help] TestTreeRouting

2006-11-09 Thread Philip Levis
On Nov 9, 2006, at 1:55 AM, ricardo tiago wrote: Without changing anything i'm getting errors in TestNetwork and MViz, they're mostly "interface has no command or event named .." or "CollectionPacket.getType' not implemented" TestCollection is not working either , theres something wrong wi

Re: [Tinyos-help] collision or interfere in TOSSIM

2006-11-10 Thread Philip Levis
On Nov 10, 2006, at 5:17 AM, Tie Luo wrote: I work on real motes and thus did not use tossim. But I guess tossim can simulate interference since it use a SNR model while it does not simulate collision, which is rather difficult. TOSSIM in TinyOS 1.x and in T2 both simulate collisions. Phi

Re: [Tinyos-help] collision or interfere in TOSSIM

2006-11-10 Thread Philip Levis
On Nov 10, 2006, at 7:14 PM, Tie Luo wrote: Thank you for your clarification. I think to detect collision in reality becomes difficult, since both collisions and channel error lead to packet CRC error. Other methods like using RSSI and LQI cannot clearly distinguish either, although they

Re: [Tinyos-help] warning 'result1' might be used unitialized in this function

2006-11-11 Thread Philip Levis
On Nov 11, 2006, at 7:39 PM, Adam wrote: Hi, 'make telosb' - there is no compile errors. but, if I 'make micaz', I got the following errors: C:/TinyOS/cygwin/opt/tinyos-1.x/tos/system/RealMain.nc: In function `main': C:/TinyOS/cygwin/opt/tinyos-1.x/tos/interfaces/StdControl.nc:63: warning:

Re: [Tinyos-help] Cannot compile TOSSIM application

2006-11-13 Thread Philip Levis
On Nov 13, 2006, at 4:01 AM, Bernd-Christian Renner wrote: Hello everybody, I've just installed TinyOS 2.0 - had beta 2.0 before. Since that upgrade, I cannot compile C++ TOSSIM applications any longer. After "make micaz tossim" - which still works, another "make -f Makefile.sim" gives m

Re: [Tinyos-help] Monitoring RSSI (TinyOS 2.0, CC2420, Msp430)

2006-11-13 Thread Philip Levis
On Nov 13, 2006, at 8:04 AM, Tobias Rein wrote: Hello everybody, I'm trying to monitor RSSI values with a Tmote Sky. I managed to read RSSI values out of a packet (CC2420Packet.getRSSI(msg)). But how can I get RSSI values in between of packet arrivals? There is a good solution on the moteiv

Re: [Tinyos-help] TOSSIM / TinyViz message: "Done with run." with more than 4 nodes

2006-11-13 Thread Philip Levis
On Nov 13, 2006, at 12:33 PM, Andreas Wapf wrote: I found that the fault is caused by a segmentation fault during the call of nmemcpy. Here the output of gdb: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1210399056 (LWP 14693)] 0x0804a070 in nmemcpy (to=0x5, from

Re: [Tinyos-help] sendDone() is never called on Tossim2.0

2006-11-14 Thread Philip Levis
On Nov 14, 2006, at 7:44 AM, Carlos Perez wrote: Andreas emailed me with the solution below (he is not a list member yet so he could not post it). Apparently the radio doesn't work if you don't set the noise for each node. So I added it and it works now. Thanks! Carlos. Ah, that makes sen

Re: [Tinyos-help] tinyOS-2.x in a Micaz OEM

2006-11-14 Thread Philip Levis
On Nov 14, 2006, at 7:59 AM, Jordi Casals wrote: Hello, I'm a spanish student and I'm starting to work with the tinyOS-2.x. Now I'm using Micaz, but next month I should begin to use Micaz OEM. I would like to know if micaz oem and tinyos2 are compatible 100% or i will have any problem?

Re: [Tinyos-help] SendMsg

2006-11-14 Thread Philip Levis
2 On Nov 14, 2006, at 12:58 PM, ricardo tiago wrote: Hi i've made a program that sends 3 messages to his neighbors, but if i send the messages in a consecutive way , only the last message is received. If i send the first message then wait a x'time , send the second message and wait again t

Re: [Tinyos-help] Cannot compile TOSSIM application

2006-11-14 Thread Philip Levis
On Nov 14, 2006, at 12:26 PM, Bernd-Christian Renner wrote: Hi Phil, | > I've just installed TinyOS 2.0 - had beta 2.0 before. Since that | > upgrade, I | > cannot compile C++ TOSSIM applications any longer. | > | > After "make micaz tossim" - which still works, another "make -f | > Makefile.s

Re: [Tinyos-help] Arbiter.Init error in HplSensirionSht11C.nc

2006-11-15 Thread Philip Levis
On Nov 15, 2006, at 12:14 AM, migueltsilva wrote: Hello I'am trying to modify the Oscilloscope to samples the sensor Temperature in telosb. To do this I create a file TemperatureC.nc in /tos/platforms/telosb/ " generic configuration TemperatureC() { provides interface Read; } implementatio

Re: [Tinyos-help] sendDone (error==SUCCESS) really means transmission succeeds?

2006-11-15 Thread Philip Levis
On Nov 15, 2006, at 8:26 AM, Tao Wu wrote: Would you please tell to enable acknowledgement when sending message? Thanks a lot. Best If you are using tinyos-2.x, I recommend reading tutorial 3. It talks about the PacketAcknowledgments interface and how to use it. Phil __

Re: [Tinyos-help] TinyOS 2.0 "tools" missing

2006-11-15 Thread Philip Levis
On Nov 15, 2006, at 9:37 AM, miki ven wrote: Hi, I ran the TinyOS 2.0 installation, and i find the folder "tools" missing from the /opt/tinyos2.x directory I made sure I completed all the steps listed : - installed JDK from IBM - installed all the rpm's given for linux - set-up environ

Re: [Tinyos-help] RE: RV: TinyOS 2.0 installation problem

2006-11-16 Thread Philip Levis
On Nov 16, 2006, at 1:24 AM, Eva Maria Garcia wrote: Hi, When I compiled application Blink with "make micaz sim-cygwin", I obtain the next error: build/micaz/tossim.o(.text+0xcaa):/opt/tinyos-2.x/tos/lib/tossim/ tossim.c:188: undefined reference to `_hashtable_insert' collect2: ld returned

Re: [Tinyos-help] Fwd: TOSSIM TinyOS 2.0 problem

2006-11-16 Thread Philip Levis
On Nov 16, 2006, at 8:53 AM, Cormac Duffy wrote: Am also having similar problem with fedora core 4, after upgrading to tinyos-2.x release rpm The make micaz sim compiles properly but when i use simple Driver.c file and try to compile and link i get the following error g++ -g -c -o Driver.o D

Re: [Tinyos-help] RE: RV: TinyOS 2.0 installation problem

2006-11-16 Thread Philip Levis
On Nov 16, 2006, at 9:01 AM, Eva Maria Garcia wrote: Ok, I've done what you tell me, but now I obtain the next error. That is only a part of the errors: `->' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6875: error: syntax error before I think you need to configure your Python

Re: [Tinyos-help] Problems with TinyOS 2.0 / Boomerang coexistence

2006-11-17 Thread Philip Levis
On Nov 17, 2006, at 2:53 AM, Elias Weingärtner wrote: Executing "source tinyos2.sh" from bash should provide me with a running TinyOS 2.0 installation, and actually it does. Example applications compile nicely for micaZ and telosb, but not for tmote! Executing "make tmote" in apps/Blink gives

Re: [Tinyos-help] Problem with TOSSIM and TestLPL

2006-11-19 Thread Philip Levis
On Nov 19, 2006, at 6:42 AM, Miguel Pereira wrote: Hi, I have a problem in TinyOS 2.0 under Linux environment, when I try to compiling TOSSIM on the application TestLPL with the following command env CFLAGS="-I%T/chips/cc2420_lpl -DLOW_POWER_LISTENING" make micaz sim I have errors. The st

[Tinyos-help] Working Group Formation

2006-11-22 Thread Philip Levis
s and interoperability requirements for basic network (multihop) protocols and develop reference implementations of those protocols. Members: Rodrigo Fonseca, UC Berkeley (chair) Jan Beutel, ETH Zurich Henri Dubois-Ferriere, EPFL Omprakash Gnawali, USC Jonathan Hui, Arch Rock Kyle Jamieson

Re: [Tinyos-help] nesc1.2.7b-1 is intended for a cygwin_nt-5.0 operating system

2006-11-23 Thread Philip Levis
On Nov 22, 2006, at 12:51 PM, David Gay wrote: On 11/22/06, Michael Schippling <[EMAIL PROTECTED]> wrote: It sounds like you don't have cygwin at all... If he got that message and he's using Windows, he does have cygwin installed (it's an error message from the rpm command). The problem is t

Re: [Tinyos-help] upgrading from TinyOS 1.1.15 to TinyOS2.0

2006-11-23 Thread Philip Levis
On Nov 22, 2006, at 2:30 PM, Jim Wei wrote: After upgrade following “Upgrading from TinyOS1.x to TinyOS 2.x” document on your web site, I thought I would go through the Tutorial Lesson 1 to check the environment. I have the following problem: 1) I have tinyos-2.x/tos directory (i

Re: [Tinyos-help] Newbie: setting up devenv

2006-11-23 Thread Philip Levis
On Nov 22, 2006, at 10:35 PM, Chad Metcalf wrote: The Tmotes (or telosb from other companies) are the fastest and easiest way to start (IMHO). Each board is its own programmer. That's why they've got USB connectors. Each can be flashed to be a base station. Or you can write a base station that

Re: [Tinyos-help] no /tinyos-2.x/tools directory

2006-11-23 Thread Philip Levis
On Nov 23, 2006, at 6:59 AM, Jim Wei wrote: Chad, Thanks for the information. In Lesson 1 of TinyOS Tutorial, it asks to check the environment of TinyOS by using "configure" command under tinyos-2.x/tools/tinyos. Since I don't have the tools/tinyos directory, I typed the command under ti

Re: [Tinyos-help] C++ vs Python

2006-11-24 Thread Philip Levis
On Nov 23, 2006, at 10:23 AM, Marco Antonio Lopez Trinidad wrote: Ciao Fatima, I think the problem is not the programming language you can use... to develop a GUI... The problem is the know how behind the exchange of data between your GUI application and the data produced by the simulat

Re: [Tinyos-help] no code in /tinyos-2.x/apps/TestScheduler/

2006-11-24 Thread Philip Levis
On Nov 24, 2006, at 2:05 AM, Nazia Zaman wrote: I wanna run TestScheduler, but there is no code in the directory. If I'm supposed to get it from CVS, what is the login information? Sourceforge has detailed instructions on how to access CVS. Phil _

Re: [Tinyos-help] Concerning call SendMsg.send()

2006-11-26 Thread Philip Levis
On Nov 26, 2006, at 11:41 AM, walid hamdi wrote: Hi All! I´m trying upon receiving a message to send back to the sender and at the same time to the UART to see the results on the pc. I´m making this using: call SendMsg.send(_pongmsg->src, sizeof(PongMsg_t), p_msg); call SendMsg.send(TOS_UART_A

Re: [Tinyos-help] Upgrading to TinyOS 2.x

2006-11-27 Thread Philip Levis
On Nov 22, 2006, at 2:30 AM, Hairong Yan wrote: Dear Phil, I try to use tools-1.2.2, it is still the same problem. Best regards. hairong yan Which version of Cygwin are you using? This is a Cygwin versioning problem. Phil ___ Tinyos-help mailing

Re: [Tinyos-help] Problem compiling BaseStation, Tutorial Lesson 4: Mote-PC serial communication

2006-11-28 Thread Philip Levis
On Nov 28, 2006, at 2:39 AM, Alessandro Bertelli wrote: I'm using cygwin on a win2000 machine and telosb motes, whenever i try to compile Basestation (the same with BaseStationCC2420) i get thi error message Please check the archives for Cory Sharp's message on August 22, 2006 with th

Re: [Tinyos-help] Upgrading to TinyOS 2.x

2006-11-28 Thread Philip Levis
On Nov 28, 2006, at 12:00 AM, Hairong Yan wrote: I install the tinyos by crossbow's CD. I checked the version of cygwin is cygwin-NT-5.1 1.3.22. I'd recommend checking TinyOS 2.0 out of CVS with the tag tinyos- release-2-0-0. Then go to tinyos-2.x/tools, run ./Bootstrap ./configure make

Re: [Tinyos-help] LogRead

2006-11-28 Thread Philip Levis
On Nov 28, 2006, at 11:42 AM, R. Steve McKown wrote: On Tuesday 28 November 2006 09:06 am, Tobias Rein wrote: When I use LogRead.read(...) with the arguments for the special block (len = 8), the offset (LogRead.currentOffset()) steps up from 0 to 13. Why is that? The size of this block is only

Re: [Tinyos-help] compile error for micaz sim (T2)

2006-11-29 Thread Philip Levis
On Nov 29, 2006, at 5:45 AM, venkatesh s wrote: Hi all, I am using T2 under cygwin. I compiled the Blink application for TOSSIM. But it gives a list of error at the end. Please read the part of the TOSSIM tutorial that talks about Python versioning. Phil _

Re: [Tinyos-help] compile error for micaz sim (T2)

2006-11-29 Thread Philip Levis
On Nov 29, 2006, at 5:45 AM, venkatesh s wrote: The module files are being generated, but its the problem of the python tool. I am using python 2.4 version. I got the same error when used Python 2.3 version also.. Can anyone Help me out?? Whoops -- didn't get this far. Can you check whet

Re: [Tinyos-help] compile error for micaz sim (T2)

2006-11-30 Thread Philip Levis
On Nov 29, 2006, at 8:23 PM, venkatesh s wrote: I checked it, it has both python2.3 and python2.4. I think python- dev package is not installed on cygwin. Can i know where do i get this package?? I have one for linux, but it didnt work.. Also searced in the net but failed to get one!!

Re: [Tinyos-help] Default radio channel in TinyOS 2.0 beta?

2006-12-02 Thread Philip Levis
On Dec 1, 2006, at 12:49 PM, Ajit Karthik Mylavarapu wrote: I was wondering what the default radio channel is in TinyOS 2.0 beta? When I looked at the Moteiv site, it mentions that the default is Channel 11. But when I look at my CC2420_DEF_CHANNEL it says 26: tos/chips/cc2420/CC2420.h:#ifndef

Re: [Tinyos-help] Generating the communication topography

2006-12-03 Thread Philip Levis
On Dec 1, 2006, at 6:17 PM, Tahir Azim wrote: Hi, Is there a tool available for generating the communication topography (diagram showing number of packets sent and received by each node in a TOSSIM simulation)? For example, communication topographies are shown in the Trickle paper( http:/

Re: [Tinyos-help] Tiny os 2.0 set-mote-id

2006-12-03 Thread Philip Levis
On Dec 1, 2006, at 4:04 PM, KURT PETERS wrote: I get the same for TOS_NODE_ID. See below. who's cory? Developer? K He wrote the script, IIRC. But looking at the script, I think it's doing the right thing, but the output doesn't let you know it is. This is the end of the script: # if

Re: [Tinyos-help] Bit Error Rate for CC2420

2006-12-04 Thread Philip Levis
On Dec 4, 2006, at 3:31 AM, Rafael Marin Perez wrote: Hi all, I have saw a method for calculating bit error rates (BER) from packet error rates (PER) for the CC1000 radio in Mica RFM with SecDed encoding. This isn't for the CC1000, which is part of the mica2 platform. It's for the mica

Re: [Tinyos-help] suggest a litter change on document of installing TinyOS 2.x

2006-12-05 Thread Philip Levis
On Nov 28, 2006, at 9:16 AM, Hairong Yan wrote: When I installed, I am confused for a while following the steps in http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html So I suggest add one line between Step 2 Install Cygwin: 1.Download the confirmed-compatible cygwin packages from the

Re: [Tinyos-help] problem with simulator

2006-12-06 Thread Philip Levis
On Dec 6, 2006, at 10:40 AM, Abhishek Jain wrote: Hi, I am having some trouble with the simulator. My code works perfectly fine on telosb motes, but surprisingly, when i run it in the simulator, it stops RANDOMLY ANYWHERE. What could be the possible reasons for the simulator to crash? The code

Re: [Tinyos-help] Main Uninitilized

2006-12-06 Thread Philip Levis
On Dec 6, 2006, at 12:02 PM, Benjamin Madore wrote: I searched and couldn't find an answer: Why do I get: C:/apps/cygwin/opt/tinyos-1.x/tos/system/RealMain.nc: In function `main': C:/apps/cygwin/opt/tinyos-1.x/tos/interfaces/StdControl.nc:63: warning: `result' might be used uninitialized

Re: [Tinyos-help] What results from packet collision in telosb ?

2006-12-07 Thread Philip Levis
On Dec 7, 2006, at 10:29 AM, Robert Szewczyk wrote: Kamin Whitehouse has a paper on the study of this phenomenon; you can read it here: http://www.cs.virginia.edu/~whitehouse/pubs/ whitehouse05emnets.pdf Kamin's studies were on the CC1000 radio, which is FSK, and he adjusted the MAC to prea

Re: [Tinyos-help] TinyOS execution order / atomic issue?

2006-12-07 Thread Philip Levis
On Dec 7, 2006, at 12:04 PM, Jeff King wrote: The while loop in Boot.booted() doesn't seem to pick up that the global variable 'blocking' has changed. Any clue as to why the app can't print the "Booting, Part 2" line? I'm not a 100% expert on C (David), but perhaps you need a volatile? A

Re: [Tinyos-help] UartByte.send locks up?

2006-12-07 Thread Philip Levis
On Dec 7, 2006, at 1:52 PM, Jeff King wrote: Jeff King wrote: Has anyone tried using the new UartByte interface in the TinyOS 2.0 release? Sending and receiving serial data using UartStream works fine, but the blocking UartByte.send never unblocks: I've tracked this down to two problems. F

Re: [Tinyos-help] TinyOS execution order / atomic issue?

2006-12-07 Thread Philip Levis
On Dec 7, 2006, at 12:51 PM, R. Steve McKown wrote: I think in general the need/desire for a spin lock or other similar continue-to-test strategies suggest that some of the best benefits of TinyOS aren't being fully exploited. Granted, it can mean the organization of your code is trickier

Re: [Tinyos-help] can't Blink with 'make micaz sim '

2006-12-08 Thread Philip Levis
On Dec 8, 2006, at 2:37 AM, preeti k wrote: I have installed tinyos2.x on cygwin(directed at by tinyos.net). I tried running the sample Blink application with both commands $ make micaz sim $ make micaz sim-cygwin Either ways it throws an error as follows- 'nesc1.exe-Entry point not found

Re: [Tinyos-help] Cannot send message correctly

2006-12-08 Thread Philip Levis
On Dec 8, 2006, at 8:43 AM, Lorenzo Mainardi wrote: Hi, I'm trying to send and receive message in Tinyos-2.x. I have been foolowed the chapter 3 of Tutorial and I write this code: event void Timer.fired(){ dbg("beacon", "Timer fired\n"); if(busy) dbg("beacon", "BUSY!!!"); if(!busy){

Re: [Tinyos-help] can't Blink with 'make micaz sim '

2006-12-11 Thread Philip Levis
On Dec 11, 2006, at 8:16 AM, Mr. Jonathan A. Gomez wrote: Hmm... I don't know anything about compiling TOSSIM, but I do understand some of the meaning of your error messages: You got a lot of lines like build/micaz/sim.o(.text+0x2f86): In function `sim_log_add_channel': /opt/tinyos-2.x/to

Re: [Tinyos-help] can't Blink with 'make micaz sim '

2006-12-11 Thread Philip Levis
On Dec 11, 2006, at 12:28 AM, preeti k wrote: The 'entry point not found ' error is gone after checking and changing the version for nesc package as was suggested. Thanks for the same .But still the Blink application doesn't work. I have gone through the tinyos-help thread which discusses

Re: [Tinyos-help] Tossim-2.x and C++

2006-12-11 Thread Philip Levis
On Dec 11, 2006, at 9:08 AM, A. Banani wrote: Hi, I am currently testing Tossim with TinyOs 2.x under Gentoo Linux as described in the tutorial no. 11. I have written a small program which uses the RadioCountToLeds object files and would like to analyze the states of the leds. I was now w

Re: [Tinyos-help] Tossim-2.x and C++

2006-12-11 Thread Philip Levis
On Dec 11, 2006, at 1:38 PM, A. Banani wrote: Hi, thanks for answering. I am trying to test a few localization algorithms in Tossim (and visualize them) and I thought that the new Tossim would be better for this task, since it allows everything to be in the same process. But it seems that

Re: [Tinyos-help] Re: cc2420_lpl multiple transmitters

2006-12-12 Thread Philip Levis
On Dec 12, 2006, at 2:53 AM, Miguel Pereira wrote: Hi David, Thanks for your help and report. In my opinion to improve the reliability you should concentrate on resend messages. The major problem, i think, is because you are not resending the messages with CCA. I think you should use resend

Re: [Tinyos-help] Re: cc2420_lpl multiple transmitters

2006-12-12 Thread Philip Levis
On Dec 12, 2006, at 11:30 AM, David Moss wrote: Hi Phil - The way LPL works is through continuous retransmissions of a message for the duration of a receive check period. These retransmissions are invisible to the application layer - so from the app layer, it looks like you send a single

Re: [Tinyos-help] Problems with the collection library and the TestNetwork application

2006-12-12 Thread Philip Levis
On Dec 12, 2006, at 11:44 AM, Jared Hill wrote: Hello, I am having trouble running the TestNetwork application (tinyos 2.0) on mica2s. The mica2 seems to freeze and nothing happens after the first message is sent. Has anyone else seen these same issues? Kyle Jamieson was responsible for t

Re: [Tinyos-help] make micaz sim

2006-12-13 Thread Philip Levis
On Dec 12, 2006, at 11:22 PM, preeti k wrote: Hi, I am trying to run tossim on tinyos2.x using cygwin. I ran the command 'make micaz sim' , but this throws numerous 'undefined_reference' errors like say ** **

Re: [Tinyos-help] make micaz sim

2006-12-13 Thread Philip Levis
On Dec 12, 2006, at 11:22 PM, preeti k wrote: Hi, I am trying to run tossim on tinyos2.x using cygwin. I ran the command 'make micaz sim' , but this throws numerous 'undefined_reference' errors like say ** **

Re: [Tinyos-help] make micaz sim

2006-12-13 Thread Philip Levis
On Dec 13, 2006, at 9:24 AM, Philip Levis wrote: On Dec 12, 2006, at 11:22 PM, preeti k wrote: Hi, I am trying to run tossim on tinyos2.x using cygwin. I ran the command 'make micaz sim' , but this throws numerous 'undefined_reference&#

Re: [Tinyos-help] python version

2006-12-14 Thread Philip Levis
On Dec 14, 2006, at 6:24 AM, preeti k wrote: Finally i think i figured that the problem is of compilation happening for linux when i am actually using cygwin. So i hard coded OSTYPE=cygwin in the sim.extra file. Now it has stopped throwing undefined reference errors but i am still not done

Re: [Tinyos-help] CC2420 LQI in TinyOS 2.0

2006-12-15 Thread Philip Levis
On Dec 15, 2006, at 7:47 AM, Paul Chiang wrote: Hi, I have noticed that in TinyOS 2.0 the CC2420 LQI seems to be a function of RSSI. More specifically, LQI seems to be calculated from RSSI as follows: LQI = RSSI>0 ? RSSI : 128 + RSSI This does not match the information given in the CC2

Re: [Tinyos-help] Scheduler simulation with TOSSIM 2.x

2006-12-18 Thread Philip Levis
On Dec 18, 2006, at 8:21 AM, sam ribas wrote: Hello everybody. I've added some modules to TinyOS 2.0 in order to replace the scheduler, following the instruction written in TEP 106. It seems to work (priority scheduling, with 3 queue), but I want to simulate different tasks and see the results

Re: [Tinyos-help] TOSSIM in TinyOS2.x

2006-12-18 Thread Philip Levis
On Dec 18, 2006, at 12:17 PM, [EMAIL PROTECTED] wrote: Dear Mr. Philip Levis, I'm doing simulation with TOSSIM in TinyOS 2.x. I have a question about variable "receiving" in UseGainInterferenceModelC.nc. The command putOnAirTo calls sim_gain_put() as many as the number

Re: [Tinyos-help] make micaz sim - how to modify make file?

2006-12-18 Thread Philip Levis
On Dec 18, 2006, at 12:33 PM, Louise Avila wrote: Hi, I have gotten similar errors as another poster about undefined references to python libraries when running make micaz sim on Windows/cygwin. I am not sure how to fix the makefile and/or the sim.extra file. I tried to add the path to /lib/

Re: [Tinyos-help] Listen

2006-12-18 Thread Philip Levis
On Dec 18, 2006, at 7:01 PM, ricardo tiago wrote: Hi all, I have setup 2 nodes, with BlinkToRadio and BaseStationCC2420, with id 5 and 400 to test Listen (like in lesson 4). This is what i get in Listen: 00 01 90 90 01 04 00 06 00 05 03 FB From Serial.h this is what i'm seeing (plus the p

Re: [Tinyos-help] Tree Creation Using Motes

2006-12-19 Thread Philip Levis
On Dec 19, 2006, at 4:01 AM, Pablo Gil Montaño wrote: MultiHopRouter in tinyos-1.x/tos/lib/Route and LQIMultiHopRouter in tinyos-1.x/tos/lib/MultiHopLQI build a collection tree. As far as I know, LQIMultiHopRouter works on tmote motes but not in mica. MultiHopRouters works in mica motes. Th

Re: [Tinyos-help] Listen

2006-12-19 Thread Philip Levis
On Dec 18, 2006, at 11:10 PM, Philip Levis wrote: I think it might be a bug in BaseStationCC2420, where it is not correctly copying the source address over. Instead, you're seeing two bytes of the 15.4 packet, which are aligned differently. Rather than this: msg = uartQueue[ua

Re: [Tinyos-help] mig

2006-12-19 Thread Philip Levis
On Dec 19, 2006, at 3:47 PM, ricardo tiago wrote: Hi, i'm having some problems in trying to send two different messages with the same AM type, to PC. I'm using mig to generate the interfaces for both messages. My problem is since both messages have the same AM type, how can i know in the

Re: [Tinyos-help] Installing tinyos-2.x - a few problems

2006-12-19 Thread Philip Levis
On Dec 19, 2006, at 9:00 PM, Mohamed Ahmed wrote: Hi, After I installed tinyos-2.x (http://www.tinyos.net/tinyos-2.x/doc/ html/install-tinyos.html) and run all teh different steps without any erros, I had the following problems: 1. tos-check-env tos-check-env completed with errors: --> WAR

Re: [Tinyos-help] Transporting UserButton to Tinyos-2.x

2006-12-20 Thread Philip Levis
On Dec 20, 2006, at 4:08 AM, migueltsilva wrote: Hello, I need help transporting UserButton from moteiv to T2, I have try with no sucess, can someonde help with this? There's been some discussion in the core WG about how to present Buttons. Gil (author of TEP 114) has concluded that providi

Re: [Tinyos-help] python version

2006-12-20 Thread Philip Levis
On Dec 20, 2006, at 6:39 AM, Krisakorn Rerkrai wrote: Hi, I just got the same problem after upgrading to 2.0.0-3. My fix was referred to Phil's comment. I added one more flag (-shared) in PLATFORM_BUILD_FLAGS like this PLATFORM_BUILD_FLAGS= -fpic -shared -W1,--enabled-auto-image-base Then

Re: [Tinyos-help] make: *** [sim-exe] Error 1

2006-12-20 Thread Philip Levis
On Dec 20, 2006, at 3:31 AM, Βάσω Καρυώτη wrote: I get that: make: *** [sim-exe] Error 1 after I run this: make micaz sim What should I do? You should give more information. :) E.g., what does it print out before that error? Nothing at all? Phil

Re: [Tinyos-help] cannot run tossim in python

2006-12-20 Thread Philip Levis
On Dec 20, 2006, at 12:23 AM, preeti k wrote: Hello, I have compiled the Blink application but an unable to run it. After 'from tinyos.tossim import *' , when i say 't=tossim([])', i get an errot saying 'NameError: tossim not defined' In the tossim lesson i came across some python commands t

<    3   4   5   6   7   8   9   10   11   12   >