[Tinyos-help] interrupt requests when interrupts are disabled

2010-03-19 Thread Zheng Manchun
Hi all, As far as I know, during the "atomic" block and some interrupt handlers (which disable interrupts), interrupts are disabled. My question here is that, is it true that under these two circumstances hardware can never trigger any interrupt request? Or the system just ignore the interrupt re

Re: [Tinyos-help] SensirionSht11 interface problem

2010-03-19 Thread Miklos Maroti
Hi Mark, They work for iris so I guess it works for the micaz (which is essentially the same except for the radio). Miklos On Fri, Mar 19, 2010 at 6:16 AM, Mark Patrick Cabrera wrote: > Hi Miklos, > > I checked the files that you linked but I guess these are for the telosb > platform. Can I use

Re: [Tinyos-help] TinyOS Installation Webpage problem

2010-03-19 Thread Jordi Soucheiron
Could you be more specific please? *Jordi Soucheiron* Software Engineer *DEXMA* Parc Tecnològic la Salle Sant Joan de la Salle, 42 08022 Barcelona t/f: [+34] 93 181 01 95 www.dexmatech.com jsouchei...@dexmatech.com 2010/3/19 Varun Jain > Hi, > > http://docs.tinyos.net/index.php/Getting_started

Re: [Tinyos-help] TinyOS Installation Webpage problem

2010-03-19 Thread Mark Patrick Cabrera
What really happened? TinyOS tutorial wiki * is currently down. On Fri, Mar 19, 2010 at 4:26 PM, Jordi Soucheiron wrote: > Could you be more specific please? > > *Jordi Soucheiron* > Software Engineer > > *DEXMA* > Parc Tecnològic la Salle > Sant Joan de la Salle, 42 > 08022 Barcelona > t/f:

Re: [Tinyos-help] TinyOS Installation Webpage problem

2010-03-19 Thread Jordi Soucheiron
docs.tinyos.net sems to be down. Maybe it's just the wiki, but I have't been able to find any other page using that domain outside the wiki *Jordi Soucheiron* Software Engineer *DEXMA* Parc Tecnològic la Salle Sant Joan de la Salle, 42 08022 Barcelona t/f: [+34] 93 181 01 95 www.dexmatech.com jsou

[Tinyos-help] Updates to the Msp430X branch

2010-03-19 Thread Jordi Soucheiron
Hello, We've been working quite a long time on the msp430x branch and yesterday we finally uploaded the changes onto the cvs server. There are many changes since the last release including major rewrite of the usci and uart interfaces (thanks to Eric Decker), improvements in the I2C code and compat

Re: [Tinyos-help] interrupt requests when interrupts are disabled

2010-03-19 Thread Eric Decker
Depends on the hardware. On Fri, Mar 19, 2010 at 1:15 AM, Zheng Manchun wrote: > Hi all, > As far as I know, during the "atomic" block and some interrupt handlers > (which disable interrupts), interrupts are disabled. My question here is > that, is it true that under these two circumstances har

[Tinyos-help] CC2420TransmitP and CSMA backoff timer

2010-03-19 Thread Tipu Sultan
Hi, I am trying to determine how many tries CC2420TransmitP will make if Congestionbackoff occurs i.e. When CSMA-CA is enabled, which is by default, for the first time CCA pin is checked if medium is busy or not, if medium is busy then initialbackoff occurs then after initialbackoff time is pas

Re: [Tinyos-help] SensirionSht11 interface problem

2010-03-19 Thread Mark Patrick Cabrera
Hi Miklos, I use the SHT11 driver you gave from this link: http://szte-wsn.cvs.sourceforge.net/viewvc/szte-wsn/tinyos/tos/lib/Mts400/and tried to compile my application but I got the following errors: In interface `I2CPacket': /opt/tinyos-2.1.0/tos/interfaces/I2CPacket.nc:63: syntax error before

Re: [Tinyos-help] Help required regarding changing RadioBackoff

2010-03-19 Thread Tipu Sultan
Hi, Can someone check if these values are correct estimations. InitialBackoff InitialBackoff=( call Random.rand16() % (0x1F * CC2420_BACKOFF_PERIOD) + CC2420_MIN_BACKOFF); Min value Initial Backoff InitialBackoff = [ (0) % (31 * (20/2)) + 20/2] = 10 Max value Initial Backoff InitialBackoff =

[Tinyos-help] Multiple wiring

2010-03-19 Thread Zheng Manchun
Hi all, I'm confused with the semantics of multiple wiring. 1. scenario 1: A.intf -> B.intf; A.intf -> C.intf; There are two command implementations of a same command. If A call a command, will both two implementations be executed or only one of them be ex

[Tinyos-help] Compilation process of TinyOS

