Re: [Tinyos-help] Question

2014-10-07 Thread András Bíró
] *Sent:* Wednesday, October 01, 2014 9:09 PM *To:* IBRAHIM AHMED NEMER *Cc:* tinyos forum *Subject:* Re: [Tinyos-help] Question Usually the closest to your location. Andris On Wed, Oct 1, 2014 at 12:56 PM, IBRAHIM AHMED NEMER g201206...@kfupm.edu.sa wrote: Sorry sir, when I want

Re: [Tinyos-help] Question

2014-10-02 Thread IBRAHIM AHMED NEMER
this? BR. From: András Bíró [andras.b...@ucmote.com] Sent: Wednesday, October 01, 2014 9:09 PM To: IBRAHIM AHMED NEMER Cc: tinyos forum Subject: Re: [Tinyos-help] Question Usually the closest to your location. Andris On Wed, Oct 1, 2014 at 12:56 PM, IBRAHIM

Re: [Tinyos-help] Question

2014-10-01 Thread IBRAHIM AHMED NEMER
: [Tinyos-help] Question Hi, First of all, the new toolchain will be only supported in tinyos 2.2 (or whatever will be the version of the next release), so it only works with the developement tree right now. The cygwin-files.zip method installs an ages old cygwin, I recommend to uninstall

Re: [Tinyos-help] Question

