[Tinyos-help] make pc compilation error

2006-05-31 Thread jose m
Hello, I'm working with mica2 motes, using CC1000ControlM, and changing the baud rate of serial port. When I compile this code for simulation, CC1000ControlM and the constans applied to instruction 'outp' are considered compilation errors. Is really cumbersome disable and enable those lines, for

[Tinyos-help] SurgeMsg and MultijopMsg

2006-05-31 Thread bhushan bhatt
Hi all, When i run SurgeTelos, i notice that when data reaches base station, the format of the message is that of MultiHopMsg. MultiHopMsg is wired too in the configuration file but i am not able to understand how SurgeTelos uses multihopmsg to send data. I mean there is nothing in the program

Re: [Tinyos-help] errors in tinyos-2.x/support/sdk/c

2006-05-31 Thread Razvan Musaloiu-E.
Hi! The errors from ./Bootstrap were caused by and old automake (1.4) that was laying around in my system. Using the 1.9 solved the problem. Using the latest CVS version of nesc also solved the compilation problem from sdk/c. :-) -- Razvan ME On Tue, 30 May 2006, Razvan Musaloiu-E. wrote: Hi!

Re: [Tinyos-help] tinyos help

2006-05-31 Thread Michael Schippling
You can turn the ACKs ON by using: [yourProgram].MacControl - CC1000RadioIntM; // in the config file call MacControl.enableAck(); // after Comm.init(); This will automagically switch the packet type ID and attempt to do ACKs. I doubt that this will help your problem, if you

Re: [Tinyos-help] print problem

2006-05-31 Thread Michael Schippling
Yes, DBG is only good for simulation since there is no way for a mote to access any devices on the PC directly. For in-system debugging you can format a message to send to the PC, look into the JTAG debug interface (search this list for some pointers), or flash LEDs and try to make sense of them

[Tinyos-help] TOSSIM: speed up simulation

2006-05-31 Thread Andreas Nettsträter
Hi all, I'm working with TinyOS, TOSSIM and TinyViz under WinXP/Cygwin. I've written some code for the motes and wanted to test the code in the simulator with more than ten motes. The code is yet not very complex and only a few lines long. My problem now is, that the simulator runs very slow and

[Tinyos-help] maximum size of identifier

2006-05-31 Thread vkirankr
hi, I have a naive doubt about the maximum size of identifier in nesC. Thanks in advance, kiran. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] print problem

2006-05-31 Thread Lin Gu
Another option is to use VDB, a debugging utility for TinyOS. It is wiring-free so what one needs to do is to simply #include a file (vdbavr.inc) in your nesC code (in the implementation part) and then use the 'print' function to output messages to PC through UART. More documentation is here

Re: [Tinyos-help] memory allocated for boolean variable

2006-05-31 Thread Michael Schippling
It's defined in system/tos.h: typedef unsigned char bool; Are you sure that Java guarantees a single byte boolean? MS [EMAIL PROTECTED] wrote: hi, In Java language for boolean variable one byte is allocated. In nesC whether one byte or one bit is allocated for boolean variable? Thanks in

Re: [Tinyos-help] using flash in tinyos-2.x

2006-05-31 Thread David Gay
On 5/30/06, Manju [EMAIL PROTECTED] wrote: I am working on tinyos-2_0_devel-BRANCH and telosb motes. I was trying to read and write from the STM25P80 flash on telosb motes. However, I realized that most of the interfaces as defined TEP103 has not been implemented (or even specified in

[Tinyos-help] Telos B Motes and RSSI

2006-05-31 Thread Paul David Kavan
Hello all:I am working on a simple system of Telos B Motes to do some distance ranging experiments. I realize that this subject has been beat dead on this board, but I am stuck and would appreciate any insight.I have several motes programmed with CntToRfm. No problems there. I can install TOSBase

Re: [Tinyos-help] Telos B Motes and RSSI

2006-05-31 Thread Michael Schippling
This is putting the RSSI in the 20th byte of the the TOS_Msg.data field, but probably the CntToRfm message says that the significant data (TOS_Msg.length) is much shorter...I forget, 4 or 6 bytes... so your client is just displaying the N significant bytes. You should be able to verify this with

Re: [Tinyos-help] Telos B Motes and RSSI

2006-05-31 Thread Michael Schippling
This mod puts the strength in the 20th byte of the the TOS_Msg.data field, but probably the CntToRfm message says that the significant data (TOS_Msg.length) is much shorter...I forget, 4 or 6 bytes... so your client is just displaying the N significant bytes. You should be able to verify this