[Tinyos-help] warning when compiling

2008-05-06 Thread Nahr ...
Hi, Please I want to know the meaning of this warnings and if they infect the execution of the application. nesc1: warning: calls to RootControl.isRoot in EasyCollectionC fan out, but there is no combine function specified for the return type nesc1: warning: calls to Receive.receive in

Re: [Tinyos-help] Uart Radio TelosB

2008-05-06 Thread Roman Lim
olly yuen wrote: Hi all, I am a college student working on a design project, I am currently trying to modify the Blink program such that upon receiving radio packets, I will write data to the UART0 pins. I have a few questions because my code doesn't seem to be working right: I am

Re: [Tinyos-help] warning when compiling

2008-05-06 Thread Ittipong Khemapech
This kind of warnings are well described in Chapter 5 of the TinyOS Programming Manual. Ittipong 2008/5/6 Nahr ... [EMAIL PROTECTED]: Hi, Please I want to know the meaning of this warnings and if they infect the execution of the application. nesc1: warning: calls to RootControl.isRoot in

[Tinyos-help] send message is not equilibrate

2008-05-06 Thread Nahr ...
Hi, My network is formed with 9 nodes (node number 1 is the root) the booting time of each node is defined like this: t.getNode(1).bootAtTime(11); t.getNode(2).bootAtTime(88); t.getNode(3).bootAtTime(109); t.getNode(4).bootAtTime(1110009); t.getNode(5).bootAtTime(1220009);

[Tinyos-help] nesc syntax hilighting for // in kwrite

2008-05-06 Thread David
Hi list. I've got nesc syntax hilighting working in kwrite by copying /usr/share/ncc/editor-modes/kde/nesc.xml to ~/.kde/share/apps/katepart/syntax/ This works great. But it looks like nesc.xml isn't setup to recognise comments starting with //. Comments in the /* */ style work fine however.

[Tinyos-help] Tmote Sky Software CD

2008-05-06 Thread Mido Wakil
Dear All, I'm having a tmote sky box with 8 tmotes but no CD. How can I get the software that was available on that CD? Moteiv is no longer in business! Regards. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] question aout the TOSBootM

2008-05-06 Thread jiwen zhang
Hello all : Recently , i an researching the deluge, and find a problem in TOSBootM. In the function programImage(ex_flash_addr_t startAddr) , there is a sentence #if defined(PLATFORM_TELOSB) if (intAddr != TOSBOOT_END) { #elif defined(PLATFORM_MICAZ) || defined(PLATFORM_IRIS) if

Re: [Tinyos-help] Tmote Sky Software CD

2008-05-06 Thread Urs Hunkeler
Hi, http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-November/029066.html Basically, the tmote skys are now supported out-of-the-box by TinyOS. Cheers, Urs Mido Wakil wrote: Dear All, I'm having a tmote sky box with 8 tmotes but no CD. How can I get the software that was

Re: [Tinyos-help] Problem with xmeshbase

2008-05-06 Thread Giri Baleri
Your compile output looks good (assuming that you have 433 MHz version of MICA2). Could you also send me the output from your install/reinstall command? Also, please make sure that the SW2 switch on the MIB510 is set to OFF position before trying to read data using XServe/MoteView. Giri

Re: [Tinyos-help] Problem about duplicate receiving / my ideal for improvement

2008-05-06 Thread laizhiquan
Hi om_p, Thank you for your reply! I have an ideal to improve the ack mechanism to avoid duplicate reception. As you know, the CTP protocol will build up a routing tree, so during a certain period, we can suppose that the tree is stable. In other words, we can suppose that the path

[Tinyos-help] error when compile sdk/java