2014-10-01 Thread András Bíró
. *From:* András Bíró [mailto:andras.b...@ucmote.com] *Sent:* Tuesday, September 30, 2014 4:55 PM *To:* IBRAHIM AHMED NEMER *Cc:* tinyos forum *Subject:* Re: [Tinyos-help] Question Hi, First of all, the new toolchain will be only supported in tinyos 2.2 (or whatever will be the version

Re: [Tinyos-help] Question

2014-09-30 Thread András Bíró
Hi, First of all, the new toolchain will be only supported in tinyos 2.2 (or whatever will be the version of the next release), so it only works with the developement tree right now. The cygwin-files.zip method installs an ages old cygwin, I recommend to uninstall it, and install cygwin based on

Re: [Tinyos-help] Question about CC2420 header file

2014-05-12 Thread Eric Decker
I'm sure of what exactly you are asking about. 1 3 is C for 1 shifted to the left 3 bits or 8. cc2420_status_enums give readable names to all the bit positions of the cc2420 status byte. In particular, the value 8 (bit 3) denotes that when set the cc2420 is in TX mode (tx is active). See

Re: [Tinyos-help] Question about changing udev rules

2014-04-03 Thread András Bíró
Hi, This is my tinyos related udev rule, might be helpful: http://pastebin.com/Rh3JAx1H The ENV{ID_MM_DEVICE_IGNORE}=1 is for the modemmanager, the otherwise it tries to configure the mcp2200 ports as gsm modems. (I don't think the GROUP=users part is needed) Andris On Thu, Apr 3, 2014 at

Re: [Tinyos-help] Question about changing udev rules

2014-04-02 Thread Michael Andersen
Hi Liao, I am replying on-list as I suspect this information may help other people as well. For those googling, these are instructions for how to write a udev rule so that serial programmers for TinyOS motes do not require root access. I am not too familiar with the exact programmer you are

Re: [Tinyos-help] question about The Collection Tree Protocol(CTP)

2013-08-20 Thread Omprakash Gnawali
First step would be to try to compile. Once it compiles, you can start tweaking things like forwarding time. - om_p On Thu, Jul 18, 2013 at 11:40 PM, 蒋燕飞 janeh...@126.com wrote: Dear author, I am a student in China.I have learnt TinyOS for almost 1 year.Now I am doing some research

Re: [Tinyos-help] Question For TinyOS I2C. Please Help

2013-04-14 Thread He Dajiang (I2R)
Can you try call I2CPacket.read(I2C_START | I2C_STOP, 0x3B, 1, reg_value); to read? Institute for Infocomm Research disclaimer: This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately. Please do not copy or use it

Re: [Tinyos-help] Question about global variables in nesC and TinyOS

2013-03-24 Thread Saeid Yazdani
Sean, I think if you move the condition for address after the "msg" declaration, you'll be fine. I don't think you need to use the preprocessor as Eric pointed out (I don't know the reason but it works, maybe Eric can explain better than me). check with the code

Re: [Tinyos-help] Question about global variables in nesC and TinyOS

2013-03-23 Thread Eric Decker
First fix your formatting. The way you've presented your code is mostly unreadable. So the first thing I did was to reformat the code and I got what is presented in Sean1.nc.txt. It is very clear what is wrong. You are declaring a new variable in the middle of a code block. C doesn't like

Re: [Tinyos-help] Question about LPL

2013-02-23 Thread Eric Decker
2013/2/23 Gustavo Zanatta Bruno zana...@ic.uff.br What is the difference between parêmetros compilation below? CFLAGS + =-DLPL_INTERVAL=value CFLAGS + =-DLPL_DEF_LOCAL_WAKEUP=value CFLAGS + =-DLPL_DEF_REMOTE_WAKEUP=value If someone in the know doesn't respond you can always RTFS (Read The

Re: [Tinyos-help] question

2012-11-08 Thread Peeyush Deshpande
RSSI : http://docs.tinyos.net/tinywiki/index.php/Rssi_Demo On Fri, Nov 9, 2012 at 12:12 PM, 郭 明芳 chevalier...@hotmail.com wrote: Hello I use IRIS mote and moteworks. Now I have two questions. 1. I can read the signal strength (RSSI). event TOS_MsgPtr ReceiveMsg.receive(TOS_MsgPtr

Re: [Tinyos-help] Question related with TKN154 mac

2012-05-02 Thread Jan Hauer
You can set the transmission power through call MLME_SET.phyTransmitPower(TX_POWER);, where TX_POWER is in dBm, e.g. TX_POWER = -20. There is a test application that does this (tests/tkn154/beacon-enabled/TestData/device/TestDeviceSenderC.nc). If you still have a problems, please check also that

Re: [Tinyos-help] Question regarding generic components

2012-04-24 Thread Oldrine Lewis
module , I expected the compiler would be aware of the data type. Thanks, Lewis From: Eric Decker [mailto:cire...@gmail.com] Sent: Monday, April 23, 2012 11:23 PM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Question regarding generic components

Re: [Tinyos-help] Question regarding generic components

2012-04-24 Thread Eric Decker
:* Eric Decker [mailto:cire...@gmail.com] *Sent:* Monday, April 23, 2012 11:23 PM *To:* Oldrine Lewis *Cc:* tinyos-help@millennium.berkeley.edu *Subject:* Re: [Tinyos-help] Question regarding generic components ** ** ** ** On Mon, Apr 23, 2012 at 7:23 PM, Oldrine Lewis ole...@sutron.com

Re: [Tinyos-help] Question regarding generic components

2012-04-24 Thread Oldrine Lewis
Subject: Re: [Tinyos-help] Question regarding generic components On Mon, Apr 23, 2012 at 7:23 PM, Oldrine Lewis ole...@sutron.com wrote: Hi Eric, I wanted to make the module (MyModuleM ) a generic module so that it can handle different structs

Re: [Tinyos-help] Question regarding generic components

2012-04-24 Thread Eric Decker
@millennium.berkeley.edu *Subject:* Re: [Tinyos-help] Question regarding generic components On Mon, Apr 23, 2012 at 7:23 PM, Oldrine Lewis ole...@sutron.com wrote:* *** Hi Eric, I wanted to make the module (MyModuleM ) a generic module so that it can handle different structs

Re: [Tinyos-help] Question regarding generic components

2012-04-24 Thread Oldrine Lewis
Hi Eric, I guess I too am struggling with explaining the scenario I have here. Lemme give it one last try. Please don't get me wrong, I truly appreciate the time and patience on your side. Now I understand that what I was trying to implement is not possible. So I am implementing a

Re: [Tinyos-help] Question regarding generic components

2012-04-23 Thread Eric Decker
On Mon, Apr 23, 2012 at 7:05 PM, Oldrine Lewis ole...@sutron.com wrote: Hi, ** ** Can I access the members in a user defined type inside a generic module? * *** ** ** typedef struct { uint8_t m_count; }MyStruct; ** ** ** ** ** ** generic module

Re: [Tinyos-help] Question regarding generic components

2012-04-23 Thread Oldrine Lewis
...@gmail.com] Sent: Monday, April 23, 2012 10:13 PM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Question regarding generic components On Mon, Apr 23, 2012 at 7:05 PM, Oldrine Lewis ole...@sutron.com wrote: Hi, Can I access the members in a user

Re: [Tinyos-help] Question regarding generic components

2012-04-23 Thread Eric Decker
*To:* Oldrine Lewis *Cc:* tinyos-help@millennium.berkeley.edu *Subject:* Re: [Tinyos-help] Question regarding generic components ** ** ** ** On Mon, Apr 23, 2012 at 7:05 PM, Oldrine Lewis ole...@sutron.com wrote:* *** Hi, Can I access the members in a user defined type

Re: [Tinyos-help] Question regarding scheduler modification

2011-11-22 Thread Miklos Maroti
Hi Sobit, You cannot use any tasks in the implementtion of the scheduler and there might be some other restrictions. I was bitten similarly with weird wiring constraints. For sure, there are limitations on what can be sued and what can be wired to in the implementation of the scheduler. Miklos

Re: [Tinyos-help] Question about tmote sky flash storage

2011-11-21 Thread Urs Hunkeler
Hi David, If I have a tmote sky mote (telosb), then: 1. How much storage space is there in flash? 1 MB in the external (i.e., not on the microcontroller, but on the PCB) flash. If I remember correctly, this is actually 1024*1024 bytes.

Re: [Tinyos-help] Question about tmote sky flash storage

2011-11-21 Thread András Bíró
Hi David, We're using 2MiB chips (ST M25P16) on the ucmini motes, and it works fine, with almost no changes. The only problem was the tos-storage-stm25p script (which generates the StorageVolumes.h from the xml file), becouse it fails with chips bigger than 1MiB. This was solved in the svn, by

Re: [Tinyos-help] Question regarding interrupt in Tinyos

2011-10-19 Thread dong bo
Hi Micheal, Thanks for your reply. Actually, I am working on the tone detection part, and the interrupt response seems very strange. The following is my original code for this part, and I can see that the interrupt is coming continuously. But when I probe the INT3 pin using an oscilloscope, I

Re: [Tinyos-help] Question regarding interrupt in Tinyos

2011-10-19 Thread dong bo
Hi, As I suppose it is the problem of the lower layer, I found that the implementation of MicInterrupt.enable() and disable() is different between the file tos/platform/mica2/HPLMicC.nc and tos/sensorboards/mts310/MicM.nc. I read the data sheet of ATMEGA128, and I found the INT3 pin is connected

Re: [Tinyos-help] Question regarding interrupt in Tinyos

2011-10-19 Thread dong bo
Hi, What I found in the tos/sensorboards/sensorboard.h is a TOSH_ALIAS_PIN(TONE_DECODE_ SIGNAL, INT3) Hi Antonio, I did not find what you mentioned in that file. Is it under tos/sensorboards ? Thanks! Shawn On Wed, Oct 19, 2011 at 12:11 PM, antonio rosa antoniorosarodrig...@gmail.com wrote:

Re: [Tinyos-help] Question regarding interrupt in Tinyos

2011-10-19 Thread dong bo
Hi Antonio, Thanks for your information. The interrupt is working fine now. After all, the problem comes from the fact that the the interrupt is not mapped correctly in the sensor board driver layer, which is tos/sensorboards/mts310/MicM.nc. The work around would be change the INT3 and

Re: [Tinyos-help] Question regarding interrupt in Tinyos

2011-10-19 Thread Michael Schippling
Just for reference Moteworks uses TOS1 which has different functions than TOS2 for doing everything useful. That's one reason I stayed out of the fray... but it is interesting that the interrupt number seems to be mixed up between major versions. I wonder if it has to do with the mica boards

Re: [Tinyos-help] Question regarding interrupt in Tinyos

2011-10-19 Thread dong bo
I think so, the interrupt in the schematic of Mica2 is INT3, but it is connected to PE7 pin in ATMEGA128 chip, which is defined as INT7. Shawn On Wed, Oct 19, 2011 at 3:34 PM, Michael Schippling sc...@santafe.eduwrote: Just for reference Moteworks uses TOS1 which has different functions

Re: [Tinyos-help] Question regarding interrupt in Tinyos

2011-10-18 Thread Michael Schippling
We would have to look at your code, but most likely you are not returning from the interrupt correctly. MS dong bo wrote: I am trying to implement the tone detector software in a Mica2 motes with MTS310 sensor cards. The current problem is that as soon as the interrupt is triggered, the

Re: [Tinyos-help] question about tymo

2011-08-24 Thread Daniel Minder
Hi, Do you know how long I wait to get the getRoute response. Simple answer: Look at the TYMO code how the do it! In ForwardingEngineM AMSend.send the a timer is started with 100ms. Then, they wait again 100ms, then 200, 400, 800 using a muliplicate approach. After 1,6s in total they give up.

Re: [Tinyos-help] question about tymo

2011-08-23 Thread Daniel Minder
Hi Omar, it's quite a while that I played around with TYMO - and actually it never worked satisfyingly. So, I can only answer this question: Moreover, the command getRoute returns SUCCESS only if the nodes are one hop far from (directly connected), and it returns EBUSY if the nodes are more

Re: [Tinyos-help] question about tymo

2011-08-23 Thread Omar Cheikhrouhou (yahoo)
-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of Daniel Minder Sent: Tuesday, August 23, 2011 9:41 AM To: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] question about tymo Hi Omar, it's quite a while that I played around

