[Tinyos-help] Rssidemo help

2010-07-20 Thread Hassan Abid
Dear all, I am using RssiDemo code to collect RSSI and LQI samples using Imote2 platform. I have some confusions regarding it. 1- What is the different between the these Rssi Values and the values use for obtaining noise trace model in TOSSIM? 2- Does the noise trace and Rssi trace has same

[Tinyos-help] Problems trying to get sht11 on atm128

2010-07-20 Thread Gavin Soebiantoro
Hi all, I'm kind of new to tinyos(v2.1.1) and currently I'm trying to add a sht11 chip onto my crumb128 board that uses the atm128 microcontroller. I'm not 100% sure of what exacly I'm doing, but basically I am trying to port the sht11 chip files from the telosa platform to my own. I made

[Tinyos-help] how to print the hexadecimal values ?

2010-07-20 Thread Haripriya priya
Hi, If i use a data in hexadecimal format how it can be printed using printf statement ? For decimal %u is the specifier %lu is there for 32 bit Like that what is fomat specifier for 16 bit , 32 bit and 64 bit hexadecimal values ? thanks in advance -- Regards, S.Haripriya JRF-CS

Re: [Tinyos-help] how to print the hexadecimal values ?

2010-07-20 Thread Jordi Soucheiron
%x or %X *Jordi Soucheiron* Software Engineer *DEXMA* Parc Tecnològic la Salle Sant Joan de la Salle, 42 08022 Barcelona t/f: [+34] 93 181 01 96 www.dexmatech.com jsouchei...@dexmatech.com 2010/7/20 Haripriya priya priyavija...@gmail.com Hi, If i use a data in hexadecimal format how it can

[Tinyos-help] FTSP with CC1101

2010-07-20 Thread Puneeth NS
Hi everybody, I am working [a beginner btw] on Gnode301 [ http://www.sownet.nl/index.php/nl/products/gnode] I want to implement a Time synchonization protocol. I was looking into FTSP which is build into TOS2.1.1 but that was done on CC2420 radio. Since gnode has CC1101, how do could I make it

Re: [Tinyos-help] [*] Regarding sending and receiving

2010-07-20 Thread Michael Schippling
In the standard AM message interface there is a queue length of 1... When receive returns the message pointer that it got, that buffer can be used for a new message reception. I think if anything comes in before that it gets dropped, but I would have to look through all the code to verify. I never

[Tinyos-help] ADC Reading in MDA300CA

2010-07-20 Thread Francesco Ficarola
Good evening. I'm Francesco Ficarola, an italian student (so sorry for my bad english) of the Computer Engeneering (II level degree) in La Sapienza University. I download MDA300CA driver by tinyos-2.x-contrib/uoit/mda300ca because I must do a thesis about this platform. My hardware is MIB520, Iris

[Tinyos-help] String manipulation

2010-07-20 Thread Igor
Hi guys, what's up? Yesterday I was trying to build up a simple encription algorithm that takes a key and a message and do the xor operation bitwise. The problem is i am new in Tinyos and in c programming as well. So, let me try to explain better. I have two keys, k1 and k2 declared like this:

Re: [Tinyos-help] String manipulation

2010-07-20 Thread Michael Schippling
This works for me on mica2: void func() { uint8_t key1[10] = 1234543253; uint8_t key2[10] = 1234543323; int i ; uint8_t result[10]; for(i = 0; i 10; i++) result[i] = key1[i] ^ key2[i]; } You did name key1,2 differently (k1, k2) in your code snippet but that should have given a syntax

Re: [Tinyos-help] ADC Reading in MDA300CA

2010-07-20 Thread Michael Schippling
I'm not certain that read() is queue-able. You may need to start a subsequent read() from the readDone() of the previous. First try putting your led1 toggle in Sensor_7 done, because (if they are not queueing) that one is probably the one that actually executes. Also try doing just one read() and

[Tinyos-help] Fwd: String manipulation

2010-07-20 Thread Igor
-- Forwarded message -- From: Igor igorcomp...@gmail.com Date: 2010/7/20 Subject: Re: [Tinyos-help] String manipulation To: Michael Schippling sc...@santafe.edu Hi, thanks for your help. I actually misstyped when i was writing the previous message. I have two keys, k1 and k2

Re: [Tinyos-help] ADC Reading in MDA300CA

2010-07-20 Thread Francesco Ficarola
Michael Schippling ha scritto: I'm not certain that read() is queue-able. You may need to start a subsequent read() from the readDone() of the previous. First try putting your led1 toggle in Sensor_7 done, because (if they are not queueing) that one is probably the one that actually executes.

Re: [Tinyos-help] ADC Reading in MDA300CA

2010-07-20 Thread Francesco Ficarola
Michael Schippling ha scritto: ps...your English is infinitely better than my Italian... Ops, I had not noticed it, hehe, thank you! :) But I want certainly improve it as much as possible. ;) Have a nice day, -- Francesco Ficarola francesco.ficarola_at_gmail_dot_com Presidente LUG-PV

[Tinyos-help] How to connecta mica2 motes to Matlab

2010-07-20 Thread Xavi Colomer
Hi, I continue with the project to implement a network with some mica2 motes (one of them as a base station). My other problem is that I need to do operations with the data with matlab and I want know how I do to take this data from the motes. I tried to use the serial port to take the message

[Tinyos-help] Time interval between send and sendDone (transmission delay)

2010-07-20 Thread Obaid Salikeen
TinyOS 2.x,,,cc2420: For cc2420, i just calculated the time interval between consective messages : MONO-- 113 MONO-- 103 MONO-- 97 MONO-- 88 MONO-- 82 MONO-- 73 MONO-- 66 MONO-- 57 MONO-- 51 MONO-- 42 MONO-- 36 MONO-- 27 MONO-- 20

Re: [Tinyos-help] Is TinyOS suitable for developing routing protocols like LEACH

2010-07-20 Thread Omprakash Gnawali
On Wed, Jul 14, 2010 at 11:16 PM, ambongale ambong...@gmail.com wrote: Hi, I am interested in the area of developing routing protocols for WSN. I would like to know, Is it possible to implement routing protocols for WSN? Has TinyOS got any built in routing protocols like LEACH, HEED, so

[Tinyos-help] PacketTimeStamp Interface

2010-07-20 Thread Hassan Abid
Dear all, Its been 3 weeks and I am trying to solve a problem. Actually I want to use PacketTimeStamp interface to measure the time packets take in traversing the multi-hop network. I am using TOSSIM for my Simulations. But once we wire the PacketTimeStamp interface , it is giving wiring errors.