[Tinyos-help] IDE for TinyOS/nesC

2006-03-01 Thread Roland Schuler
Hey all, The TinyOS Plugin for Eclipse is an IDE for TinyOS 1.1x and aims to provide a useful set of tools and functions to simplify programming with TinyOS. Besides providing syntax coloring and displaying an outline of the file being edited there are also many more features like compilation with

[Tinyos-help] SerialForwarder

2006-03-01 Thread MANJUNATH
Dear All, I am not able read packets from SerialForwarder by using my own simple TCP client, I guess problem could be with the protocol between client and the server. Does anyone aware of the protocol, if so please let me know. I am very bad at parsing ja

Re: [Tinyos-help] SerialForwarder

2006-03-01 Thread Krisakorn Rerkrai
Hi, You can find serial forwarder written in C in tools/src/sf/. Krisakorn On 3/1/06, MANJUNATH <[EMAIL PROTECTED]> wrote: > > > Dear All, > > I am not able read packets from SerialForwarder by using my own > simple TCP client, I guess problem could be with the protocol >

[Tinyos-help] TOSBase with Delug

2006-03-01 Thread Holger Marquardt
Hello, me again ;) I've managed to get Deluge working with a TOSBase node, but I'm having ultra high packet losses. Each page (more specific: several packets of each page) has to be retransmitted for about 15 - 20 times. To inject Blink it takes 18 minutes!!! Is this normal?? Power supply is s

[Tinyos-help] Raw data from serial port

2006-03-01 Thread Colin Couper
Hi I'm trying to assign each of the modules that I am using a unique ID so that when the data comes in from the serial port I can tell which of them it is. I have tried doing what it says in the tutorial but this does not seem to work as when I examine the data, the group ID value is consantly chan

[Tinyos-help] how to write data into flash in mica2

2006-03-01 Thread Zhengsu Gao
Hi, all:    I am new to tinyos. Can anybody tell me how to store data into mica2 flash? Any help is appreciated. Zhengsu___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tiny

[Tinyos-help] TinyDBApp does not work for Telosb

2006-03-01 Thread Chang Li
I tried to "make telosb" in the apps/TinyDBApps but there was an error and compiler was terminated. The "make pc" and "make mica2" worked fine. TinyOS version is 1.1.15     ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail

Re: [Tinyos-help] how to write data into flash in mica2

2006-03-01 Thread Vinayak Naik
Here is a primitive way to write a flash in terms of pages.http://www.cse.ohio-state.edu/~naik/programming/testing_pageEEPROM.htm - VinayakOn 3/1/06, Zhengsu Gao <[EMAIL PROTECTED]> wrote: Hi, all:    I am new to tinyos. Can anybody tell me how to store data into mica2 flash? Any help is apprec

[Tinyos-help] reading the value of a register

2006-03-01 Thread serbaumo
Hi. i have one doubt. I want to read the rssi value so i'm oding this to get the first 8 bits that are the one i'm interested in: uint16_t data; data = call HPLChipcon.read(CC2420_RSSI); data= (data & 0xFF ); the doubt i have is that now i want to know if each bit

Re: [Tinyos-help] tinyos1.x or tinyos2.x?

2006-03-01 Thread Sankar Gorthi
I guess I do. My bad :) Though, sub-conciously, I did think that the multihop routing technique we were implementing on our platforms was insufficent and inefficent for our particular application. But that was because of a lack of knowledge. So I guess I should have said that I have a quest

Re: [Tinyos-help] Raw data from serial port

2006-03-01 Thread Michael Schippling
That command should assign to the moteID. The groupID is usually set in the makefile. They are two different things. If either of them are changing from message to message you may be parsing the messages wrong. If the tmote uses tos/types/AM.h as its TOS_Msg header on the host side then the grou

Re: [Tinyos-help] IDE for TinyOS/nesC

