[Tinyos-help] Problems with TinyOS 2.x and MTS310 Tone Detector

2011-07-25 Thread Achintha Maddumabandara
Hi, I'm using IRIS+MTS310 to detect tone in my application. When I coded my program using TinyOS 1.x it worked perfectly. But now, when I'm using TinyOS 2.x it doesn't. It always gives a positive detection thought there is no tone at all. I'm using MicC.MicSetting interface and

[Tinyos-help] [blip] Assign/Change IP in boot

2011-07-25 Thread Carlos Rodrigues
Hi,   I’m using blip 1.0 and  I made a procedure in a bootstrap to assign a new address to node. In boot I call a function that sends a message to a server, and this responds with a address available (here will store the already assigned addresses, and reserve the node_id '1'). The routing

Re: [Tinyos-help] BLIP from Tiny OS with RF230

2011-07-25 Thread Miklos Maroti
Hi Nico, I have never used BLIP, but tried to give assistence to people who did. I do not know how far along they are. At some point we got BLIP working for IRIS, merged our changes back to tinyos-main, but by then BLIP has been changed. I think iof you are familiar with BLIP, and it works for

[Tinyos-help] L operator in timers

2011-07-25 Thread scatram...@gmail.com
Hi, An easy question: What the 'L' stands for when assigning the period to a timer? for example call MyTimer.startPeriodic(1024 * 10L); it starts a periodic timer that fires every 10 seconds but what's the meaning of 'L' I couldn't find it in google... thanks Davide

Re: [Tinyos-help] BLIP from Tiny OS with RF230

2011-07-25 Thread Markus Becker
Hi, we have a modified version which runs on rfxlink stack, if blip-rpl is set to use 16bit addressing only. Currently, we are however using it only on its TOSSIM radio driver. If you would want to try it out, contact me again. BR, Markus Hi Nico, I have never used BLIP, but tried to give

Re: [Tinyos-help] BLIP from Tiny OS with RF230

2011-07-25 Thread Miklos Maroti
Hi Markus, Have you verified if it works on real hardware? The new release of tinyos-main is coming up. Is there any chance that the necessary changes are folded into tinyos-main before the 2.1.2 release? best, Miklos On Mon, Jul 25, 2011 at 5:31 PM, Markus Becker m...@comnets.uni-bremen.de

Re: [Tinyos-help] BLIP from Tiny OS with RF230

2011-07-25 Thread JeongGil Ko (John)
Mikos, I and Markus have both validated that this code runs with real motes as well. However, this code in the current state requires a few changes directly in to the BLIP codes (which is undesirable -- mostly in IPDispatch*.nc). Main reason for this is that the current BLIP code wires some of

Re: [Tinyos-help] L operator in timers

2011-07-25 Thread Michael Schippling
long integer scatram...@gmail.com wrote: Hi, An easy question: What the 'L' stands for when assigning the period to a timer? for example call MyTimer.startPeriodic(1024 * 10L); it starts a periodic timer that fires every 10 seconds but what's the meaning of 'L' I couldn't find

Re: [Tinyos-help] BLIP from Tiny OS with RF230

2011-07-25 Thread Markus Becker
Hi Markus, Have you verified if it works on real hardware? Unfortunately not, we only have cc2420 hardware available. And for full blip support, the 16/64 bit support is missing. So currently it works in simulation with PFLAGS += -DBLIP_DERIVE_SHORTADDRS in the UDPEcho Makefile. The new

Re: [Tinyos-help] BLIP from Tiny OS with RF230

2011-07-25 Thread JeongGil Ko (John)
Hi! On Jul 25, 2011, at 12:21 PM, Markus Becker wrote: Hi Markus, Have you verified if it works on real hardware? Unfortunately not, we only have cc2420 hardware available. And for full blip support, the 16/64 bit support is missing. So currently it works in simulation with PFLAGS

Re: [Tinyos-help] BLIP from Tiny OS with RF230

2011-07-25 Thread Miklos Maroti
Hi Guys, I see. It is good that you have it verified for CC2420x and cc2520. I do not know how to proceed. I want to add 16/64 bit support to rfxlink, but that will be experimental and should not be included in the 2.1.2 release. Do you know if BLIP/RPL is going to be part of the next 2.1.2

Re: [Tinyos-help] BLIP from Tiny OS with RF230

2011-07-25 Thread JeongGil Ko (John)
Hi! On Jul 25, 2011, at 1:09 PM, Miklos Maroti wrote: Hi Guys, I see. It is good that you have it verified for CC2420x and cc2520. I do not know how to proceed. I want to add 16/64 bit support to rfxlink, but that will be experimental and should not be included in the 2.1.2 release. I

Re: [Tinyos-help] BLIP from Tiny OS with RF230