2008-05-06 Thread 贾鹏
Hi there, when I compile the /opt/tinyos-2.x/support/sdk/java, one file seems cannot compile. make[3]: Entering directory `/opt/tinyos-2.x/support/sdk/j ... /opt/tinyos-2.x/support/sdk/java/net/tinyos/tools javac Listen.java javac ListenRaw.java javac MsgReader.java javac PrintfClient.java

Re: [Tinyos-help] Problem about duplicate receiving / my ideal for improvement

2008-05-06 Thread Philip Levis
On May 6, 2008, at 8:37 AM, [EMAIL PROTECTED] wrote: Hi om_p, Thank you for your reply! I have an ideal to improve the ack mechanism to avoid duplicate reception. As you know, the CTP protocol will build up a routing tree, so during a certain period, we can suppose that the

Re: [Tinyos-help] ADC

2008-05-06 Thread Eric Keller
It looks like you are using tinyos-1.x. I never really tracked down the adc calls for multiple channels on tinyos-1.x. If you were using tinyos-2.x, the best thing to do is use the Msp430Adc12MultiChannel component. It gives you the readings for all the channels at the same time. This is

Re: [Tinyos-help] Purpose of TOSBase interfaces

2008-05-06 Thread Michael Schippling
Search for UARTSend and RadioSend in your TOSBaseM.nc file, I find them used in the RadioRcvdTask() and UARTRcvdTask() methods. The UARTTokenReceive thing is a bit mysterious, but it looks like it is used to send an ACK to the UART after the message has been forwarded over the radio. MS ram

[Tinyos-help] adjustLQI function

2008-05-06 Thread funofnet Funofnet
Hi, Please, What is the meaning of this function:   uint16_t adjustLQI(uint8_t val) {     uint16_t result = (80 - (val - 50));     result = (((result * result) 3) * result) 3;  ( simply [(result)^3]/64 )     return result;   } Thanks in advance. Funofnet

Re: [Tinyos-help] adjustLQI function

2008-05-06 Thread renjie huang
It is just a mapping from LQI to one-hop cost. There is no theory basis for it. On 5/6/08, funofnet Funofnet [EMAIL PROTECTED] wrote: Hi, Please, What is the meaning of this function: uint16_t adjustLQI(uint8_t val) { uint16_t result = (80 - (val - 50)); result = (((result *

[Tinyos-help] who sends ack

2008-05-06 Thread Nahr ...
Hi, I whould like to know please, who sends ack? The root of the tree or the parent of the node I mean the forwarding node? Thank you very much. All the bests, Nahr Elk ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] question aout the TOSBootM

2008-05-06 Thread Razvan Musaloiu-E.
Hi! On Tue, 6 May 2008, jiwen zhang wrote: Hello all : Recently , i an researching the deluge, and find a problem in TOSBootM. In the function programImage(ex_flash_addr_t startAddr) , there is a sentence #if defined(PLATFORM_TELOSB) if (intAddr != TOSBOOT_END) { #elif

[Tinyos-help] redefining AM.h

2008-05-06 Thread Jack Travis
Hi, I am creating a new platform, and I need to change the types in AM.h I guess directly changing the types in AM.h would not be clean, how can I override it so that my fooAM.h be included before AM.h? the directory is already included in my .platform but it does not work. Thanks

[Tinyos-help] truble with tos-install-jni

2008-05-06 Thread 贾鹏
Hi there, When I install using tos-install-jni in the cygwin it print: Installing 32-bit Java JNI code in /cygdrive/c/Java/j2sdk1.5.0/jre/bin ... install: cannot stat `/usr/lib/tinyos/*-32.dll': No such file or directory I searched the tinyos-help-archive their methods seem do not work for

Re: [Tinyos-help] GDB - Debugging Mica2Dot/Mica2

2008-05-06 Thread Aurélien Francillon
Edgar Charry a écrit : Hi all, I am trying to debug my nesC codes using GDB (for TinyOS1.x using Mica2Dot and Mica2). Bunch of naive questions, so I think you know this for sure: 1) avr-gdb and gdb are used for .exe (srec?) symbols reading. For the Mica2Dot ATMega128L do I

Re: [Tinyos-help] truble with tos-install-jni

2008-05-06 Thread Varun Jain
Hi, I had the same problem, you need to see if in tos/lib/tinyos there should be a toscomm-32.dll and an getenv.dll file. If they are there, then it should be alright, otherwise try renaming ‘toscomm’ file to ‘toscomm-32.dll’ Otherwise try following the tutorial at

Re: [Tinyos-help] question aout the TOSBootM

2008-05-06 Thread jiwen zhang
Hello : thank you very much for your reply, Razvan ME. i have found it . 2008/5/7, Razvan Musaloiu-E. [EMAIL PROTECTED]: Hi! On Tue, 6 May 2008, jiwen zhang wrote: Hello all : Recently , i an researching the deluge, and find a problem in TOSBootM. In the function

Re: [Tinyos-help] GDB - Debugging Mica2Dot/Mica2

2008-05-06 Thread jiwen zhang
Hello : i am trying debugging the nesc code. the version of avarice i am using is 2.4. i find a problem that some times i can connect but sometimes not when i use the same setting , and also i can't see the C source , only see assembler code(tinyos1.15) . (i am using jtagICE mkii ) after

Re: [Tinyos-help] who sends ack

2008-05-06 Thread Omprakash Gnawali
On Tue, May 6, 2008 at 11:20 AM, Nahr ... [EMAIL PROTECTED] wrote: Hi, I whould like to know please, who sends ack? The root of the tree or the parent of the node I mean the forwarding node? If you are talking about link layer acks, when a receiver receives a packet, it sends an ack to the

[Tinyos-help] GPSR for TinyOS-2.x

2008-05-06 Thread Matt Keally
Hi, Is anyone aware of a GPSR implementation for TinyOS-2.x? One of the projects on the TinyOS Contributed Code wiki mentions a GPSR implementation, but there is no code in the source tree. If not, are there any straightforward/simple implementations in TinyOS 1.x that could be easily

Re: [Tinyos-help] GPSR for TinyOS-2.x

2008-05-06 Thread Kevin Klues
I would suggest contacting the person listed as a contact for the projet in contrib and ask them why they haven't populated the repository with their code yet. Kevin On Tue, May 6, 2008 at 8:14 PM, Matt Keally [EMAIL PROTECTED] wrote: Hi, Is anyone aware of a GPSR implementation for