[Tinyos-help] Question on TinyRPL

2017-03-02 Thread Hemant Narender Tikyani
Hello Everyone, Why do we need the storing mode in TinyRPL when it only supports default upwards route? Is there any way we can use the non-storing mode? I tried to remove the flag for storing mode from the makefile but then I get compilation errors. However, I don't understand why storing mode

[Tinyos-help] Question on TinyRPL

2017-03-02 Thread Hemant Narender Tikyani
Hello Everyone, Why do we need the storing mode in TinyRPL when it only supports default upwards route? Is there any way we can use the non-storing mode? I tried to remove the flag for storing mode from the makefile but then I get compilation errors. However, I don't understand why storing mode

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

[Tinyos-help] Question

2014-09-30 Thread Nemer14
How can I install these rpm files (http://tinyos.stanford.edu/tinyos/dists/cygwin/avr-beta/) if I installed this version from tinyos (http://archive.cone.informatik.uni-freiburg.de/teaching/labcourse/Adhocnetworks-w07/installingCygwin.html),, Really, I hope will help me . I tried different ways to

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

[Tinyos-help] Question about CC2420 header file

2014-05-12 Thread Maryam Jalalitabar
Hello, I have a simple question. I am reading the header file for CC2420 in TinyOS (CC2420.h). I can not understand what the following part means: enum cc2420_status_enums { ... CC2420_STATUS_TX_ACTIVE = 1 3, ... }; What does this part mean? Thanks.

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

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

2013-08-08 Thread 蒋燕飞
Dear author, I am a student in China.I have learnt TinyOS for almost 1 year.Now I am doing some research on CTP.but I have some questions to ask you ,can you give me some help? Here are my questions: 1.CTP can work on micaz, while it doesn't work on mica2. The component

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

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

2013-04-13 Thread hakusama1024
Hey guys Thanks for all your time. My name is Jaosn. Currently im working on a project using Tmote Sky and MMA8452 which is a accelerometer sensor. I try to use tinyos I2C API to write/read from the MMA8452, but the readdone is always fail. i was so confused about it. could someone help me out

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

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

2013-03-23 Thread Sean Dekker
Hi all, I want to create a packet and each time that the packet is being created I want to send it to a specific sensor board knowing the TOS_NODE_ID of the nodes. I have 3 telosb boards. I assign node ids of 1,2 and 3 to them when uploading the program. But for giving the address (switching

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

[Tinyos-help] Question about LPL

2013-02-23 Thread Gustavo Zanatta Bruno
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 -- Atenciosamente: Gustavo Zanatta Bruno Mestrando em Ciência da Computação Pesquisador Laboratório Tempo Sistemas de Tempo

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

[Tinyos-help] Question about IRIS mote

2012-12-25 Thread mahewish jamali
hello Steve hope you have done with your task . i am working on project which resembles that of you so can i have that code used ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] question

2012-11-08 Thread 郭 明芳
HelloI 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 Msg) {pack-strength=Msg-strength; return Msg;} But I do not have any ideal How to read SNR or noise level? 2.

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

[Tinyos-help] Question concerning Tiny-3-TLS

2012-08-23 Thread Conny Schmitt
Hallo together, during my research for secure communciation in WSNs I found the following paper: Tiny 3-TLS: A Trust Delegation Protocol for Wireless Sensor Networks published in ESAS 2006, LNCS 4357, pp. 32–42, 2006. I am now interested in the program code but the published author addresses

[Tinyos-help] question about mote-pc

2012-05-16 Thread Li, Haixia-OSU Stillwater
Hello, I know this is a old question. However, I have met this problem several times. I figured out it, and I met again. Recently, I updated my cygwin. After that, when I run Listen, it shows, java net.tinyos.tools.Listen Error on sf@localhost:9002: java.net.ConnectException: Connection

[Tinyos-help] Question related with TKN154 mac

2012-05-02 Thread Mubashir Rehmani
Dear All, I am using TKN154 mac implementation for TinyOS2. My question is, when i reduce the transmission power, it does not affect with TKN154 mac implementation. I have tried to change the transmission power and it works fine with other code but as soon as i use TKN154 mac, the transmission

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

[Tinyos-help] Question regarding generic components

