Re: [Tinyos-help] Segmentation fault in TOSSIM

2010-07-01 Thread harshalw
Hi, I tried running the code in gdb. I got the following: -- Program received signal SIGSEGV, Segmentation fault. 0xb75a6bca in memcpy () from /lib/tls/i686/cmov/libc.so.6 (gdb) backtrace #0 0xb75a6bca in memcpy () from /lib/tls/i686/cmov/libc.so.6 #1 0x0804f882 in

[Tinyos-help] clock_t with tinyOS 2.x

2010-07-01 Thread Sam Azzaro
Hi all,i want to calculate the simulation time of an application, so i integrated a clock variablein this way: #include time.h implementation {clock_t time_init, time_final ; /* initial time and final time in micro-secondes */float time_cpu; /* total time in

Re: [Tinyos-help] ctp : debug messages and base station/root acknowledgemnent

2010-07-01 Thread Omprakash Gnawali
On Mon, Jun 28, 2010 at 2:25 AM, Cyril Nguyen Van Phu cyril.nguyen-van-...@lcpc.fr wrote: Hello, I encounter troubles when trying to get debug messages with CTP. I have two nodes running an app that uses CTP  incrementing a counter and I modified BaseStation to act as the Root of CTP. The

[Tinyos-help] blip ipv6 and udp struct

2010-07-01 Thread TheMrOrange
Hi all, I'm struggling around a problem about packet format using blip stack. I cannot understand how are defined the ipv6 packet and the udp packet when sent inside Ieee154 payload. I have looked in TOSROOT/support/sdk/c/blip/lib6lowpan/ip.h and in other files around but I couldn't find the

Re: [Tinyos-help] Dissemination synchronisation

2010-07-01 Thread Omprakash Gnawali
On Tue, Jun 22, 2010 at 3:49 PM, Peng Du eddy@gmail.com wrote: Hi. I would like to let the BaseStation periodically changes its channel and keep the communication with nearby motes (assuming the number and ID of these motes are known).  How can I use the Dissemination protocol to let the

[Tinyos-help] task/event ID?

2010-07-01 Thread Elong Jin
Hi all, I'm just wondering how can I get the task ID / Event ID for each task/event. I looked into app.c and didn't figured out how tinyos gives the ID to each task/event. Can anyone explain to me how this id system works? Thanks in advance Jin

[Tinyos-help] Sensorboards

2010-07-01 Thread John
I noticed when reading the Mts/mda sensor board users manual that some of the pins on micaz's 51 pin connector are directly connected to some of the general purpose anolog and digital input pins of the atmega128. What sort of sensorboard allows me to directly use the adc of the atmega

Re: [Tinyos-help] Sensorboards

2010-07-01 Thread Michael Schippling
Almost all of the atmega pins are brought out to the 51pin connector. Specifically, PortC, which is called PW for some reason, is completely available if you don't use any add-on sensorboard. See my pinout list: http://www.etantdonnes.com/Motes/ATMEGApins.txt You can use my original email