[Tinyos-help] how to let a mote predict how much battery power left?

2006-01-18 Thread Bright Xu
By using TinyOS component VoltageM.nc, A mote can read value of battery voltage. But how to gain value of current? how to let a mote predict how much battery power left? Thanks. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] cutdown power consumption

2006-01-18 Thread fiasco
Hi all, I am developing a small application. The mote does not take any action until it recevies a command message. Thus the mote radio should be in a Listening state. To cutdown the power consumption, I have - called HPLPowerManagementM.Enable(); - turned all Leds off, or used NoLeds

Re: [Tinyos-help] Error loading data to telosb mote

2006-01-18 Thread Pere Salvatella (P-teljpa) EXP JUL 05
That problem with mass erase command it's not important for me, cause I will update all that information on each mote install. My problem consists in that I'm not able to program that part, and as far as I now it's possible to do it with normal telosb install. when I do $make telosb install

Re: [Tinyos-help] Receiving messages during execution on Tmote Sky

2006-01-18 Thread Michael Schippling
you didn't put the for loop in an atomic{} block did you? That would shut off interrupts... MS Andrea Pacini wrote: I am using Tmote Sky motes and I noticed that , when a node is doing something (e.g. when it is doing a for cycle) it can't receive message, that is Receive.receive() event is

Re: [Tinyos-help] Help on running TINYVIZ

2006-01-18 Thread Ixent Galpin
Are you running the latest CVS snapshot? I am running the latest CVS snapshot, and am get exactly the same error as you. It was ok before I upgraded from the stable version. Preethi Naveen wrote: hi, i have tried to run tinyviz as given in chapter 5 of tutorial. I am getting the following

Re: [Tinyos-help] Problem with Implementing GUI for Listen Programme

2006-01-18 Thread Michael Schippling
alright then. Your CLASSPATH does contain both . and tools/java so that should be ok. I think you are having package naming problems, but I don't get how Circle (wrong name: net/tinyos/oscope/Circle) comes up with oscope... Coulda fooled me that you can embed the applet tag in the .java... Like

[Tinyos-help] Yet Another Signal Strength Question [over micaz]

2006-01-18 Thread Sam Pierson
Hi everyone, I dug through the mailing list archives looking for some info on the received signal strength of incoming packets. I have one mote that transmits messages of type IntMsg over the radio. The other mote has TOSBase installed on it and is on the programming board, which is then

Re: [Tinyos-help] Yet Another Signal Strength Question [over micaz]

2006-01-18 Thread Philip Levis
On Wed, 2006-01-18 at 15:39 -0600, Sam Pierson wrote: Hi everyone, I dug through the mailing list archives looking for some info on the received signal strength of incoming packets. I have one mote that transmits messages of type IntMsg over the radio. The other mote has TOSBase installed

Re: [Tinyos-help] Yet Another Signal Strength Question [over micaz]

2006-01-18 Thread Philip Levis
On Wed, 2006-01-18 at 15:39 -0600, Sam Pierson wrote: Hi everyone, I dug through the mailing list archives looking for some info on the received signal strength of incoming packets. I have one mote that transmits messages of type IntMsg over the radio. The other mote has TOSBase installed

[Tinyos-help] about Surge_Reliable in XBow apps to be run on TinyOS v1.1.15

2006-01-18 Thread Ivan Wing Mau Cheung
Hi, I have been trying out Surge_Reliable in XBow apps (http://www.xbow.com/Support/Support_pdf_files/Crossbow.tgz) in TinyOS v1.1.7. It compiles and works fine. However, when i upgraded TinyOS to v1.1.15, i found that the codes of Surge_Reliable would send the same identical packets many times

Re: [Tinyos-help] Receiving messages during execution on Tmote Sky

2006-01-18 Thread Cory Sharp
Tasks execute first-come first-serve, and each task executes to completion before the next task can begin. Execute to completion means that your task routine must return / exit. Long running and non-terminating tasks block all other tasks from executing. Receive.receive is signaled from within

Re: [Tinyos-help] Yet Another Signal Strength Question [over micaz]

2006-01-18 Thread Philip Levis
On Wed, 2006-01-18 at 15:39 -0600, Sam Pierson wrote: Hi everyone, I dug through the mailing list archives looking for some info on the received signal strength of incoming packets. I have one mote that transmits messages of type IntMsg over the radio. The other mote has TOSBase installed

Re: [Tinyos-help] Micaz UART message length problem

2006-01-18 Thread Sam Pierson
Out of curiousity, this is related to a problem I had today... are these rewritten packets changed as far as received signal strength goes? As I said in a previous email, the micaz AM.h file declares TOS_Msg-strength as uint8_t and regular AM.h is uint16_t. Now my micaz messages being forwarded

[Tinyos-help] how to slove the aggregation part ?

2006-01-18 Thread Xing Jin
Hi , I am a beginner in this field. When I complied my code, it says that TestTempM.nc:82: warning: passing argument 1 of `Send.send' makes pointer from integer without a castTestTempM.nc:82: too many arguments to function `Send.send'TestTempM.nc: In function

Re: [Tinyos-help] how to slove the aggregation part ?

2006-01-18 Thread Michael Schippling
Probably you need to (re)view some C programming fundamentals, the makes pointer from integer thing sounds like you are trying to pass a value where an address is required. If that doesn't make any sense, then you DO need to read a C book. Try the old famous Kernigan and Ritchie... Otherwise,

[Tinyos-help] Re: Tinyos-help Digest, Vol 33, Issue 40

2006-01-18 Thread lakshmi nair
hello everybody !! I wanted to know how to use two UARTs simultaneously. I'm currently working in a project ' DATA TRANSMISSION RECEPTION VIA GPRS IN TINYOS ENVIRONMENT ' . Platform used is MSP430F1611. One UART is to be used for thereception of GPS packets . The other one should be

[Tinyos-help] CC2420 RAM on telosb

2006-01-18 Thread Matt Thompson
Hi, I am working on CC2420 encryption on a tmote sky, and I am having issues writing to the chipcon RAM. To test the RAM, I have added wrappers in the CC2420Control interface that call HPLChipconRAM.write/read. I have included CC2420RadioC in an application, and wired an interface called