2010-03-19 Thread mgm ncm
Hello all, Is there document or webpage decribing the order of building process in tinyos starting from make micaz to main.exe and other files. I tried http://docs.tinyos.net/index.php/*Nesc*-*internals * but the page is not displaying.Any material on what are all the flag possible for nesC compil

Re: [Tinyos-help] Mistake uploading updates to CVS

2010-03-19 Thread Kevin Klues
I don't see this folder when I update from CVS. Kevin On Thu, Mar 18, 2010 at 5:19 AM, Jordi Soucheiron wrote: > Hello, > I've made a mistake uploading the improvements to the msp430X code. I've > created a tinyos-2.x-contrib folder inside the tinyos-2.x-contrib/dexma > folder. Now I can't delet

Re: [Tinyos-help] Mistake uploading updates to CVS

2010-03-19 Thread Jordi Soucheiron
It should be in: tinyos-2.x-contrib/dexma/tinyos-2.x-contrib *Jordi Soucheiron* Software Engineer *DEXMA* Parc Tecnològic la Salle Sant Joan de la Salle, 42 08022 Barcelona t/f: [+34] 93 181 01 95 www.dexmatech.com jsouchei...@dexmatech.com 2010/3/19 Kevin Klues > I don't see this folder when I

Re: [Tinyos-help] Mistake uploading updates to CVS

2010-03-19 Thread Kevin Klues
I see, its there in the history, but you've removed it. I'll see if I can get the sourceforge guys to remove it for us. Kevin On Fri, Mar 19, 2010 at 6:05 AM, Jordi Soucheiron wrote: > It should be in: tinyos-2.x-contrib/dexma/tinyos-2.x-contrib > > Jordi Soucheiron > Software Engineer > > DEXM

Re: [Tinyos-help] Compilation process of TinyOS

2010-03-19 Thread Kevin Klues
It appears that the wiki is down at the moment. It will probably be brought back up sometime today I assume. Kevin On Fri, Mar 19, 2010 at 5:56 AM, mgm ncm wrote: > > > Hello all, > Is there document or webpage decribing the order of building process in > tinyos starting from make micaz to main

Re: [Tinyos-help] Mistake uploading updates to CVS

2010-03-19 Thread Jordi Soucheiron
Thank you :) 2010/3/19 Kevin Klues > I see, its there in the history, but you've removed it. I'll see if I > can get the sourceforge guys to remove it for us. > > Kevin > > On Fri, Mar 19, 2010 at 6:05 AM, Jordi Soucheiron > wrote: > > It should be in: tinyos-2.x-contrib/dexma/tinyos-2.x-contr

[Tinyos-help] Help g++

2010-03-19 Thread Petrika Gjanci
Hi , i would like to know hot to fix the problem than when i simulate with make micaz sim it gives me an error make: g++: Command not found make: *** [sim-exe] Error 127 i tryed to install g++ but it cant compile python files although i have a complier..thanks in advance

[Tinyos-help] MDA300 for TinyOS 2.x

2010-03-19 Thread Madhuri Revalla
Hi All, I want to develop an application by using MDA 300 board in Tiny OS 2.x. Is there are any drivers or example code for using TinyOS-2.x and Crossbow's MDA-300 with micaz. I appreciate your help. Thanks in advance. ___ Tinyos-help mailing list T

[Tinyos-help] Antitheft App detetcing motes that are "stolen"

2010-03-19 Thread Suzanne Delica
Hello tinyos-help, I am using WinXP/Cygwin, iris motes with a mib520. I was able to compile the antitheft app, program the iris reference board with the root code and 3 other sensor nodes with the node code, and run Serial Forwarder GUI and the Antitheft GUI (with all options checked). However

Re: [Tinyos-help] Antitheft App detetcing motes that are "stolen"

2010-03-19 Thread Janos Sallai
Suzanne, Are the sensor boards properly attached to the motes? Are you sure that the sensor boards you have are equipped with both the accelerometer and the light sensor? Janos On Fri, Mar 19, 2010 at 10:31 AM, Suzanne Delica wrote: > Hello tinyos-help, > > I am using WinXP/Cygwin, iris motes w

Re: [Tinyos-help] Using Eclipse For JAVA programs .

2010-03-19 Thread Michael Schippling
To my knowledge Eclipse doesn't add any internal code to your project, so what you see is what you get as far as your application goes. You do need to make sure that you have the tinyos.jar, whatever Java Comm you are using, the same or similar JRE, and appropriate USB drivers installed on your tar

Re: [Tinyos-help] Antitheft App detetcing motes that are "stolen"

