Re: [Tinyos-help] CTP and mica2 on TinyOS-2.x

2009-11-03 Thread sofia aparicio
Hello, Could you please help with this? I am trying to use CTP algorithms on mica2 but they are not working correctly. It seems that a msg is sent successfully but it did not call the function senddone. I am testing the application MultihopOscilloscope with 2 motes, a base station (id 0)

[Tinyos-help] TinyOS Ubuntu 9.10

2009-11-03 Thread David Sanz
Dear all, After work perfectly with tin...@ubuntu 9.04, I upgraded my OS to Ubuntu 9.10, and now I am not able even to compile the simplest code. The results when trying to compile are in this way: $ make telosb mkdir -p build/telosb compiling SenseToRadioAppC to a telosb binary ncc -o

[Tinyos-help] Modify the ACK frame for the CC2420

2009-11-03 Thread Martin Bor
Hi, For a prototype MAC protocol I would like to piggyback one bit of information on the acknowledgement frame transmitted by the CC2420 on successful reception of a packet. I wanted to use one of the reserved bits in the frame control field, which are, as far as I know, not used. My question is

Re: [Tinyos-help] TinyOS Ubuntu 9.10

2009-11-03 Thread Razvan Musaloiu-E.
Hi! On Tue, 3 Nov 2009, David Sanz wrote: Dear all, After work perfectly with tin...@ubuntu 9.04, I upgraded my OS to Ubuntu 9.10, and now I am not able even to compile the simplest code. The results when trying to compile are in this way: $ make telosb mkdir -p build/telosb

[Tinyos-help] Need hints for random numbers

2009-11-03 Thread martin . osterloh
Hi, I'm programming at the moment a little application, where it is desired, to use random numbers. I looked at thedocumentation, there is a RandomC, wich is like a wrapper for RandomMlgcC (and the other not so good one...). Now, I added this to my configuration: components RandomC; and

Re: [Tinyos-help] TinyOS Ubuntu 9.10

2009-11-03 Thread David Sanz
Hello Razvan, Thanks for your quick answer :-) Unfortunately, I already had libc6-dev installed, and new nesc 1.3.0 package seems not to solve the problem: when compiling, I obtain the same results. I ve also tried adding some includes in my makefie, but nothing.. is there anyway to reset

[Tinyos-help] tinyos-2.x and MATLAB

2009-11-03 Thread Abhay Ghatpande
Has anyone managed to get MATLAB working with tinyos-2.x? I am using MATLAB R2009b on Mac OS 10.6.1 (Snow Leopard). (1) tinyos-2.x works flawlessly on the Mac. (2) I can call normal Java methods in Matlab without problem (3) I can call Matlab functions in Java without problem (using the

[Tinyos-help] Printf weirdest Issue

2009-11-03 Thread cristiano carnicelli
Hi Everyone. I have a very weird problem with printf. I work with telosb and CC2420. I have a simple application that sends/receives secured packets. My RFD sends only ciphered frames ( so it enters in ciphering branch) and receives plaintext beacon and ack ( so it does not enter in deciphering

Re: [Tinyos-help] problem while having both CTP(multihop) and AMsenderC instances in same program

2009-11-03 Thread Omprakash Gnawali
From: himanshu barve himu@gmail.com Date: 2009/10/28 Subject: problem while having both CTP(multihop) and AMsenderC instances in same program To: Omprakash Gnawali gnaw...@cs.stanford.edu, tinyos-help@millennium.berkeley.edu Hello Friends . , I have included Omprakash Gnawali as i

Re: [Tinyos-help] CTP and mica2 on TinyOS-2.x

2009-11-03 Thread Omprakash Gnawali
On Mon, Nov 2, 2009 at 3:07 AM, sofia aparicio aparicioso...@hotmail.com wrote:  Hello, I am trying to use CTP algorithms on mica2 but they are not working correctly. It seems that a msg is sent successfully but it did not call the function senddone. I am testing the application

[Tinyos-help] Compilation error

2009-11-03 Thread MALINI MANOHARAN
Hi all, I need to interface a vibration sensor with a MicaZ mote.I tried reading the sensor data using Moteworks for the light sensor on MDA100 and that came out successful. So I tried using the same code for reading the new sensor with just the ADC port replaced. (i.e) TOS_ADC_PHOTO_PORT by

Re: [Tinyos-help] Contributing code...

2009-11-03 Thread Philip Levis
On Oct 29, 2009, at 4:15 PM, Daniel Piñeiro wrote: Hello to all, I have sent a request to tinyos-contrib-caretak...@millennium.berkeley.edu for contributing code (as described here: http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x-contrib/contrib.html) last Tuesday and

Re: [Tinyos-help] strange problem about uint64_t type on TelosB on gcc compiler

2009-11-03 Thread Philip Levis
On Oct 30, 2009, at 6:25 AM, BAI LI wrote: Any ideas? Try compiling with -v to see where the bug is occurring. If it's in gcc, then you need to construct a simple test case and contact the gcc maintainers. Chances are you'll be best off just trying to work around the problem. If it's

Re: [Tinyos-help] Need hints for random numbers

2009-11-03 Thread Philip Levis
On Nov 3, 2009, at 4:33 AM, martin.oster...@tu-ilmenau.de wrote: Hi, I'm programming at the moment a little application, where it is desired, to use random numbers. I looked at thedocumentation, there is a RandomC, wich is like a wrapper for RandomMlgcC (and the other not so good

[Tinyos-help] Math libraries

2009-11-03 Thread Sufyan Mohamed Lahmar
Hi I'm founding some trouble linking the math libraries to my telosb. do someone know how can I get over this problem. thanks in advance. LS _ Messenger su ogni PC, prova la Web Bar!

[Tinyos-help] Tasks vs computation cost

2009-11-03 Thread Akankshu Dhawan
I have a task which just samples data by using ReadStream.read(100) ; my buffer size is 2000. At this rate the buffer fills up in 0.2 seconds. Then I process data inside readDone (which basically takes the average of all these 2000 values and stores it in 1 index of output message array). After

Re: [Tinyos-help] problem while having both CTP(multihop) and AMsenderC instances in same program

2009-11-03 Thread himanshu barve
I think you are confused. I have used two different interfaces . Send as Mhopsend interface is provided by CTP (CollectionSenderC) And AMsend as ResetSend is provided by AMSenderC. /** * Send a packet with a data payload of ttlen/tt to address * ttaddr/tt. To determine the maximum available

Re: [Tinyos-help] Reading sensor data on Iris motes

2009-11-03 Thread Mehmet Akif Antepli
Hi David, 1. Identify the sensors from tos/platform/subfoler. Here I am a little confused. I 'd like to read all native sensors on the Iris board. *Should I be using sensors under mts300?* ** Sorry, but i don't know much about Iris motes. Actually, i have been using MicaZ (i think similar to