Re: [Tinyos-help] question about tymo

2011-08-22 Thread Omar Cheikhrouhou (yahoo)
Please any reply.. From: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of Omar Cheikhrouhou (yahoo) Sent: Sunday, August 14, 2011 2:54 PM To: 'Romain Thouvenin'; tinyos help Cc: Anis Koubaa (COINS) Subject: [Tinyos-help] question

Re: [Tinyos-help] Question about Receive interface

2011-06-25 Thread Sergio Valcarcel
Hi, The receive even is not a command, but an asynchronous event that is signaled every time the radio chip gets a message of the predefined type (defined as an AM channel number in the configuration). You may really want to read the Tutorial Mote-2-Mote radio communication. It will help you a

Re: [Tinyos-help] Question regarding obtaining intermediate C code

2011-06-24 Thread Apoorva Gade
Hi, I am working on a civil infrastructure monitoring project with sensor nodes using ATxmega16A4, CC2420. The code for physical layer functions (in C) have been given to us on top of which we have to implement Collection tree protocol for routing the packets to the sink. I have downloded the C

Re: [Tinyos-help] Question regarding obtaining intermediate C code

2011-06-22 Thread Romain Bornet
Hi, You can find the intermediate C code generated by the nesC compiler if you build an application using CTP. After you compiled the application you will find an app.c source file in the build/platform subdirectory. This is the generated C code... Let's say for example that you build the

