Re: [Tinyos-help] Was anybody able to get RadioCountToLeds run on mica2 with tinyos-2.x?

2006-10-15 Thread Philip Levis
On Oct 14, 2006, at 10:59 AM, Manish Kochhal wrote: Dear TinyOS Users, Hi. I am having problems with the radio not transmitting for the RadioCountToLeds application installed on mica2 using tinyos-2.x. I tried to toggle the leds in the sendDone as well as in the receive event, but the LED

Re: [Tinyos-help] Payload length: 28 or 29?

2006-10-15 Thread Joe Polastre
GCC will do one of two things: (1) pad (2) insert a uint8_t in the byte of extra space Also note that the msp430 cannot write a word on non-word boundaries (ie, odd addresses). Back to the original question--it is 28 bytes on the CC2420 so that (1) space isn't wasted on 16-bit platforms and (2)

[Tinyos-help] Tinyos-help Digest

2006-10-15 Thread Nguyen Duc Thang
Spam detection software, running on the system "mail.Millennium.Berkeley.EDU", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator

[Tinyos-help] Sankar has Tagged you! :)

2006-10-15 Thread Sankar
Title: Time for Tagged Sankar D, 22 Sankar has added you as a friend on Tagged. Is Sankar your friend?   Please respond or Sankar will think you said no :( Click here t

Re: [Tinyos-help] Receiving Delta Messages

2006-10-15 Thread KANG HUI
>From the code in MultihopDataM.nc, we can note that this component does provide DataM.receiveMsg to handle unicast particular message. It is implemented in Line 399 in MultiHopDataM.nc. Hui On Sun, 15 Oct 2006, Tim Spargo wrote: > Hi, > > I am using Tmote sky mote with Delta application (which

[Tinyos-help] Receiving Delta Messages

2006-10-15 Thread Tim Spargo
Hi, I am using Tmote sky mote with Delta application (which uses Multihop). Could someone please point me to a basic Application/code snippet which receives messages? Please include any event handler code. I would like to send messages from the base stn. to a paricular mode in the Network. >From

Re: [Tinyos-help] how to get gdb to work

2006-10-15 Thread Omprakash Gnawali
The correct symbol name is LedsM$Leds$redOff not LedsC... If gdb complains saying it can not find a symbol, you should open build/pc/app.c for your application and try to find the right name for the symbol on which you want to set a breakpoint. - om_p -- I wish I could help but I never rea

Re: [Tinyos-help] How to enable auto ACK in MicaZ - tinyos-2.x

2006-10-15 Thread Tie Luo
PacketAckknowledgements.requestAck (msg) On 10/16/06, LE KHAC HIEU <[EMAIL PROTECTED]> wrote: Hi,I want to enable automatic ACK in MicaZ with tinyos-2.x. Could someoneplease give me a hint. Thanks,-Hieu___Tinyos-help mailing listTinyos-help@Millennium.Ber

[Tinyos-help] How to enable auto ACK in MicaZ - tinyos-2.x

2006-10-15 Thread LE KHAC HIEU
Hi, I want to enable automatic ACK in MicaZ with tinyos-2.x. Could someone please give me a hint. Thanks, -Hieu ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to enable ACK in MicaZ - tinyos-2.x

2006-10-15 Thread LE KHAC HIEU
Hi,I want to enable automatic ACK in MicaZ with tinyos-2.x. Could someone please give me a hint.Thanks,-Hieu ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Read from Flash of running mote

2006-10-15 Thread Michael Schippling
uh...what? The program _is_ reading values from RAM/ROM... Perhaps you mean using some kind of in-circuit debugger? If so look for "JTAG". There's a connector for it on the MIBs and I saw some advice for hardware on this list many moons ago. MS Sumit Gupta wrote: Hi, I am wondering if its pos

[Tinyos-help] Read from Flash of running mote

2006-10-15 Thread Sumit Gupta
Hi, I am wondering if its possible to read the values of variables from the RAM/ROM of a mote which is active (i.e. running the application). If so, then how can we access it and read the variables from its binary? Please advice. I am using telosb and t-mote sky motes. Regards, Sumit __

Re: [Tinyos-help] how to get gdb to work

2006-10-15 Thread Michael Schippling
I wish I could help but I never really learned to use a debuggerer due to multi-platform-embeded-whatever vagaries...plus they always crash when I finally get to the iteration of the thread I want... but try: man gdb in the bash shell and see if it helps with the basics. MS Abu Amprayil wrote:

Re: [Tinyos-help] Payload length: 28 or 29?

2006-10-15 Thread Michael Schippling
The common compiler technique is to silently pad fields to the natural boundary, so probably the MPS gcc will stick a pad after a single byte to even things out. I believe there are some compiler directives in TOS to control the padding, but I've only used the micas so I haven't payed any attentio

Re: [Tinyos-help] Payload length: 28 or 29?

2006-10-15 Thread Jay Taneja
I know that the Telos/Tmote implementations generally use 28 byte payloads because the 16-bit micro has some difficulties dealing with odd bytelength fields. The Mica family, on the other hand, has 8-bit micros. I am not quite sure of how exactly the MSP430 handles odd bytelength fields - it may j

[Tinyos-help] how to get gdb to work

2006-10-15 Thread Abu Amprayil
I don't get GDB to work... >From Tut5, while in the CntToLedsAndRfm directory I try the following...  gdb build/pc/main.exe  // start gdb (gdb) break *LedsC$Leds$redOff And the response I get is... ' No symbol "LedsC$Leds$redOff" in current context ' Please help... i can't seem to get it t

Re: [Tinyos-help] Payload length: 28 or 29?

2006-10-15 Thread Michael Schippling
Ah, sorry, I should have said in tos 1.x it's 29. I wasn't aware that it appears to be all different in v2. The main caviets are that longer messages have a higher probability of getting a bit error which kills the whole thing, and shorter messages have more header overhead. Finding the right bal

[Tinyos-help] Re: 6. TOSSIM not working for TinyOS2.x (Sai Krishna M)

2006-10-15 Thread Cormac Duffy
;>collect2: ld returned 1 exit status >>make: *** [sim-exe] Error 1 >>Anybody has ideas why?? >> >>Also, does TOSSIM only has simulations of micaz components? What  about other platforms? Pls let me know.. >> >>Th

Re: [Tinyos-help] TOSSIM not working for TinyOS 2.x

2006-10-15 Thread Chad Metcalf
The linker can't find your python library. You'll need to add -lpython and potentially a -L/where/ever/your/python/library/is My setup would look something like -lpython2.4 -L/usr/lib/Chad On 15 Oct 2006 08:03:06 -, Sai Krishna M <[EMAIL PROTECTED]> wrote:   I'm trying to compile Blink to TO

[Tinyos-help] Re: Re: 6. TOSSIM not working for TinyOS2.x (Sai Krishna M)

2006-10-15 Thread Sai Krishna M
at  about other platforms? Pls let me know.. >> >>Thanks.. >>-- next part -- >>An HTML attachment was scrubbed... >>URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/ attachments/20061015/665684ca/attachment-0001.html >> > >

[Tinyos-help] MicroTimer

2006-10-15 Thread Omar E Marcillo Lara
Hi All, Is there a version of MicroTimer running on tmote or telosb? Regards O ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] ImportError: No module named tinyos.message.Message

2006-10-15 Thread Manish M. Kochhal
Dear TinyOS users, Hi. I am having problems running the packets.py script for RadioCountToLeds mentioned in the TOSSIM tutorial for tinyos-2.x The RadioCountMsg.java generated by the migs is already available in compiled form. Also, the source file extends net.tinyos.message.Message ... So, I h

[Tinyos-help] TinySec

2006-10-15 Thread maxwelr
To whom it may concern I was tring out TinySec on tmote sky and telosa platforms but I have been receiving alot of errors. My question is is this only ported to Mica platforms or is there a version that works with moteiv's platforms? thanks in advance Rodge Maxwell ___

[Tinyos-help] Has SurgeView some more features than MoteView

2006-10-15 Thread hippo
Hi,May I know if there is any changes since May 2005? As in does moteview shows network statistics now?Thanks Wei-Original Message- mbaleri at xbow.com mbaleri at xbow.com Fri May 13 08:14:33 PDT 2005Previous message: [Tinyos-help] Tossim broadcast beahviour Next message:

[Tinyos-help] including sim directories in make path

2006-10-15 Thread Cormac Duffy
Hi I was wondering if it possible to edit a .target/.extra or similar file to get ncc to search appDir e.g.(blinkk)/sim directory for tossim specific compenents.I know that it does this in the micaz platform directory, but i have no idea what is telling tossim to search sim specific directorys.if a

[Tinyos-help] Re: 6. TOSSIM not working for TinyOS2.x (Sai Krishna M)

2006-10-15 Thread Cormac Duffy
n HTML attachment was scrubbed...URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061015/665684ca/attachment-0001.html ___Cormac Duffy M.Sc B.ScComputer Science Dept.University College CorkCollege rd.CorkIrelandemail:             [EMAIL

[Tinyos-help] Help on Tython

2006-10-15 Thread tathagata dasgupta
Hello everybody,I have installed tinyos-1.1.0 in Windows Xp. My explorations are limited to simulations only, and the wonderful organization of the software along with the neat documentation is really helpful for self-study. Thanks guys! I  am trying to get Tython working, but the problem is when I

[Tinyos-help] calculate enery consumption on real motes

2006-10-15 Thread Tie Luo
I did find "How to calculating energy consumption in TOSSIM" in mail archive, but I want to calculate energy consumption on real motes. I also found there was a similar question in archive, but the answer is too general. Could anyone tell the pariticular interfaces and componets?  Many thanks.-- Re

Re: [Tinyos-help] integer division

2006-10-15 Thread KANG HUI
Zero. Hui On Sun, 15 Oct 2006, Tie Luo wrote: > how does Tinyos process integer division? Specifically, > > uint_16_t result = 3 / 5 * 5; > then is result 3 or 0? > > -- > Regards, > Tie > ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.E

[Tinyos-help] integer division

2006-10-15 Thread Tie Luo
how does Tinyos process integer division? Specifically,   uint_16_t result = 3 / 5 * 5; then is result 3 or 0?-- Regards,Tie ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/ti

[Tinyos-help] TOSSIM not working for TinyOS 2.x

2006-10-15 Thread Sai Krishna M
  I'm trying to compile Blink to TOSSIm on 2.x, but the compilation is not going through. Message -- cxx:3424: undefined reference to `_PyModule_GetDict' collect2: ld returned 1 exit status make: *** [sim-exe] Error 1 Anybody has ideas why?? Also, does TOSSIM only has simulations of micaz comp