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

2006-10-15 Thread Tie Luo
/opt/tinyos-2.x/tos/types/message.h:7:#define TOSH_DATA_LENGTH 28/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:70:#define TOSH_DATA_LENGTH 28/opt/tinyos-2.x/tos/chips/xe1205/XE1205.h:102:#define TOSH_DATA_LENGTH 28 I did not find anywhere defining it to be 29. p.s. If anyone point out the caveats of

[Tinyos-help] make with a macro definition

2006-10-15 Thread Tie Luo
I searched for this problem but did not find the answer. I want to build a program with defining a macro. Generally, make -Dmacro will work for cc,gcc,CC etc. compilers, but on TInyOS, make -Dmacro platformdoes not work. How to do this job? Thanks. -- Regards,Tie

[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

[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 result3 or 0?-- Regards,Tie ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

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.EDU

[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, butI 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.--

[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] Re: 6. TOSSIM not working for TinyOS2.x (Sai Krishna M)

2006-10-15 Thread Cormac Duffy
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 PROTECTED]web:        

[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

[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] 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

[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] Re: Re: 6. TOSSIM not working for TinyOS2.x (Sai Krishna M)

2006-10-15 Thread Sai Krishna M
TOSSIM only has simulations of micaz components? What 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

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

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

2006-10-15 Thread Cormac Duffy
et 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 ___ Cormac Duffy M.Sc B.Sc C

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

[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 to

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

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

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

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

[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

[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

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

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

[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] 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] 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

[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