Re: [Tinyos-help] Question regarding obtaining intermediate C code

2011-06-22 Thread Apoorva Gade
Hi, Thanks a lot. I have downloaded the C implementation. Regards, Apoorva. On Wed, Jun 22, 2011 at 3:26 AM, Romain Bornet bornet.r...@gmail.comwrote: Hi, You can find the intermediate C code generated by the nesC compiler if you build an application using CTP. After you compiled the

Re: [Tinyos-help] question

2011-04-14 Thread Michael Schippling
Look here: http://docs.tinyos.net/index.php/Main_Page The best way to get started is to read through the tutorials on this page: http://docs.tinyos.net/index.php/TinyOS_Tutorials MS Grati Amal wrote: hello, I want to know how I can use TinyOS, specifically I want a manual to understand

Re: [Tinyos-help] Question about the sample frequency of the mts300 sensorboard on micaz

2011-03-18 Thread 崔晓宗
I got the answer. The MicStreamC need a 1.2second warm up time in the code of the mts300 folder. (tos/sensorboard/mts300/MicP.nc) line 76 call Timer.startOneShot(1200); 2011/3/18 崔晓宗 cpp...@gmail.com I use the MicStreamC to sample sound. To test the sampling time, I set the red light on at

Re: [Tinyos-help] Question regarding computation time calculation for a task in MicroSeconds in Atmega128

2011-03-16 Thread Thapa, Sobit
...@millennium.berkeley.edu] On Behalf Of Thapa, Sobit [st1...@txstate.edu] Sent: Tuesday, March 15, 2011 8:02 PM To: Michael Schippling Cc: tinyos-help@millennium.berkeley.edu; tinyos-help-requ...@millennium.berkeley.edu Subject: Re: [Tinyos-help] Question regarding computation time calculation for a task

Re: [Tinyos-help] Question regarding computation time calculation for a task in MicroSeconds in Atmega128

2011-03-15 Thread Michael Schippling
How much do the results vary? There are other interrupts and such that happen during processing, so even a very regular foreground process might slip'n'slide a bit. At a cursory review level I'd think your code is probably OK, although I believe there is a counter wrap-around interrupt you could

Re: [Tinyos-help] Question regarding computation time calculation for a task in MicroSeconds in Atmega128

2011-03-15 Thread Thapa, Sobit
@millennium.berkeley.edu Subject: Re: [Tinyos-help] Question regarding computation time calculation for a task in MicroSeconds in Atmega128 How much do the results vary? There are other interrupts and such that happen during processing, so even a very regular foreground process might slip'n'slide a bit

Re: [Tinyos-help] Question regarding computation cost of a function in MicroSeconds

2011-03-14 Thread Eric Decker
I assume you mean computation cost in terms of time. I haven't messed with the atmel processors in years and currently am working with the msp430 processors but the concepts are equivilent. There should be a h/w timer running on the atm128 that should be ticking at 1us. you need to find that

Re: [Tinyos-help] Question regarding computation cost of a function in MicroSeconds

2011-03-14 Thread Sobit Thapa
Thank you very much Eric. What I did is Following (Surprisingly, its not working in desired way.) Can anyone suggest me? #include printf.h uint16_t coarseValues; uint16_t fineValues; uint16_t COARSECOMPARE = 0x7FFF; uint16_t fineOffset = 0x000E; uint16_t coarseOffset = 0x0021; uint16_t

Re: [Tinyos-help] Question about IRIS mote