2010-03-19 Thread Suzanne Delica
Hello Janos, I am using the MTS400 sensors which can monitor Ambient light, relative humidity, temperature, 2-axis accelerometer, and barometric pressure. Also I made sure to connect the female/male connectors properly before I screwed the motes back together Suzanne On Fri Mar 19 12:13:

[Tinyos-help] tasks with parameters! why not possible?

2010-03-19 Thread Vikram vik76
Hello, I would like to understand why we don't have provision in tinyos for declaring tasks with input parameters. eg: task void taskname(uint8_t input1, uint8_t input2) { ... } where input1 and input2 are the two input parameters. Thanks Vikram ___ Tin

Re: [Tinyos-help] tasks with parameters! why not possible?

2010-03-19 Thread Kevin Klues
Technically you could write your own version of tasks that do take parameters, but you'd need to modify both the scheduler and nesc to recognize them. Tasks themselves are nothing special, they are just functions implemented by a component and then wired into via the scheduler via through the Task

Re: [Tinyos-help] Antitheft App detetcing motes that are "stolen"

2010-03-19 Thread Janos Sallai
Suzanne, I guess that you don't have the MTS400 set up correctly. It is not supported out of the box in TinyOS 2.1: you will need to get additional drivers from external sources to get it work, and you will need to change the makefile of the antitheft nodes to specify that you're using an MTS400 (

Re: [Tinyos-help] tasks with parameters! why not possible?

2010-03-19 Thread Faisal Aslam
Hi, Firstly, There is no need of parameters for task. Reason: Task are local to a module. You cannot define a task in an interface and call from another module. Hence if task are local then there is really no need for parameter or return type. You can use a module local variable in the task as p

Re: [Tinyos-help] SensirionSht11 interface problem

2010-03-19 Thread Miklos Maroti
Hi Mark, Work with the latest version from of tinyos-2.x from the CVS. Interfaces have been changed since tinyos-2.1.0 Best, Miklos On Fri, Mar 19, 2010 at 11:14 AM, Mark Patrick Cabrera wrote: > Hi Miklos, > > I use the SHT11 driver you gave from this link: > http://szte-wsn.cvs.sourceforge.ne

Re: [Tinyos-help] Mistake uploading updates to CVS

2010-03-19 Thread Andres Vahter
Hi, Is this a real GIT repository mirrored from CVS: http://hinrg.cs.jhu.edu/git/?p=tinyos-2.x-contrib.git There seems to be no changes since 2008. Although main repository is up to date: http://hinrg.cs.jhu.edu/git/?p=tinyos-2.x.git I'm very interested in msp430X code. Andres On 19.03.2010, a

Re: [Tinyos-help] SensirionSht11 interface problem

2010-03-19 Thread Mark Patrick Cabrera
Thank you Miklos for your help! I am now able to use the SHT sensor on the MTS400 sensorboard. Patrick On Sat, Mar 20, 2010 at 3:24 AM, Miklos Maroti wrote: > Hi Mark, > > Work with the latest version from of tinyos-2.x from the CVS. > Interfaces have been changed since tinyos-2.1.0 > > Best, >

Re: [Tinyos-help] SensirionSht11 interface problem

2010-03-19 Thread Miklos Maroti
Cool! The other sensors should work too (the barometric pressure is not yet finished if I know the status well). Miklos On Fri, Mar 19, 2010 at 8:32 PM, Mark Patrick Cabrera wrote: > Thank you Miklos for your help! I am now able to use the SHT sensor on the > MTS400 sensorboard. > > Patrick > > O

Re: [Tinyos-help] Mistake uploading updates to CVS

2010-03-19 Thread Eric Decker
Its the main CVS tree. For some reason the John Hopkins contrib repo doesn't seem to be tracking the CVS contrib repo. So if you want the dexma code you'll need to go to the CVS repo. eric On Fri, Mar 19, 2010 at 12:26 PM, Andres Vahter wrote: > Hi, > Is this a real GIT repository mirrored f

[Tinyos-help] MAC protocol over-rided but seems it doesn't work

2010-03-19 Thread Kartik Siddhabathula
Hi All, I am using tinyos-2.x and telosb motes. I want to have a mote which continuously sends a message by over riding the MAC protocol so that other normal motes may not be able to communicate. (in short I want to implement a jammer)In the program for the mote which over rides the MAC protocol

[Tinyos-help] error: async mismatch with declaration

2010-03-19 Thread Kartik Siddhabathula
Hi All, I have used interface CC2420Transmit and for the event sendDone I am getting the following error :CC2420Transmit.sendDone : async mismatch with declaration Please help Thanks in advance,Kartik ___ Tinyos-help mailing list Tinyos-help@mill

[Tinyos-help] TOSThreads

2010-03-19 Thread Nimal Giya
Spam detection software, running on the system "mail.Millennium.Berkeley.EDU", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator