Re: [Tinyos-help] max TOSH_DATA_LENGTH

2009-05-09 Thread Eric Decker
The maximum that TOSH_DATA_LENGTH can be set do is determined by the CC2420 h/w. eric On Fri, May 8, 2009 at 9:09 PM, Xiaohui Liu whu...@gmail.com wrote: Hi Eric, Thanks for your help. The same is found in TOSROOT\tos\chips\cc2420\CC2420.h. However, neither of them talks about the max value

Re: [Tinyos-help] Routing table construction

2009-05-09 Thread Alireza pourranjbar
Take a look at these : you may find them usefull http://www.tinyos.net/tinyos-2.x/doc/html/tep119.html http://www.tinyos.net/tinyos-2.x/doc/html/tep123.html -- Alireza Pourranjbar pourranjbar...@gmail.com ___ Tinyos-help mailing list

[Tinyos-help] PWM signal generation

2009-05-09 Thread Dhivya G
Hai all, I need to generate PWM signals from Micaz motes. Can anyone help me to do the same. Is there any component in tinyos 1.x to generate PWM signal from Micaz motes. If so please send me the component. -- Thanks Regards, G.Dhivya ___

Re: [Tinyos-help] max TOSH_DATA_LENGTH

2009-05-09 Thread Lizhao You
I think the maxium TOSH_DATA_LENGTH should be 114bytes(including 114). For Telosb, the header_t definition: platfom_message.h typedef union message_header { cc2420_header_t cc2420; serial_header_t serial; } message_header_t; CC2420.h typedef nx_struct cc2420_header_t { nxle_uint8_t length;

Re: [Tinyos-help] PWM signal generation

2009-05-09 Thread Michael Schippling
My code to do PWM using an ATMEGA timer: http://www.etantdonnes.com/Motes/AVR128timers.zip MS Dhivya G wrote: Hai all, I need to generate PWM signals from Micaz motes. Can anyone help me to do the same. Is there any component in tinyos 1.x to generate PWM signal from Micaz motes. If

Re: [Tinyos-help] Java error: SerialPacket cannot be resolved to a type

2009-05-09 Thread David Li
Hi Michael, My mistake. I found out that I need to set my CLASSPATH to .:/opt/tinyos-2.1.0/support/sdk/java/tinyos.jar - that is it should point directly to tinyos.jar instead of stopping at /opt/tinyos-2.1.0/support/ sdk/java. On Fri, May 8, 2009 at 3:33 PM, Michael Schippling

Re: [Tinyos-help] Cannot find components

2009-05-09 Thread Omprakash Gnawali
On Fri, May 8, 2009 at 5:59 PM, Jinhong Xu jin...@indiana.edu wrote: Hi all, I was trying to add component MultiHopLqiP. At the very beginning, the compiler said the component not found, then I add the the following line to Makefile: PFLAGS += -I/Users/jinhongxu/tinyos-2.x/tos/lib/net/lqi/

[Tinyos-help] Xlisten not working with SerialForwarder

2009-05-09 Thread Vishal Pal
Hello All, If I try to connect xlisten to SF, I get: $ xlisten -sf=localhost:9001 xlisten Ver:$Id: xlisten.c,v 1.16 2004/09/30 21:23:56 mturon Exp $ Using params: [inet=localhost:9001] localhost input stream opened and nothing is displayed there after. I have programmed one mica2 mote with

[Tinyos-help] parameter list ERROR-TOSSIM-TinyOS

2009-05-09 Thread Moni GV
Hi, When I run make micaz sim, I get this error message:     PFM_topo2.nc 46:only generic components can have a parameter  list I can't figure out why this error comes from. The 46 line is: message_struct_t* content = (message_struct_t*)call Packet.getPayload(packet, NULL); The

Re: [Tinyos-help] Ask how to make sink as a sender on tinyos 1.1.10?

2009-05-09 Thread Michael Schippling
The run.sh file was just a convenient script to avoid typing all that you did. They should have the same effect. How did it not work? If it's the MOTECOM problem I don't know what the proper setting for the MIB600 is which is why I suggested that Google might be your new best friend. MS ma.

[Tinyos-help] ReadStream.read()

2009-05-09 Thread Akankshu Dhawan
Hi All Has anyone been able to successfully use ReadStream.read() for microphone ? or any other sensor for that matter. I am unable to do this successfully for the MTS310CB sensorboard on a MICA2 mote. Would really appreciate your help. Regards Akankshu Dhawan -- First they ignore you, then

[Tinyos-help] Help with Mspsim

2009-05-09 Thread Ediel Huitrón
Hello everyone! I did a SHA-1 component from platform Telosb, but I want to know what it ´s the time of computation. There is a tool called MSPSIM but I don't know how to use it. If anyone knows of any site or tutorial that can help me learn to use it, please help me!. I will be greatful for

Re: [Tinyos-help] RF230Sniffer Problem

2009-05-09 Thread Miklos Maroti
Hi Lizhao, On Sat, May 9, 2009 at 2:52 AM, Lizhao You youlizhao@gmail.com wrote: I am sorry for the my confusing description. In fact, BlinkToRadio only has 2B nodeid(default 00 01) and 2B counter(increase per pkt), whose length is less than 16bytes. I thought RF230Sniffer can print this

Re: [Tinyos-help] parameter list ERROR-TOSSIM-TinyOS

2009-05-09 Thread Eric Decker
Are you sure that the code you listed below is from PFM_topo2.nc? The error you are getting looks like it is from a configuration error and not a module. eric On Sat, May 9, 2009 at 9:37 AM, Moni GV tamuz...@yahoo.es wrote: Hi, When I run make micaz sim, I get this error message:

Re: [Tinyos-help] max TOSH_DATA_LENGTH

2009-05-09 Thread Xiaohui Liu
What is the relationship between a Tinyos message_t type message, particularly CC2420 message, and 802.15.4 MAC Layer frame? (TinyOS 802.15.4 Frames specification can be found herehttp://www.tinyos.net/tinyos-2.x/doc/html/tep125.html .) As for 802.15.4 Standard, nxle_uint8_t length is PHR. So the

Re: [Tinyos-help] max TOSH_DATA_LENGTH

2009-05-09 Thread Lizhao You
typedef nx_struct cc2420_header_t { nxle_uint8_t length; nxle_uint16_t fcf; nxle_uint8_t dsn; nxle_uint16_t destpan; nxle_uint16_t dest; nxle_uint16_t src; /** I-Frame 6LowPAN interoperability byte */ #ifdef CC2420_IFRAME_TYPE nxle_uint8_t network; #endif #ifndef TINYOS_IP

Re: [Tinyos-help] RF230Sniffer Problem

2009-05-09 Thread Lizhao You
Hi Miklos, I add TOSH_DATA_LENGTH=40 in Makefile, and it indeed work. Thanks for your help, and then still need for your help. Then i test the maxium TOSH_DATA_LENGTH i can set, and find 105 is ok while 106 does not work. If i set TOSH_DATA_LENGTH 106, nothing displayed in the screen, just