2011-01-29 Thread Steven Satterfield
Timer4 and 5. Am I correct? Thanks again! Sofia Date: Tue, 25 Jan 2011 21:11:55 +0100 Subject: Re: [Tinyos-help] Question about IRIS mote From: mmar...@math.u-szeged.hu To: sc...@santafe.edu CC: aparicioso...@hotmail.com; tinyos-help@millennium.berkeley.edu Hi Michael and Sofia

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-28 Thread Miklos Maroti
+0100 Subject: Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C From: mmar...@math.u-szeged.hu To: aparicioso...@hotmail.com CC: tinyos-help@millennium.berkeley.edu Hi Sofia! On Thu, Jan 27, 2011 at 4:25 PM, sofia aparicio aparicioso...@hotmail.com wrote: Hello,   Seems

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-27 Thread sofia aparicio
Hello, Seems ok, but not sure how you access those pins. How did you verified that your code does not work? You cannot be sure that these pins are available on the 51-pins. I am using a MDA100 sensor board connected to my IRIS mote. I can see the signals in OC3A, OC3B and OC3C using an

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-27 Thread Miklos Maroti
Hi Sofia! On Thu, Jan 27, 2011 at 4:25 PM, sofia aparicio aparicioso...@hotmail.com wrote: Hello,   Seems ok, but not sure how you access those pins. How did you verified that your code does not work? You cannot be sure that these pins are available on the 51-pins. I am using a MDA100

Re: [Tinyos-help] Question about IRIS mote

2011-01-26 Thread sofia aparicio
Jan 2011 21:11:55 +0100 Subject: Re: [Tinyos-help] Question about IRIS mote From: mmar...@math.u-szeged.hu To: sc...@santafe.edu CC: aparicioso...@hotmail.com; tinyos-help@millennium.berkeley.edu Hi Michael and Sofia, Timer/Counter 1 is used by the RF230 radio. The radio code also uses

Re: [Tinyos-help] Question about IRIS mote

2011-01-26 Thread sofia aparicio
Sorry, using only OC3A and OC3B as in 4) TimerMilliC works but OC3A and OC3B do not work. Sofia From: aparicioso...@hotmail.com To: mmar...@math.u-szeged.hu; sc...@santafe.edu CC: tinyos-help@millennium.berkeley.edu Subject: RE: [Tinyos-help] Question about IRIS mote Date: Wed, 26 Jan

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread Michael Schippling
I'm afraid I don't have the patience to apply the necessary brain cells to the hermeneutics of the ATMEGA manual right now. My only advice is to put it all down for a day or two and then re-read _every_ section of the manual that might apply, looking for some small detail that got buried in the

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread Miklos Maroti
Hi Sofia! I know the atmega1281 timers in and out, I am rewriting the timer subsystem (or at least I am writing a new one for the atmega128rfa1). On Wed, Jan 26, 2011 at 4:01 PM, sofia aparicio aparicioso...@hotmail.com wrote: Hello, I would like to configure in Fast PWM mode without

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread Michael Schippling
Miklos Maroti wrote: Hi Sofia! I know the atmega1281 timers in and out, I am rewriting the timer subsystem (or at least I am writing a new one for the atmega128rfa1). On Wed, Jan 26, 2011 at 4:01 PM, sofia aparicio aparicioso...@hotmail.com wrote: Hello, I would like to configure in

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread Miklos Maroti
Hi Michael, On Wed, Jan 26, 2011 at 10:51 PM, Michael Schippling sc...@santafe.edu wrote: Miklos Maroti wrote: Hi Sofia! I know the atmega1281 timers in and out, I am rewriting the timer subsystem (or at least I am writing a new one for the atmega128rfa1). On Wed, Jan 26, 2011 at 4:01

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread Michael Schippling
I was once inspired to add a bunch of stuff to the doc/wiki but I selected a day on which it refused to allow me to create a login...maybe all days are like this? So I keep to myself. The 51 pin expansion connector pinouts should match, although I just paid attention to the micasb sensor board

Re: [Tinyos-help] Question about IRIS mote

2011-01-25 Thread Michael Schippling
Looks like OC1A uses Timer/Counter1 on the controller. Most likely TimerMilli does as well...or else you have overwritten some control bits by mistake. Dig into the TimerMilli code or documentation (ha ha a little joke) and see what hardware facilities it uses. My reverse engineering of TOS1.x

Re: [Tinyos-help] Question about IRIS mote

2011-01-25 Thread Miklos Maroti
Hi Michael and Sofia, Timer/Counter 1 is used by the RF230 radio. The radio code also uses a compare register via the AlarmOne16C component. Most probably you are trying to use a counter that is used by someone else. You should NEVER use a counter directly, but use the HPL abstractions in

Re: [Tinyos-help] Question

2010-09-23 Thread Mohammad S. Hashemian
Hi, Which distribution of linux you are using (or cigwin)? I haven't complied TOS since 1.1 but as the error shows, apparently the makefiles are not made yet (don't you have to call configure first?). Cheers, M. On 23 September 2010 10:43, farzaneh baghche band f.baghcheb...@gmail.comwrote:

Re: [Tinyos-help] Question