2011-07-25 Thread Eric Decker
Hi Nico, I do know that Stephen (the principal) has done alot of work on BLIP 2.0 and it has been merged into the main SVN T2 trunk. I would suggest starting there because it is the most current. I don't know how well it has been tested. It is fairly young but I do know that a bunch of work

[Tinyos-help] Target tracking problem

2011-07-25 Thread ashish gupta
Hi, guys its ashish gupta. Can somebody tell me that how to implement Target tracking problem in Tinyos 1.x or 2.x? Thank you ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] L operator in timers

2011-07-25 Thread Eric Decker
I'm not sure if this is standard C or not. I'm pretty sure it is but don't want to go find it in the reference. 10L means make it a long.10UL would make it an unsigned long. Basicaly 1024 * 10L is doing 32 bit signed arithmetic. The code really should be 1024 * 10UL because time is never

Re: [Tinyos-help] L operator in timers

2011-07-25 Thread scatram...@gmail.com
Thanks a million Michael there still is something that doesn't work: if I do: call MyTimer.startPeriodic(1024L * (uint16_t) (sync_msg.app_period)); where 'period' is a 'nx_uint16_t' inside the struct 'sync_msg' everything works fine on the other hand, if I use a function like:

Re: [Tinyos-help] L operator in timers

2011-07-25 Thread Michael Schippling
I don't have no intercourse with nx_types but it might be that app_period is not being re-converted back to the right byte order. Does it work with reset(10)? Also, please define crazy timer MS scatram...@gmail.com wrote: Thanks a million Michael there still is something that doesn't

Re: [Tinyos-help] L operator in timers

2011-07-25 Thread scatram...@gmail.com
for going crazy I meant that the TimerTMilli MyTimer fires every few milliseconds... I bet you are right saying that the app_period is not reconverted to the right byte order. it would explain why the timer fires in few millisec cos I usually set the app_period between 1 and 30 btw, what's

[Tinyos-help] Installing TinyOS

2011-07-25 Thread Faisal Aslam
Hi all, I will really appreciate your help. I am not new to TinyOS and has been using it since many years. However I am stunk while trying to install it on a new a new laptop. Here are the details. Synaptic Package Manager under Ubuntu 10.10 gives following error when I add TinyOS repository.

Re: [Tinyos-help] L operator in timers

2011-07-25 Thread Michael Schippling
hmmmnot sure Normal numbers on just about every platform with which we deal are Little Endian, but for some reason they decided to use Big Endian for the nx_types, even though, e.g. the CC2420 hardware header values, are still Little. But treating a small valued Big End int as Little would

Re: [Tinyos-help] L operator in timers

2011-07-25 Thread Eric Decker
unlike Michael, I have intercourse regularily with nx_types. they are implemented as big endian byte arrays. And referenced using well known byte swappers on little endian machines automatically. On Mon, Jul 25, 2011 at 2:13 PM, Michael Schippling sc...@santafe.eduwrote: I don't have no

Re: [Tinyos-help] L operator in timers

2011-07-25 Thread Eric Decker
On Mon, Jul 25, 2011 at 5:19 PM, Michael Schippling sc...@santafe.eduwrote: hmmmnot sure Normal numbers on just about every platform with which we deal are Little Endian, but for some reason they decided to use Big Endian for the nx_types, didn't think it through and not concerned

Re: [Tinyos-help] L operator in timers

2011-07-25 Thread Eric Decker
On Mon, Jul 25, 2011 at 5:19 PM, Michael Schippling sc...@santafe.eduwrote: hmmmnot sure Normal numbers on just about every normal is as normal does. The word is Native. There is no normal when you are on the hardware :-) platform with which we deal are Little Endian, but for

Re: [Tinyos-help] Installing TinyOS

2011-07-25 Thread Eric Decker
On Mon, Jul 25, 2011 at 4:04 PM, Faisal Aslam faisal.as...@gmail.comwrote: Hi all, I will really appreciate your help. I am not new to TinyOS and has been using it since many years. However I am stunk while trying to install it on a new a new laptop. Here are the details. Synaptic Package

[Tinyos-help] installing tinyos 1.x from cvs

2011-07-25 Thread jyoti suman
Hi I have installed tinyos 2.1.1 in ubuntu 10.10.It works fine.Then i need to run some code on tinyos 1.x.Though tinyos 2.1.1 is not backward compatible.So i someone from tinyos-help@millennium.berkeley.edu suggested me to installed install tinyos 1.x by cvs.As i have already installed

[Tinyos-help] PhoneSense 2011 Deadline Extended to August 1.

2011-07-25 Thread Aman Kansal
[Apologies if you receive multiple copies of this message] Second International Workshop on Sensing Applications on Mobile Phones at ACM SenSys 2011http://sensys.acm.org/2011/ November 1, 2011 Seattle, USA http://research.microsoft.com/phonesense2011 Paper Submission: August 1, 2011