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

[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 the reception of GPS packets . The other one shoul

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, w

[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 `ReceiveMsg.receive':TestTempM.n

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

2006-01-18 Thread Michael Schippling
ugh...aside from there being a few errant !'s in the code you sent, the problem seems to be that it has to be in the default (top level) package to work. After getting your simplified Circle.java file to compile, moving it to tools/java/Circle.java, removing the package statement, and javac'ing it

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

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

2006-01-18 Thread Sam Pierson
Last question on the subject: I'm using micaz motes and in tos/platform/micaz/AM.h, TOS_Msg->strength is listed as type uint8_t and in tos/types/AM.h, TOS_Msg->strength is listed as type uint16_t. I found a really good reference for dissecting serial packets here: http://weblog.cs.uiowa.edu/294s

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 insta

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

2006-01-18 Thread Sam Pierson
On 1/18/06, Philip Levis <[EMAIL PROTECTED]> wrote: > On Wed, 2006-01-18 at 15:39 -0600, Sam Pierson wrote: >>When I > > use the java tool ListenRaw, I get things like the following: > > > > 7E 42 FF FF 04 7D 5D 04 22 00 01 00 EA 1E > > 7E 42 FF FF 04 7D 5D 04 23 00 01 00 5E 68 > > 7E 42 FF FF 04 7

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

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

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 insta

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

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 tag in the .java... Like I s

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 e

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 no

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

2006-01-18 Thread Andrea Pacini
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 not triggered. Instead , if the node is doing nothing , the receive event is fired and all woks. Note that the sender se

[Tinyos-help] CC2420 radio control state machine

2006-01-18 Thread Martin Gercke
Hi, I am running into problems using the telosb TOSSIM simulator. I am getting messages like HPL.Fail : transmit from 0 to 1 failed (due to state being STATE_TX_FRAME instead of RX_FRAME) and HPL.Fail : transmit from 1 to 0 failed (due to state being STATE_RX_CALIBRATE instead of RX_FRAME) R

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 bs

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

[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 https:/