Re: [Tinyos-help] Serial Forwarder and Listen

2006-10-19 Thread Fabrizio Stefani
Michael Schippling wrote: The messages are not in ASCII format, which I think you are hoping for by inference from your question. They are in the same TOS_Msg format as received from the TOSBase Mote. They are fixed length binary, but if you use the Java Packetizer class or the C equiv in the

[Tinyos-help] C program for Listern

2006-10-19 Thread prabhu govindaswamy
Hi, Is there any C program available to listern. I desperately need one to communicate between PC and Tmote. I am zero in java and dont want to jump into ... Help appreciated. -- Thanks and Regards, prabhu __ Do You Yahoo!? Tired of spam? Yahoo!

[Tinyos-help] Frequency and Channel operation on CC2420

2006-10-19 Thread Tie Luo
1. What is the channel switch latency of CC2420? 2. Are the channels orthogonal to each other? Thanks in advance!-- Regards,Tie ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] What MAC algorithm is used on mica

2006-10-19 Thread roy liu ^-^
tinyos-help,hi! I learn from the TinyOS FAQ that a kind of MAC algorithm called BMAC is used on mica2 and MicaZ, but What MAC algorithm is used on mica ? Can anyone give me some indications? Thanks a lot.    

Re: [Tinyos-help] C program for Listern

2006-10-19 Thread R. Steve McKown
On Thursday 19 October 2006 02:22 am, prabhu govindaswamy wrote: Is there any C program available to listern. I desperately need one to communicate between PC and Tmote. I am zero in java and dont want to jump into For TinyOS 2.x there is a C sdk in the support/sdk/c folder

Re: [Tinyos-help] C program for Listern

2006-10-19 Thread [EMAIL PROTECTED]
Hi, Here is C program in the attachment. And I have used some threads may you can just comment that part of the code. Make sure you are running Serial Forwarder. Hope this helps... Manjunath On Thu, 19 Oct 2006, Markus Becker wrote: On Thu, 19 Oct 2006, prabhu govindaswamy wrote:

Re: [Tinyos-help] Changing Micaz Frequency at runtime in TinyOS 2.x

2006-10-19 Thread Tie Luo
I uses CC2420Config.setChannel(16) and then CC2420Config.sync(), but it does not work. What are possible reasons? How long will it take for micaz to switch channels? Thanks! Tie ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Question about TinyAlloc

2006-10-19 Thread Sangwon Hyun
Hello all, Now I am trying MemAlloc interface in TinyAlloc. Iam not surewhat is the maximum size of dynamically allocatable memory which TinyAllocprovides. When I tried "call MemAlloc.allocate(h, 254)", the final statusof the allocation in allocComplete event was success. But

Re: [Tinyos-help] TOSSIM TimyOS2.x issues

2006-10-19 Thread Carlos Perez
I had the same problem and I just changed the PYDIR variable in sim.extra to a directory which contained the file Python.h. Make sure the directory you're pointing to contains this file, otherwise it's the wrong directory. On 18 Oct 2006 06:10:42 -, Sai Krishna M [EMAIL PROTECTED] wrote:

Re: [Tinyos-help] C program for Listern

2006-10-19 Thread Michael Schippling
uh...where...is the C program? Did an attachment get wiped? MS [EMAIL PROTECTED] wrote: Hi, Here is C program in the attachment. And I have used some threads may you can just comment that part of the code. Make sure you are running Serial Forwarder. Hope this helps... Manjunath On

RE: [Tinyos-help] Serial Forwarder and Listen

2006-10-19 Thread Ben Buckner
The short answer is no, there's no CR/LF. However, the packets do come with a frame, and the frame has an escape rule that can result in escape characters being inserted. That's probably why you unexpectedly get changing packet lengths. The right way to pick packets out of the stream is to look

Re: [Tinyos-help] Serial Forwarder and Listen

2006-10-19 Thread Michael Schippling
Looks like your prayers may be answered in the message thread: [Tinyos-help] C program for Listern Otherwise reading the correct number of bytes from the port into a buffer and casting it to the TOS_Msg struct should do the trick. Oh, yeah, if you do that on a big-endian machine you'll have to

Re: [Tinyos-help] Serial Forwarder and Listen

2006-10-19 Thread Michael Schippling
oops...as bbuckner just pointed out, I forgot about the danged escape chars, So the cast-the-buffer thing doesn't work reliably...have to parse the stream. sorry MS Michael Schippling wrote: Looks like your prayers may be answered in the message thread: [Tinyos-help] C program for Listern

Re: [Tinyos-help] Serial Forwarder and Listen

2006-10-19 Thread Ian Welch
Thanks all for the help, I ended up reading the message header first and then reading the number of data bytes represented by the Length field in the header.Thanks again, Ian On 10/19/06, Michael Schippling [EMAIL PROTECTED] wrote: oops...as bbuckner just pointed out, I forgot about the danged

Re: [Tinyos-help] Changing Micaz Frequency at runtime in TinyOS 2.x

2006-10-19 Thread Philip Levis
On Oct 19, 2006, at 9:33 AM, Tie Luo wrote: I uses CC2420Config.setChannel(16) and then CC2420Config.sync(), but it does not work. What are possible reasons? How long will it take for micaz to switch channels? Thanks! Can you define does not work? Does the node continue to operate at

[Tinyos-help] sensor network datasets

2006-10-19 Thread Manju
Hi,I am performing data mining experiments on the sensor network data. Can anyone give me links to web pages which have datasets collected during experiments?Here are few links which I already know about: 1) http://berkeley.intel-research.net/labdata/2) http://robotics.usc.edu/~namos/data.htmlI am

[Tinyos-help] TinyDB for TelosB

2006-10-19 Thread Ivan Roca
Hi, It would wish to know if somebody this working with TinyDB for Telosb. Any help would be greatly appreciated thanks, Ivan ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Tinyviz plugin problem

2006-10-19 Thread Rodrigo Melo
Hi,I'm trying to create a plugin for Tinyviz. My problem is that It is not added to the plugins list inside Tinyviz (so I can select it).Already executed make on /opt/tinyos-1.x/tools/java/net/tinyos/sim It's compiling well, I've compared the code to other plugins (actually my code is based on

[Tinyos-help] TinyDB parser problem

2006-10-19 Thread Robert Hammond
Hi all, I am trying to interact with TinyDB using matlab and I cannot seem to get the parser to work. I believe that I import all of the appropriate java packages and then try to execute this: -- SQLstr=('SELECT light'); w=uint8(1);//uint is the equivalent

Re: [Tinyos-help] C program for Listern

2006-10-19 Thread [EMAIL PROTECTED]
Oh!!! Here I am re-attaching the 10KB program... manjunath -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. #include sys/socket.h #include netinet/in.h #include netdb.h #include stdio.h #include stdint.h #include errno.h #include

RE: [Tinyos-help] Changing Micaz Frequency at runtime in TinyOS 2.x

2006-10-19 Thread Paul Chiang
I have encountered the same problem, and conducting some tests, I was able to determine that the next call to AMSend.send() after syncDone() is signaled fails to signal a sendDone() event even though the call returned SUCCESS. The node continued to be operational, and a call to