2012-04-23 Thread Oldrine Lewis
Hi, Can I access the members in a user defined type inside a generic module? typedef struct { uint8_t m_count; }MyStruct; generic module MyModuleM(typedef type) { provides interface MyInterface; } implementation { command void

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

[Tinyos-help] Question about tmote sky flash storage

2011-11-21 Thread David
Hi there. If I have a tmote sky mote (telosb), then: 1. How much storage space is there in flash? 2. If the board is upgraded with a new chip (with ability to access more storage space), then how well will TinyOS support this? I have an upcoming project where we may need to store a large

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

[Tinyos-help] Question regarding scheduler modification

2011-11-21 Thread Sobit Thapa
Dear all, I am trying to modify tinyos scheduler. If I use Active message components in TinyScheduler, it is not compiled. I have made new component and tried to use it which provides Radio functionality to scheduler. Still, It also doesn't work and gives same error message when I call from

[Tinyos-help] Question About TinyOS CC2420 Layers Mismatch (Lpl and Unique) in CC2420RadioC.nc

2011-11-14 Thread Zainan Victor Zhou
Dear Tinyos Community/Core Working Group, My name is Zainan Victor Zhou, from JHU HiNRG Group. As I am TAing Network Embedded System/Sensor I found that the layers in CC2420RadioC.nc are mismatched between Lpl and Unique as shown below: SENDING PART|RECEIVING PART

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

[Tinyos-help] Question regarding interrupt in Tinyos

2011-10-17 Thread dong bo
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 system would crash. I triggered green LED to toggle every a while and red LED will be toggled in the interrupt callback function. As

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

[Tinyos-help] question about tymo

2011-08-14 Thread Omar Cheikhrouhou (yahoo)
Hello, I am simulating a multi-hop protocol and I use tymo for the multi-hop service. In my protocol I need to determine number of hop between two nodes, so I used the interface RoutingTable, with the command getRoute. Is it the best solution? Moreover, the command getRoute returns SUCCESS only

[Tinyos-help] Question about Receive interface

2011-06-25 Thread Geo Gkolfin
Hello! I am trying to write an application in which two nodes will be exchanging their temperature measurements every 2 secs, something like a ping pong protocol. So I need to use both AMSend and Receive interfaces. When I want to send a message I simply call the AMsend.send command and when the

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

[Tinyos-help] Question regarding obtaining intermediate C code

2011-06-21 Thread Apoorva Gade
Hi, I am working on a project where i should implement the Collection Tree Protocol for routing in sensor networks in C. Since it is already implemented in tinyOS, is there a way to get the intermediate C code generated by the nesc compiler? Else i should do it manually which seems to be quite

[Tinyos-help] Question about the broadcast address for BLIP

2011-06-12 Thread Long Cheng
Hi, I am trying to use a TelosB mote to broadcast a message to IPbasestation. My question is, what is the broadcast address for BLIP? for example, # set the address of the router's 802.15.4 interface. The interface # ID must be a 16-bit short identifier. addr fec0::64 The prefix is fec0:: I

[Tinyos-help] Question about routing graph using blib

2011-05-12 Thread laptopcss
Hallo together, currently I work with blip. Due to the tutorial I now know how to plot the routing graph. Can anyone tell me what the meaning printed on the edge is? Here an example: 0x4dd -- 0x64: edge has entry 1.0 0x45a -- 0x459: edge has entry 2.20 Ans here comes an additional

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

[Tinyos-help] question

2011-04-13 Thread Grati Amal
hello, I want to know how I can use TinyOS, specifically I want a manual to understand ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Question about send

2011-03-22 Thread Dennis Ef.
Hello everyone, Can somebody explain to me why is it necessary to do a call of Send.send() inside a timer? Why the .send() fails when you call it implicitly inside a task? Thanks in advance, Dennis ___ Tinyos-help mailing list

[Tinyos-help] Question about Imote2

2011-03-20 Thread YANG Chao
Hello,every one! I am noe develpping a program on the imote2. I have learned from the data sheet of SHM-A Board(a sensor board of imote2) that the power of the sensor board can be supplied with imote2. and the supplied voltage is 1.8v and 3.2v. However, as I have tested, the actual voltage is

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

2011-03-18 Thread 崔晓宗
I use the MicStreamC to sample sound. To test the sampling time, I set the red light on at the beginning of the program, and then #defind SAMPLE_LENGTH 100 call MicReadStream.postBuffer(sampleBuf, SAMPLE_LENGTH); call MicReadStream.read(1000); finally, I set the green light on in

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

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

2011-03-15 Thread Thapa, Sobit
I am using Timer3 as code posted below. I call startCounting() before a task executes and I call stopCounting after task executes. But, I am getting variable result. Is there any mistake in my code or somebody can provide code performing similar job. And, it is Atmega128 specific. #include

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

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

2011-03-14 Thread Sobit Thapa
Hi, I need a help regarding computation cost of a function which I want to read in Micro Second...I need a sample code for Atm128 processor. Can anybody please help me... Its urgent and I appreciate your help. Regards, Sobit Graduate Researcher Texas State University

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

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

2011-01-26 Thread sofia aparicio
Hello, I would like to configure in Fast PWM mode without prescaler and toggling OCR3A,OCR3B and OCR3C at the same time. I do the following: SET_BIT(DDRE,3); OCR3A SET_BIT(PORTE,3); SET_BIT(DDRE,4); OCR3B SET_BIT(PORTE,4); SET_BIT(DDRE,5); OCR3C SET_BIT(PORTE,5); TCCR3A=0x57; TCCR3B=0x19;

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

[Tinyos-help] Question about IRIS mote

2011-01-25 Thread sofia aparicio
Hello, I am using IRIS mote and I have a main program where I call a TimerMilliC. This timer is fired every 10 seconds. Then I would like to use the OC1A using a MDA100 sensor board. If I undestood well this pin is available. Then, I configure this OC1A in CTC mode using TCCR1A=0x40;

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

[Tinyos-help] Question for TinyOS 2.x Acknowledgement Process

2010-12-26 Thread 이현철
Hi All I'm using Telosb motes with the TinyOS 2.1.x and MultihopOscilloscope App. aka, TinyOs's Ack process is 1. A sender call PacketAcknowledgements.requestAck(). 2. A sender send packet to a receiver. 3. The sender check ack using by call PacketAcknowledgements.wasAcked() but, this is the

[Tinyos-help] Question regarding lesson 3 of TinyOS tutorial (BlinkToRadio)

2010-11-07 Thread Robin Müller-Bady
Dear tinyOS help list, I think my question was already aksed several times, as I think it is a very common configuration. I am using micaz motes together with tinyOS 2.1.1 and an eprb. My problem is, that the motes won't communicate with each other. After a time of debugging, I came to the

[Tinyos-help] Question on FTSP Sync

2010-11-03 Thread Deeksha G Rao Sahib
Hi all, Is there a way to know how many nodes are in sync with a particular ftsproot?? Like in a multihop network it is possible to know the ftsp root to which other nodes sync, can the root also know which nodes are in sync with it?? --Deeksha -- This message has been scanned for viruses

[Tinyos-help] Question regarding tossim

2010-10-20 Thread Sriram Sankaran
Hello, I am using tinyos-2.x and tossim. I would like to know the method to retrieve the source and destination addresses set in the tossim simulator, in the nesC code. Can someone guide me towards this? Any help would be appreciated. Thanks Sriram

[Tinyos-help] Question on tossim

2010-10-19 Thread Sriram Sankaran
Hello, I was wondering if someone can answer my question regarding tossim. How does one control the nesC code from tossim (python). I wanted to control certain parameters such as number of nodes, source and destination information etc from python script. Can someone guide me through this

[Tinyos-help] Question regarding tossim

2010-10-18 Thread Sriram Sankaran
Hello, I was wondering if someone can answer my question regarding tossim When using python (tossim) to test the nesC application code, how does one make nesC and python dependent on each other or how does one control the nesC code from python? Do we use swig to export the interfaces from

[Tinyos-help] Question

2010-10-16 Thread farzaneh baghche band
HI i have problem with make micaz sim error is as below: make: pyhton2.5-config: command not found make : ***[sim-exe] error 2 how can i do it? Regards Baghcheband. Farzaneh ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] Question regarding unicast communication in tinyos-2.x and tossim

2010-10-06 Thread Sriram Sankaran
Hello users, I want to unicast a packet from source node 1 to destination node 2. I am using tinyos 2.x and tossim. I specified the source and destination address in the tossim topology file. Now, my question is the following: when unicasting a packet, should I have to hard-code the

  1   2   3   4   5   >