2010-09-23 Thread Eric Decker
Sounds like your environment isn't set up correctly. At a minimum MAKERULES needs to be defined. Did you take a look at the tutorials? http://docs.tinyos.net/index.php/Getting_Started_with_TinyOS On Thu, Sep 23, 2010 at 9:43 AM, farzaneh baghche band f.baghcheb...@gmail.com wrote: Hi i

Re: [Tinyos-help] Question

2010-09-23 Thread Sergio Campamá
you have to insert the following at the end of the file .bashrc in your home directory #Sourcing the tinyos environment variable setup script source /opt/tinyos-2.1.1/tinyos.sh and then restart the terminal that should do it... - Sergio Campamá

Re: [Tinyos-help] Question about modifying makefile system for TOSSIM

2010-09-15 Thread Yi Tang
Anyone can share some ideas? Thanks! On Sun, Sep 12, 2010 at 11:15 PM, Yi Tang yitan...@gmail.com wrote: Hey All, I'm trying to modify makefile system for TOSSIM. The motivation and things I wanna achieve are as follows. I changed a few radio model related files (CpmModelC.nc,

Re: [Tinyos-help] question regarding CTP

2010-08-12 Thread Xiaohui Liu
Hi, node ETX means the end-to-end path ETX, sum of ETX of all constituent link, from a node to the root, not the ETX of the local link to the node. When the white bit is set, the local ETX to the new node is regarded as 1, not the end-to-end path ETX. Hope this helps clarify my question. Thanks.

Re: [Tinyos-help] question regarding CTP

2010-08-11 Thread Philip Levis
On Aug 10, 2010, at 10:50 PM, Manjunath Doddavenkatappa wrote: Just a guess, Before asking the routing layer whether a new route to a neighbor is promising, the estimator asks physical layer whether the white bit of the incoming packet (from the sender of the new link) is set. Only

Re: [Tinyos-help] question regarding CTP

2010-08-11 Thread Xiaohui Liu
Hi, Thanks for your reply. I guess there is some misunderstanding here. When I say ETX, I mean ETX from the neighbor to the root, not the ETX of the local link to the neighbor. Let's call this ETX the node ETX for ease of exposition. If the network layer can find some existing neighbor in

Re: [Tinyos-help] question regarding CTP

2010-08-11 Thread Manjunath Doddavenkatappa
In the terminology you defined, node ETX is what white bit indicates. I.e., Set white bit indicates that node ETX of the new link is smaller (kind of ETX=1). As node ETX of the evicted node can not be less than 1 and its ETX (to the Root) is greater than that of the new node, it is OK to

Re: [Tinyos-help] question regarding CTP

2010-08-10 Thread Manjunath Doddavenkatappa
Just a guess, Before asking the routing layer whether a new route to a neighbor is promising, the estimator asks physical layer whether the white bit of the incoming packet (from the sender of the new link) is set. Only if the white bit is set then estimator proceeds. Since the set white bit

Re: [Tinyos-help] Question about Message exchange in RBS protocol

2010-08-01 Thread mojtaba raznahan
Any help? On Fri, Jul 30, 2010 at 5:56 PM, mojtaba raznahan mojtaba.razna...@gmail.com wrote: Hi all, I have a question about the way of message exchange in RBS protocol for synchronization. After the receivers receive the reference broadcast,How they(receivers) exchange observed

Re: [Tinyos-help] question about dual platform java CLASSPATH

2010-06-09 Thread Ali Baharev
Hi, I failed to understand everything you write but here is a way to set your CLASSPATH. Type the following command and hit enter CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java/tinyos.jar:. Now check its effect: echo $CLASSPATH It should print the above directories. As long as you have

Re: [Tinyos-help] question about dual platform java CLASSPATH

2010-06-09 Thread Michael Schippling
I think the problem is in your TOS* variables. I have them set like this: vincent:schip [207] echo $TOSDIR /opt/tinyos-1.1.7/tos vincent:schip [208] echo $TOSROOT C:/cygwin/opt/tinyos-1.1.7 Because the /opt/... syntax is only relevant to programs which use the cygwin dll. Java does not, so it is

Re: [Tinyos-help] Question about Bit Error in TOSSIM

2010-05-13 Thread Philip Levis
On May 10, 2010, at 10:04 PM, Yi Tang wrote: Hi All, Does TOSSIM 2.x really flip bits in the packet (according to the SNR-based packet error model), as it did in TOSSIM 1.x? I see that TOSSIM 2.x decides whether a node can receive a packet based on the radio model (in CpmModelC.nc),

Re: [Tinyos-help] Question about Bit Error in TOSSIM