2006-03-01 Thread Sharmistha Maitra
Hello, I saw the video on IDE. The IDE is really very helpful and the video shows that. I have used TinyOS in cygwin beforte, but would like to install IDE now. However, I see it wants JRE 1.5.  I already have a JRE 1_4_10. Is it going to work ? If I have both 1.5 and 1_4_10 (since I want 1_4_10

[Tinyos-help] Longer messages

2006-03-01 Thread jose m
I want to send and receive longer messages throught SendMsg and ReceiveMsg interface. Can I mess with the TOS_Msg struct, making the data array longer? There is any problem with that? thanks José ___ 1GB

Re: [Tinyos-help] Longer messages

2006-03-01 Thread Sankar Gorthi
http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson4.html On Wed, 01 Mar 2006 14:48:56 -0600, jose m <[EMAIL PROTECTED]> wrote: I want to send and receive longer messages throught SendMsg and ReceiveMsg interface. Can I mess with the TOS_Msg struct, making the data array longer? There is an

[Tinyos-help] signed/unsigned packet byte

2006-03-01 Thread davisj2
Hey all, In trying to decipher the TOS packet via "java net.tinyos.tools.Listen" using the XSensorMTS400 application, I have run into a problem. When converting the packet data, they are in type byte, and I need these in floats to do the conversions, and for some i need to concat two bytes, How

Re: [Tinyos-help] signed/unsigned packet byte

2006-03-01 Thread Gregory A. Moore
Josh, The Listen application returns the packets in signed bytes. Since Java does not have an unsigned type, you will have to crete the conversion methods yourself. They are not hard and shouldn't take that much time. You will have to convert from signed byte to Hex and then probably back to

[Tinyos-help] AM.h for tmote

2006-03-01 Thread DeLynn Bettencourt
Is the AM.h for the tmote in tos/types, or is there another AM.h file that takes precedence (as is the case with Telos Rev. A)?   Thanks!   DeLynn Bettencourt ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.ber

Re: [Tinyos-help] AM.h for tmote

2006-03-01 Thread Matthew J Whelan
The AM.h that is found in tos/platform/telos is the one that is used for the Tmotes. Matt[EMAIL PROTECTED] wrote: -To: tinyos-help@Millennium.Berkeley.EDUFrom: "DeLynn Bettencourt" <[EMAIL PROTECTED]>Sent by: [EMAIL PROTECTED]Date: 03/01/2006 06:43PMSubject: [Tinyos-help] AM.h for tmoteIs the A

[Tinyos-help]_radiao range

2006-03-01 Thread erman ayday
Hi,   I am trying to change the radio range of my MicaZ mote.   I have tried to change the "call Pot.init(10);" line in order to change the value of the pot to "99" (since I need a very small transmission range about 1 foot) but it seem not working. So is this the way to go? or should I execute mo

[Tinyos-help] Multiple calls to radio

2006-03-01 Thread upperman
We currently have a command in our main module that makes multiple calls to the SendMsg.send() command via another module. These calls are on consecutive lines like so: call RadioOut.output(value, 0x0002); call RadioOut.output(value, 0x0003); ..where RadioOut is the interface that connects us

Re: [Tinyos-help] Multiple calls to radio

2006-03-01 Thread Vinayak Naik
You would need to wait until you receive a SendDone event.- VinayakOn 3/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: We currently have a command in our main module that makes multiple calls tothe SendMsg.send() command via another module.  These calls are onconsecutive lines like so:call Rad

RE: [Tinyos-help] Multiple calls to radio

2006-03-01 Thread Gina Upperman
Vinayak,   Thanks for your email.  We thought about using the SendDone but are not sure exactly how that would work.  How can we access the SendDone event from our calling module?  Do you happen to have any sample program that you’ve used this in?   Thanks, Gina         Fr

Re: [Tinyos-help] Multiple calls to radio

2006-03-01 Thread Joe Polastre
sendDone calls you, you don't call sendDone. call send(). ... wait ... get sendDone() then call send() on next message. see tos/lib/Queue for an example. -Joe On 3/1/06, Gina Upperman <[EMAIL PROTECTED]> wrote: > > > > Vinayak, > > > > Thanks for your email. We thought about using the SendDon

Re: [Tinyos-help] Multiple calls to radio

2006-03-01 Thread Vinayak Naik
The module, which contains a sendMsg command, should have a sendDone event handler. The same module can signal (raise) a new event after after receives a sendDone event. - Vinayak On 3/1/06, Gina Upperman <[EMAIL PROTECTED]> wrote: Vinayak,   Thanks for your email.  We thought about

Re: [Tinyos-help] Longer messages

2006-03-01 Thread Krisakorn Rerkrai
HI, In your Makefile, include MSG_SIZE=xxx Krisakorn On 3/1/06, jose m <[EMAIL PROTECTED]> wrote: > I want to send and receive longer messages throught > SendMsg and ReceiveMsg interface. Can I mess with the > TOS_Msg struct, making the data array longer? There is > any problem with that? > > tha