2010-05-13 Thread Yi Tang
Dr. Levis, Thanks for your answer! I got the point. In that case, I guess nxle_uint16_t crc inside the tossim_footer struct in TossimRadioMsg.h is not useful here. For crc will always be correct (and no need to be checked) in the simulation for all the received packets (that pass the SNR-based

Re: [Tinyos-help] question about FTSP

2010-05-09 Thread Kusy, Brano
On 9/05/10 11:28 PM, tanlin tan...@seg.nju.edu.cn wrote: Hi,kusy I'm a graduate student of the department of computer science of Nanjing Univercity in China. Recently, I was reading your paper The Flooding Time Synchronization Protocol and have studied the implementation

Re: [Tinyos-help] Question about Simulation Ticks per second (10000000000ULL) in TOSSIM

2010-02-26 Thread Philip Levis
On Feb 23, 2010, at 7:43 PM, Yi Tang wrote: Hi All, I read ticksPerSecond() function in TOSSIM and found it returns 100ULL via sim_ticks_per_sec(). I'm wondering why the value is set to that. Does it associate with any specific real-world phenomena (like micro-controller or

Re: [Tinyos-help] Question for the wireless modules

2010-02-12 Thread Mido
The Mulle platform comes with Bluetooth transceiver. It may be suitable for your work. Here it is its homepage: http://www.ltu.se/csee/research/eislab/areas/mixedmode/projects/mulle Here it is how to install TinyOS on it: http://www.eistec.se/docs/wiki/index.php?title=TinyOS_Mulle

Re: [Tinyos-help] Question about control cc2420

2010-02-05 Thread Poonam Hiwal
Try to include the path in make file. 2010/2/5 Hotmail alanxiac...@hotmail.com Hello I am new to tinyos, I am using telosb board. My problem is that, after my tinyOS booted, how could I re-config my cc2420(I want to change channel)? I tried to add CC2420config module (which is at chips

Re: [Tinyos-help] question on command interrupting

2009-11-20 Thread Paul Johnson
Zhao, In general there is no difference between the keywords async and sync (which is the default if you define nothing) except from where that function can be called. An async function can never call a sync function, but a sync function can call another sync function, or an async

Re: [Tinyos-help] Question reg. Deluge

2009-11-15 Thread Razvan Musaloiu-E.
Hi! On Sun, 15 Nov 2009, Geetha S wrote: Hello, Has anyone used deluge T2 to wirelessly transmit program images to sensor motes? If so, please provide me any documentation of the same. I am working on windows environment. Can you please explain more about what are you trying to

Re: [Tinyos-help] Question about SDRAM and malloc

2009-11-10 Thread Oewyn
I'm not intimately familiar with the pxa27x architecture, but in general, when you call malloc(), you have no control over where the memory is allocated from. The memory should be automatically allocated in either the local SRAM or SDRAM (depending on how the memory controller operates).

Re: [Tinyos-help] Question about MSP430GeneralIO interface's commands

2009-10-14 Thread Eric Decker
Each IO pin can be attached to an I/O function where you control directly the state of the pin. Or the pin maybe assigned to a hardware block and controlled by that Module, for example an i/o pin maybe controlled by the SPI hardware or the UART hardware or the ADC. More details can be found in

Re: [Tinyos-help] Question about MSP430GeneralIO interface's commands

2009-10-14 Thread Michael Schippling
You found documentation? Wow! Looking in tos/platform/msp430/msp430hardware.h I find the circuitous definitions: void TOSH_SEL_##name##_MODFUNC() { MSP430REG_NORACE2(r,P##port##SEL); r |= hex; } void TOSH_SEL_##name##_IOFUNC() { MSP430REG_NORACE2(r,P##port##SEL); r = ~hex; }

Re: [Tinyos-help] Question about MSP430GeneralIO interface's commands

2009-10-14 Thread Eric Decker
It is a TI MSP430 thing. An I/O pin can be used stictly as an I/O pin (directly controlled) or it can be connected to a functional module (uart, spi, etc) and controlled that way. It is documented in the MSP430 Users Guide. eric On Wed, Oct 14, 2009 at 12:11 PM, Michael Schippling

Re: [Tinyos-help] Question about MSP430GeneralIO interface's commands

2009-10-14 Thread Michael Schippling
Oh, those defines are setting the control register not the data I/O register? I guess if I drilled down into the layers of #define confabulation I might have been able to guess that... whew thx MS Eric Decker wrote: It is a TI MSP430 thing. An I/O pin can be used stictly as an I/O pin

Re: [Tinyos-help] question about surgeTelos

2009-10-04 Thread Omprakash Gnawali
On Sun, Oct 4, 2009 at 2:08 AM, ZHANG Dian zha...@ust.hk wrote: Hi, I have some problems with Surge teloswhen I want to visualize the all motes on the java interface.   I only visualize the mote wich is connected to the PC when I run java net.tinyos.surge.MainClass 125.  I programmed the

Re: [Tinyos-help] question about surge

2009-10-04 Thread Omprakash Gnawali
On Sun, Oct 4, 2009 at 6:16 PM, ZHANG Dian zha...@ust.hk wrote: Hi, I use the surgeTelos version to program the base as 0, the other nodes as the number larger than 1. I do not revise any code of it. but I can not receive the packet from other node, except the base. do you know why this

Re: [Tinyos-help] Question about Route library

2009-07-31 Thread sofia aparicio
motes. I am sending information from every mote every 10 seconds. Do you know what is the problem? Thank you very much! Sofia Date: Thu, 30 Jul 2009 08:53:03 -0700 From: gnaw...@usc.edu To: rderu...@gmail.com CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Question

Re: [Tinyos-help] Question about Route library

2009-07-31 Thread Rubenalia
I'll try to do it. Anyway, here is my configuration file. Take a look and tell me if there is something wrong. Thanks configuration SenseTemp { } implementation { components Main, SenseTempM, TimerC, /*LedsC,*/ PhotoTemp, VoltageC, GenericCommPromiscuous as Comm, QueuedSend,

Re: [Tinyos-help] Question about Route library

2009-07-31 Thread Michael Schippling
To: rderu...@gmail.com CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Question about Route library On Thu, Jul 30, 2009 at 1:04 AM, Rubenaliarderu...@gmail.com wrote: I waited more than 1 minute, time enought for algorithm to update its route tree

Re: [Tinyos-help] Question about Route library

2009-07-31 Thread Omprakash Gnawali
On Fri, Jul 31, 2009 at 2:01 AM, sofia aparicioaparicioso...@hotmail.com wrote: Hello, I left several hours running 3 motes and 1 base station. I am using the Route library. I have seen that I receive information from every mote but suddenly I do not receive anything from one mote. After 2

Re: [Tinyos-help] Question about Route library

2009-07-30 Thread Rubenalia
I waited more than 1 minute, time enought for algorithm to update its route tree. Thanks for your response. 2009/7/30 Omprakash Gnawali gnaw...@usc.edu On Tue, Jul 28, 2009 at 12:10 AM, sofia aparicioaparicioso...@hotmail.com wrote: Hello, I have a problem with Route library in

Re: [Tinyos-help] Question about Route library

2009-07-30 Thread Omprakash Gnawali
On Thu, Jul 30, 2009 at 1:04 AM, Rubenaliarderu...@gmail.com wrote: I waited more than 1 minute, time enought for algorithm to update its route tree. Wait for 5 minutes just in case. - om_p ___ Tinyos-help mailing list

Re: [Tinyos-help] Question about Route library

2009-07-29 Thread Omprakash Gnawali
On Tue, Jul 28, 2009 at 12:10 AM, sofia aparicioaparicioso...@hotmail.com wrote: Hello, I have a problem with Route library in tinyos1.x. I am using 2 motes and 1 base station. If I put this 2 motes close to the base station then I receive the information from both motes. But if I put mote

Re: [Tinyos-help] Question about Route library

2009-07-28 Thread Rubenalia
Hi, I have the same problem using MultihopRouter library, althougth it works properly simulating with TinyViz. 2009/7/28 sofia aparicio aparicioso...@hotmail.com Hello, I have a problem with Route library in tinyos1.x. I am using 2 motes and 1 base station. If I put this 2 motes close to

Re: [Tinyos-help] Question about send and receive

2009-06-30 Thread Omprakash Gnawali
On Tue, Jun 30, 2009 at 5:42 AM, sofia aparicioaparicioso...@hotmail.com wrote: Hello, I have 3 motes and I want to send data from mote 2 trough mote 1 to the base station. Mote 2 call RadioSend.send(data); RadioReceive.receive(){     if (TOS_LOCAL_ADDRESS == 1){ call

Re: [Tinyos-help] Question about TOSH_DATA_LENGTH

2009-06-30 Thread bharat naik
Hi, If every packet send by a mote will always have payload equals to TOSH_DATA_LENGTH or this is just a maximum limit. We can always send packets much smaller than TOSH_DATA_LENGTH? Right? regards, Faisal It is a maximum limit. Usually length is much smaller, depends on the application

Re: [Tinyos-help] Question about Route library

2009-06-27 Thread Omprakash Gnawali
On Fri, Jun 26, 2009 at 7:08 AM, sofia aparicioaparicioso...@hotmail.com wrote: Hello, I would like to know what do I need to do to send and receive a message using the protocols of the Route library. Do I need to asociate every TOS_Msg with a TOS_MHopMsg? In Surge example they do the

Re: [Tinyos-help] Question about rounting protocols for tinyos-1.x

2009-06-17 Thread sofia aparicio
) at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167) s...@localhost:9001 died - exiting (java.net.ConnectException: Connection refused: connect) Could you please tell me what is the problem? Thank you very much! Sofia Date: Tue, 16 Jun 2009 13:37:24 -0700 Subject: Re: [Tinyos

  1   2   3   >