Re: [Tinyos-help] How to send string in TinyOS?

2021-10-06 Thread Eric Decker
On Wed, Oct 6, 2021 at 6:58 PM Andrea wrote: > Hi everyone, > > I need to send a string from PC to mote (serial communication). How can I > define the payload message as string type? > its C nx_uint8_t str[str_size]; The payload type is defined with the following code: (It is the same code >

Re: [Tinyos-help] Tinyos forum

2021-09-13 Thread Eric Decker
yes. you just did. On Mon, Sep 13, 2021 at 4:05 AM Andrea Strappato wrote: > Hi, > How can I post in Tinyos help? > Regards, > ___ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu >

Re: [Tinyos-help] (no subject)

2021-01-01 Thread Eric Decker
doesn't work that way. tinyos/nesc programs are whole program compilation/optimization. Everything is static. There is no dynamic loading or allocation. tasks are static and are simply the routine/code declared. There is no memory per-se that is associated with the task. All memory is

Re: [Tinyos-help] Time function

2020-12-28 Thread Eric Decker
actually this has already been done in the tp-freeforall tree ( https://github.com/tp-freeforall/prod) It is implemented in https://github.com/tp-freeforall/prod/blob/tp-master/tos/system/SchedulerBasicP.nc it is in memory logging. there are some gdb

Re: [Tinyos-help] NesC program execution flow

2020-05-06 Thread Eric Decker
On Wed, May 6, 2020 at 11:42 AM anita patil wrote: > What is the flow of NesC program execution? > same as C. The Blink application with three LEDs i.e LED0, LED1, LED2 if I want to > switch ON with three Timers i.e Timer0, Timer1, Timer2 , Which order > the compiler consider for execution

Re: [Tinyos-help] Getting temperature using Ppp Router and CoapBlip

2018-11-06 Thread Eric Decker
mp -T 3a -t binary *but I took it directly > from the examples, I don’t know what those options mean. I can’t find the > meaning anywhere. > try looking in the source code for coap-client. > > Any idea on that?. Thanks. > > > > *De: *Eric Decker > *Enviado: *05 Novembe

Re: [Tinyos-help] Getting temperature using Ppp Router and CoapBlip

2018-11-05 Thread Eric Decker
The remote mote is essentially a block box that is very hard to gain visibility into. the way I deal with this kind of problem is either: 1) put a debugger on the remote mode, set a break point where it does the command processing, capture receiving the command. this will let you bifurcate

Re: [Tinyos-help] gas components

2018-11-01 Thread Eric Decker
more context please. what is a gas sensing component? why would you expect to find that in the tinyOS source code? On Thu, Nov 1, 2018 at 2:08 PM Sara Houhou wrote: > > Hello, I didn't find any details about how can I use gas sensing in the > list of tinyOS components !! > Can you tel me the

Re: [Tinyos-help] Doubt in FTSP

2017-10-03 Thread Eric Decker
I think you are right just looking at the math. However, you will have to test it and watch how the algorithm behaves to make sure it is functioning correctly. I'm not familar enough with the algorithm nor the underlying principles to eye ball it and get it right. If you do figure it out please

Re: [Tinyos-help] TinyOS website

2017-06-27 Thread Eric Decker
works for me. hasn't been updated in 4 years. On Mon, Jun 26, 2017 at 5:49 PM, Mustafa Yassin wrote: > Hello TinyOS developers, > > > > My name is Mustafa Yassin. I’m a Master’s degree student at Tokyo > Institute of Technology. > > I’m doing research about

Re: [Tinyos-help] Sleep function no mote

2017-03-17 Thread Eric Decker
the Radio start up via AMControl.start() is split phase. you have to wait for AMControl.startDone() to be signalled. That tells you the radio is up. On Fri, Mar 17, 2017 at 3:03 PM, arsaraiva wrote: > Hello friends, > > I'm having a hard time making a sensor wait a

Re: [Tinyos-help] how to wire CC2420Packet to user code encounters in tinyOS?

2017-03-04 Thread Eric Decker
try being explicit.. App.CC2420Packet -> CC2420PacketC.CC2420Packet; On Thu, Mar 2, 2017 at 3:53 AM, James Allen (PGR) < j.d.all...@newcastle.ac.uk> wrote: > Hi, > > > The wiring looks okay to me (although I'm no expert!) - you seem to me to > be wiring the CC2420Packet interface used by your

Re: [Tinyos-help] Blink cannot compile because of the library skipping

2017-03-04 Thread Eric Decker
boy that is weird. I haven't ever run into that. But I'm using Ubuntu 14.04 I haven't tried to do an install on Fedora. sorry. Can't be of more help. On Fri, Mar 3, 2017 at 2:24 PM, Bowen Wang wrote: > Hi, > I have installed the tinyos and nesc on my machine.

Re: [Tinyos-help] TinyOS with TOSSIM

2017-01-17 Thread Eric Decker
which tinyos sources are you using? that looks familar, i may have fixed it already on the dev trunk On Mon, Jan 16, 2017 at 9:28 AM, arsaraiva wrote: > Hi James, > > This error occurs with micaz too. > > @note:~/tinyos-main/apps/Blink$ make micaz sim > mkdir -p

Re: [Tinyos-help] "dereferencing type-punned pointer" warnings when using more up-to-date toolchain

2017-01-09 Thread Eric Decker
done. thanks On Mon, Jan 9, 2017 at 5:02 AM, Michael Rink <michael.r...@imms.de> wrote: > ... done, pull request #393 > > Best regards > Michael > > On 04.01.2017 10:51, Eric Decker wrote: > > > > you can certainly ignore them but it would be better to fi

Re: [Tinyos-help] "dereferencing type-punned pointer" warnings when using more up-to-date toolchain

2017-01-04 Thread Eric Decker
you can certainly ignore them but it would be better to fix them. the main development tree is at https://github.com/tinyos/tinyos-main fork it, work on a branch, and then submit a pull request and I'll take a look at it. thanks for the attention to detail. On Tue, Jan 3, 2017 at 11:45 PM,

Re: [Tinyos-help] how to printf the sample data with a high sampling rate?

2016-12-15 Thread Eric Decker
you have to figure out how to properly flow control the upstream link. but that too is problematic. you are basically generating a lot of data and them converting it to ascii chars (which makes the problem worse) and then sending over a relatively slow line. It looks like chars are being

Re: [Tinyos-help] Problems installing TinyOS on cygwin/windows

2016-12-11 Thread Eric Decker
I know the installation page is out of date. Sorry about that. Not under my domain of control. cygwin hasn't been supported for quite some time. Now that said a couple of points/suggestions... o all the packages you list below, if you could get them, are very old. You really probably don't

Re: [Tinyos-help] New Virtualbox image available for TinyOS (User Contributed Methods). Any interest from maintainers?

2016-09-21 Thread Eric Decker
On Wed, Sep 21, 2016 at 10:57 AM, Venkata Raghava Siva Naga Sabniveesu < vssabnive...@mix.wvu.edu> wrote: > Hi all! > > I've built a VirtualBox image with TinyOS setup on Ubuntu. We are using > this at our university for course and research related to 'Wireless Sensor > Networks'. As the link

Re: [Tinyos-help] TinyOS installation on cygwin

2016-08-27 Thread Eric Decker
First, it would be helpful if you included the URL for the page you are looking for. support for the msp430 on Cygwin is no longer actively supported. Active support for the msp430 can be found at http://tinyprod.net/repos/debian/ But that is only supported on Debian based Linux boxes

Re: [Tinyos-help] Issues while installing TinyOS on Ubuntu

2016-08-17 Thread Eric Decker
On Wed, Aug 17, 2016 at 2:51 AM, P Shome wrote: > Hi All, > > I am trying to install TinyOS on Ubuntu. However, I am geting the below > error messages. > first you don't tell us what you executed that generated the error message. What package(s) were you trying to

Re: [Tinyos-help] Atmel SAM4 Support

2016-04-13 Thread Eric Decker
not to my knowledge On Fri, Mar 4, 2016 at 1:21 AM, Vlado Handziski wrote: > Hi Thomas, > > has anyone tried to get BLIP running on the sam3? > > --Vlado > > On Thu, Feb 25, 2016 at 1:18 AM Thomas Schmid > wrote: > >> Hi Eric, >> >> The

Re: [Tinyos-help] arrays in tinyos.

2015-10-25 Thread Eric Decker
it is just like in C On Sun, Oct 25, 2015 at 6:44 PM, Sushant Ubale < sushantub...@mail.fresnostate.edu> wrote: > Hello there, >Can anyone tell me how to initialize and use an array > in nes-c or tinyos. Please help me. > Thank You > Regards > Sushant. > >

Re: [Tinyos-help] scientific question

2015-10-18 Thread Eric Decker
On Sat, Oct 17, 2015 at 7:00 AM, Nahr Elk wrote: > Hello, > > My question is not related to tinyOS and I am sorry for that, but since > this forum joins several high quality researchers I would like to know if > this implication is correct or not: > > Distributed algorithm

Re: [Tinyos-help] DAC on telosb motes

2015-09-22 Thread Eric Decker
I'm pretty sure no DAC implementation has been done and no TEP has been written discussing it. On Mon, Sep 21, 2015 at 3:12 AM, JOBISH JOHN wrote: > Dear All, > > I am looking for some documents which can be referred to use 12 bit DAC on > telosb motes in Tinyos 2.1.

Re: [Tinyos-help] cc2431

2015-09-09 Thread Eric Decker
The cc2431 is a SoC based on an 8051 core. There is no support in TinyOS for this chip. On Tue, Sep 8, 2015 at 8:27 AM, Nahr Elk wrote: > Hello, > > Please what are the names of the motes that are cc2431 compliant? how can > I buy them online. > > Thank you. > > -- > Nahr

Re: [Tinyos-help] finding interrupt handlers in an application

2015-08-14 Thread Eric Decker
are not async events ? The interrupt is wired and signals into the Virtual Timers. Timer.fired() is not async because it doesn't need to be. It is at task level via the Virtual Timers. I forget how it is all wired together. On 08/13/2015 01:24 PM, Eric Decker wrote: On Wed, Aug 12, 2015

Re: [Tinyos-help] finding interrupt handlers in an application

2015-08-12 Thread Eric Decker
On Wed, Aug 12, 2015 at 7:25 PM, xueguang w...@in.tum.de wrote: Hi all, I know an event with the keyword async can be executed in an interrupt handler. Async means this piece of code can be executed in interrupt context and special provisions are needed to make sure that mutual exclusion

Re: [Tinyos-help] frequency of a received signal

2015-08-06 Thread Eric Decker
On Thu, Aug 6, 2015 at 4:00 AM, Nahr Elk nahr...@gmail.com wrote: Hello, Please, how can I measure the frequency of a signal received by my TelosB? what problem are you trying to solve? why do you want to do that? please provide more context. the telosb uses a CC2420 radio which is tuned

Re: [Tinyos-help] How can I get the tinyos source code in .c?

2015-07-27 Thread Eric Decker
What are you trying to do? On Mon, Jul 27, 2015 at 1:59 AM, Yan Song yansong1...@gmail.com wrote: Hello everyone: I still can't find a way to get the source code in .c. Sorry to ask this question again. The source code which I mean is not the one in apps/.../build/ , it's the code in

Re: [Tinyos-help] How can I compile the tinyos source code from .nc to .c?

2015-07-05 Thread Eric Decker
the tools don't work that way. there is no way the tools will let you generate individual .c files from .nc files. On Sun, Jul 5, 2015 at 8:07 PM, Yan Song yansong1...@gmail.com wrote: Thanks for you reply! I know how to get the app/.../app.c,what I really want to know is that how can I

Re: [Tinyos-help] How can I compile the tinyos source code from .nc to .c?

2015-07-05 Thread Eric Decker
what are you trying to do anyway? On Sun, Jul 5, 2015 at 9:46 PM, Eric Decker cire...@gmail.com wrote: the tools don't work that way. there is no way the tools will let you generate individual .c files from .nc files. On Sun, Jul 5, 2015 at 8:07 PM, Yan Song yansong1...@gmail.com wrote

Re: [Tinyos-help] changing the tx channel

2015-06-06 Thread Eric Decker
CC2420Config.setChannel just modifies the holding cell (m_channel). It won't change the h/w until later. There are bugs in the base cc2420 driver. I beleive the cc2420x driver works better. I rewrote the cc2520 driver (cc2520-v2). And that is the one that I'm familar with. It behaves

Re: [Tinyos-help] attaching LM75 to telosb module through I2c interface

2015-05-05 Thread Eric Decker
On Tue, May 5, 2015 at 4:29 PM, Hessam Mohammadmoradi hmor...@cs.uh.edu wrote: Hello, I am trying to the same thing, and I had the same problem. I was able to successfully read from I2C for the first time. After doing massive search, I found out that TelosB pins are open drain and you need

Re: [Tinyos-help] TinyOS system image and bootloader

2015-04-29 Thread Eric Decker
On Wed, Apr 29, 2015 at 9:06 AM, Li, Wenting luth...@gmail.com wrote: Dear all, I have several question with regard to the relation between the bootloader and TinyOS with the underlying device as MicaZ (or Atmega128). My goal is to understand how to upload an application to a specific memory

Re: [Tinyos-help] TinyOS system image and bootloader

2015-04-29 Thread Eric Decker
cool. thanks Johny. Any chance you can finish writing/documenting this up and possibly add it to the mainline? On Wed, Apr 29, 2015 at 6:02 PM, Johny Mattsson jmatts...@dius.com.au wrote: On 30 April 2015 at 04:03, Eric Decker cire...@gmail.com wrote: On Wed, Apr 29, 2015 at 9:06 AM, Li

Re: [Tinyos-help] About tinyos-0.6.1

2015-01-10 Thread Eric Decker
why are you even messing with something that is well over 12 years old? On Thu, Jan 8, 2015 at 3:01 AM, Xueguang Wu w...@in.tum.de wrote: Hi, I am now working on collecting embedded C programs. However, after TinyOS-0.6.1 the OS has been changed to nesC. I want to download the old version

Re: [Tinyos-help] TinyOS 6LowPAN implementation in Beagleboard without using Epic Cape

2015-01-01 Thread Eric Decker
I'm not sure what you are asking. want to try again? On Tue, Dec 30, 2014 at 11:26 PM, Bipin bipinkunjumon...@gmail.com wrote: Hello Sir.., This is the Question to Eric Decker and all other members in this forum who have very good knowledge about the 6LowPAN concept

Re: [Tinyos-help] PROBLEM WITH COMPILER

2014-12-26 Thread Eric Decker
that's not a compiler problem. you haven't installed correctly. looks like you chmod'd the environment.sh shell script but never executed it. what instructions did you follow for installing? where did you get the source code? what version of tinyos are you using? etc etc etc On Fri, Dec

Re: [Tinyos-help] Z1 crystal oscillator

2014-09-29 Thread Eric Decker
I've passed this on to one of the original developers. On Mon, Sep 29, 2014 at 8:05 PM, wasif masood rwmas...@gmail.com wrote: Dear All, Does anyone know what type of crystal oscillator is used in z1 sensor nodes! BR, Wasif Masood ___

Re: [Tinyos-help] tinyos compile error multiple targets specified make: *** [exe0] Error 2 pls help

2014-09-19 Thread Eric Decker
I've never seen oppxmac before. I don't know what that does. does make telosb work? the other thing that is strange is the overriding commands warnings. On Fri, Sep 19, 2014 at 5:36 AM, Thanh Ngoc Dinh s3453...@student.rmit.edu.au wrote: Hello everyone, I am testing the low power

Re: [Tinyos-help] Does anyone have a fix for a bug i reported in June ?

2014-09-14 Thread Eric Decker
This is not a bug. Since module 1 has not received the grant, it won't recieve the ResourceRequested.requested when it is signaled. Because module 1 technically does not own the resource. The ResourceRequested.requested will be signaled to what ever module (or the Default Owner) that owns the

Re: [Tinyos-help] Overriding include paths for goals

2014-09-14 Thread Eric Decker
. yeah you really don't want to do that. Regards Michael On Sat, Sep 13, 2014 at 8:36 PM, Eric Decker cire...@gmail.com wrote: First, what code body are you working on? The answer is different for the development trunk than the last released TinyOS (2.1.2). Also what platform are you

Re: [Tinyos-help] Does anyone have a fix for a bug i reported in June ?

2014-09-14 Thread Eric Decker
On Sun, Sep 14, 2014 at 7:28 AM, Roadstar Runner redstripe...@gmail.com wrote: But if thee is no default owner for the resource, then the system could be locked because module 2 will never get the resource. I was under the impression that if a call to Resouce.request() returns SUCCESS , then

Re: [Tinyos-help] Overriding include paths for goals

2014-09-14 Thread Eric Decker
On Sun, Sep 14, 2014 at 7:36 AM, Michael Andersen m.ander...@berkeley.edu wrote: Hi On Sun, Sep 14, 2014 at 12:48 AM, Eric Decker cire...@gmail.com wrote: On Sat, Sep 13, 2014 at 11:16 PM, Michael Andersen m.ander...@berkeley.edu wrote: Hi I am working on the git master, I assume

Re: [Tinyos-help] Does anyone have a fix for a bug i reported in June ?

2014-09-14 Thread Eric Decker
to the default owner by default on power up, after initialization, the default owner owns the resource, by default. It doesn't actually get granted on the way up. On Sun, Sep 14, 2014 at 12:59 PM, Eric Decker cire...@gmail.com wrote: On Sun, Sep 14, 2014 at 7:28 AM, Roadstar Runner redstripe

Re: [Tinyos-help] Does anyone have a fix for a bug i reported in June ?

2014-09-14 Thread Eric Decker
ResourceRequested.requested is signalled is via the state variable that keeps track of who owns the resource. So either that state variable is getting overwritten or only those modules that actually own the resource get signalled. On Sun, Sep 14, 2014 at 3:32 PM, Eric Decker cire...@gmail.com wrote

Re: [Tinyos-help] Overriding include paths for goals

2014-09-13 Thread Eric Decker
First, what code body are you working on? The answer is different for the development trunk than the last released TinyOS (2.1.2). Also what platform are you actually working on? On Sat, Sep 13, 2014 at 4:13 PM, Michael Andersen m.ander...@berkeley.edu wrote: Hi I am wanting to change the

Re: [Tinyos-help] Tiny OS Error for TOOLS how to resolve

2014-09-12 Thread Eric Decker
On Thu, Sep 11, 2014 at 11:09 PM, Robert Clove cloverob...@gmail.com wrote: Hi All, I was trying to run tinyos I did the following steps what instructions were you following? I ask so we can track them down and fix them too. Various folks have over the years written their own

Re: [Tinyos-help] msp430-gcc 4.6.3 increases image size

2014-07-28 Thread Eric Decker
are you sure the code is being optimized? when you do a make specify verbose and check for -Os On Mon, Jul 28, 2014 at 7:45 AM, Thomas Pötsch t...@comnets.uni-bremen.de wrote: Hi Antonio, thanks for your reply. I tried using 4.7.2 but the code has the same size. Viele Grüße, Thomas

Re: [Tinyos-help] TinyDB : where can I find it?

2014-07-18 Thread Eric Decker
On Thu, Jul 17, 2014 at 10:33 AM, Cyril C ulrichcan...@yahoo.fr wrote: Thanks for your answer. So if TinyDB belongs to TinyOS 1, can I decently supposed that is it not longer supported ? yep. you could do the port. Le Mercredi 16 juillet 2014 1h00, Eric Decker cire...@gmail.com

Re: [Tinyos-help] Error try to clone 'tinyos-main' through git.

2014-07-17 Thread Eric Decker
looks like a network connectivity issue. Most likely a DNS problem. first solve that problem. ie. both host github.com and ping github.com should work. On Wed, Jul 16, 2014 at 4:58 PM, Alex CP cpa9...@gmail.com wrote: Hi all. I have a problem when I try to clone tinyos-main in my

Re: [Tinyos-help] CC2538

2014-07-17 Thread Eric Decker
The core is ARM. There is some early ARM support in the current developement tree for TinyOS. I don't beleive any one has completed a port, so you would have to a fair amount of work. On Wed, Jul 16, 2014 at 7:04 AM, Skander Bahloul skander.bahl...@esisar.grenoble-inp.fr wrote: Hi, I

Re: [Tinyos-help] UART off

2014-07-17 Thread Eric Decker
On Wed, Jul 16, 2014 at 4:21 AM, Antonis Tzounis atzou...@gmail.com wrote: Hello, Is there any way to completely shut-down uart in TOS2? I think there was such a functionality in TOS1. What I want to do is completely turn off an external sensor board that is connected through UART in order

Re: [Tinyos-help] TinyDB : where can I find it?

2014-07-15 Thread Eric Decker
I'm pretty sure it is a TinyOS 1 thing. you won't find it in the github sources because those are TinyOS 2 and later. On Tue, Jul 15, 2014 at 7:44 AM, Cyril C ulrichcan...@yahoo.fr wrote: Hi everybody, I've been reading lots of papers presenting the TinyOS system and TinyDB, a database

Re: [Tinyos-help] Update mspgcc to 4.6.3

2014-07-13 Thread Eric Decker
you can install debian packages of 4.6.3 from http://tinyprod.net/repos/debian. What host are you running on? If you are using cygwin, we no longer support it. On Sun, Jul 13, 2014 at 6:47 PM, Alex mmz_tin...@yeah.net wrote: Hi, anyone who concerns I'd like to update mspgcc to

Re: [Tinyos-help] random number

2014-07-10 Thread Eric Decker
asked and answered. The random number generator is pseudo-random. It starts up using a SEED which you need to modify to get different sequences. On Wed, Jul 9, 2014 at 11:52 PM, Jisha Mary Jose jishamary1...@gmail.com wrote: Hi, I have to generate random number for a node to use in key

Re: [Tinyos-help] random number

2014-07-10 Thread Eric Decker
. But still same numbers are generated again and again at a particular node. Regards, Jisha Mary Jose ..jMj.. On 10 July 2014 13:05, Eric Decker cire...@gmail.com wrote: asked and answered. The random number generator is pseudo-random. It starts up using a SEED which you need

Re: [Tinyos-help] PppRouter (msp430-ld: region text is full) in Telosb

2014-07-09 Thread Eric Decker
try using the 4.6.3 mspgcc compiler. I beleive it generates better code. Also what kind of optimization are you using. On Wed, Jul 9, 2014 at 9:18 AM, Alex CP cpa9...@gmail.com wrote: Dear Thomas. Thanks for you answer. I've commented these lines but error persists: msp430-ld: region

Re: [Tinyos-help] read and configure the content of preamble

2014-06-16 Thread Eric Decker
I am not aware of anyway using the cc2420 h/w to get access to manipulating the preamble. So I would say no it isn't possible. Can you send me a copy of the paper Packet Combining in Sensor Networks and I'll see if I can figure out what they were doing. On Mon, Jun 16, 2014 at 7:31 AM, 俞杰

Re: [Tinyos-help] read and configure the content of preamble

2014-06-16 Thread Eric Decker
they are doing with the preamble. Typically one doesn't get the preamble out of the 2420. On Mon, Jun 16, 2014 at 10:28 AM, Eric Decker cire...@gmail.com wrote: I am not aware of anyway using the cc2420 h/w to get access to manipulating the preamble. So I would say no it isn't possible. Can

Re: [Tinyos-help] unable to install msp430-47 - missing dependency msp430-gdb-47

2014-06-10 Thread Eric Decker
that should work. I'll take a look. On Tue, Jun 10, 2014 at 12:11 PM, Isam Ishaq isam.is...@intec.ugent.be wrote: Hello, I am following the instructions at http://tinyprod.net/repos/debian/README-47.html to install msp430-47 on ubuntu 12.04 (arch: x86_64). However It seems that required

Re: [Tinyos-help] USART problem about mica2

2014-06-10 Thread Eric Decker
Hi, I'm sorry you are having a problem. Unfortuneatly TinyOS 1 has been deprecated for many many years now. It is very unlikely that anyone will pay enough attention to help you. I'd recommend you upgrade to TinyOS 2.1.2 On Tue, Jun 10, 2014 at 11:53 AM, 管连勇 inagtech...@126.com wrote: Hi

Re: [Tinyos-help] Blip - fragment hop-by-hop forwarding - without reassembly

2014-06-10 Thread Eric Decker
2008 predates when we were on git. However, the svn commits propagated over into git. but the blip code migrated over later so it is unclear where the change occurred. It most likely was out of tree changes that didn't get tracked. Brad, any thoughts? On Tue, Jun 10, 2014 at 11:01 AM,

Re: [Tinyos-help] warning in FcfsResourceQueueC.nc after upgrading avr-gcc

2014-06-09 Thread Eric Decker
}; uint8_t resQ[size]; Thanks, Lewis On Mon, Jun 9, 2014 at 12:43 AM, Eric Decker cire...@gmail.com wrote: how is resQ[] defined? On Sun, Jun 8, 2014 at 7:05 PM, Roadstar Runner redstripe...@gmail.com wrote: I recently upgraded to avr-gcc 4.9.0 and am getting a few warnings

Re: [Tinyos-help] Bug in ArbiterP.nc ?

2014-06-07 Thread Eric Decker
I think you have found the ping/pong bug. Namely if two users are trying to share a resource and want to give up the resource but immediately re-request it (so they ping/pong), then it doesn't work. I have a fix but need to finish putting it together. On Sat, Jun 7, 2014 at 7:03 PM, Roadstar

Re: [Tinyos-help] Is TinyOS slowly dying ????

2014-05-30 Thread Eric Decker
No TinyOS isn't dying. However, the main developers all have other primary tasks so getting things done is a little bit like herding cats. But thinks do happen. hang in there. On Thu, May 22, 2014 at 2:46 PM, Roadstar Runner redstripe...@gmail.com wrote: I honestly think TinyOS is dying!

Re: [Tinyos-help] Regarding Value of Program Counter

2014-05-29 Thread Eric Decker
On Thu, May 29, 2014 at 5:12 AM, Neelam Surti neelamsu...@gmail.com wrote: Hi Rashid, Thanks for the reply, here in my program i am working on PC-Program Counter value which is also known as IP - Instruction Pointer value. I want to know that whether the current instruction executed is a

Re: [Tinyos-help] Regarding Value of Program Counter

2014-05-29 Thread Eric Decker
On Thu, May 29, 2014 at 4:43 AM, Neelam Surti neelamsu...@gmail.com wrote: Hi all, I am working on a program were i want to check whether the current program counter value matches with a specific value than i want do some task. what problem are you trying to solve? why is the program

Re: [Tinyos-help] output using TOSSIM without any simulator

2014-05-28 Thread Eric Decker
I don't use TOSSIM but it is my understanding that tossim will output to your controlling terminal. Where you launched it from. I'd say try building something with it and see what happens. then figure it out from there. On Wed, May 28, 2014 at 9:50 PM, manishkk

Re: [Tinyos-help] i can't install blip

2014-05-21 Thread Eric Decker
Because Karmic is very very old. And is no longer supported. looks like they took the pools down. On Wed, May 21, 2014 at 1:22 PM, Soumia Baba soumiab...@gmail.com wrote: I have an installation problem I installed a machine virtuelbox also ubuntu- tos image of this site

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] TinyOS support for Atmel chips on newer ZigBit modules (ATZB)

2014-04-25 Thread Eric Decker
I started with the Sam code for the CC2520 and ended up chucking the lot and started from scratch. I have a well tested CC2520 and CC2520/2591 driver off in the tinyprod code. On Wed, Apr 23, 2014 at 9:50 AM, András Bíró andras.b...@ucmote.com wrote: That's intresting, we tried to use the

Re: [Tinyos-help] Problem when installing TinyOS

2014-04-18 Thread Eric Decker
the error (The following signatures couldn't be verified because the public key is not vailable: NO_PUBKEY BD4DDD22F99BE531). I've followed the key installation procedure that Eric Decker listed in http://tinyprod.net/repos/debian/;. However, it still does't work. This is not the first time

Re: [Tinyos-help] Measure the number of DCO ticks on TelosB mots

2014-03-27 Thread Eric Decker
On Tue, Mar 25, 2014 at 7:58 AM, Dingming Wu dmwu0...@gmail.com wrote: Hello everyone, I am running an application requires time information with very high precision. I know the MCU of TelosB has an internal DCO runs at a frequency of 4MHz, which means a DCO tick or a no operation

Re: [Tinyos-help] Measure the number of DCO ticks on TelosB mots

2014-03-27 Thread Eric Decker
document it. Yes you should be able to set it to /1 however that effects some other timing things and I dont remember all of them. Thank you Eric. 2014-03-27 14:41 GMT+08:00 Eric Decker cire...@gmail.com: On Tue, Mar 25, 2014 at 7:58 AM, Dingming Wu dmwu0...@gmail.com wrote: Hello

Re: [Tinyos-help] AlarmMicro16C() not working

2014-03-21 Thread Eric Decker
look at the code generated and see how the h/w signal (event) flows back. If you post your TestC application code and its wiring, I'll try compiling it and looking my self. I'm not going to try to recreate what I think you did. On Fri, Mar 21, 2014 at 11:17 AM, wasif masood rwmas...@gmail.com

Re: [Tinyos-help] AlarmMicro16C() not working

2014-03-20 Thread Eric Decker
, TinyOS-2.1.2. I did the two step installation iwth Debian packages from http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_TinyOS_2.1 and then later upgraded to mps430-47 tool chain to be used with Z1 nodes! BR, Wasif! On Wed, Mar 19, 2014 at 11:04 PM, Eric Decker cire

Re: [Tinyos-help] AlarmMicro16C() not working

2014-03-19 Thread Eric Decker
post all your code and I'll look at it. The TestC module. better yet. push your tree to a private github account. what version of tinyos are you using? where did you get it, etc. On Wed, Mar 19, 2014 at 5:56 AM, wasif masood rwmas...@gmail.com wrote: Dear All, Somewho, the

Re: [Tinyos-help] nesC pointer

2014-03-13 Thread Eric Decker
need more context to answer your question. why don't you attach the actual source code you are talking about and be sure to tell us what lines in particular are being bitched about. On Wed, Mar 12, 2014 at 1:13 AM, Bogdan Chifor chiforbogda...@gmail.comwrote: Hello, I am a newbie in

Re: [Tinyos-help] ROP attack on TinyOS

2014-03-01 Thread Eric Decker
what does ROP mean? On Sat, Mar 1, 2014 at 3:53 AM, Neelam Surti neelamsu...@gmail.com wrote: Hi All, I am working on Code attestation in wireless sensor network. Within which i am focusing on attacks without changing the program code like ROP attack. I want to know that whether ROP

Re: [Tinyos-help] msp430-46 unable to install

2014-02-25 Thread Eric Decker
On Tue, Feb 25, 2014 at 2:54 AM, Vandana Bhasin vandana.bha...@yahoo.comwrote: Hello, I am unable to install the msp430-gdb-46 package. A similar error message pops up for other msp packages apt-get install msp430-gdb-46 Reading package lists... Done Building dependency tree Reading

Re: [Tinyos-help] msp430-4.6.3

2014-02-25 Thread Eric Decker
you really want to use the command: sudo apt-get install msp430-46 On Mon, Feb 24, 2014 at 10:46 PM, Vandana Bhasin vandana.bha...@yahoo.comwrote: Hello, I am unable to install the package msp430-4.6.3 on ubuntu using command sudo apt-get install msp430 4.6.3 It gives an error

Re: [Tinyos-help] Bootloader for TelosB mote

2014-02-24 Thread Eric Decker
the bootloader is a TI thing and is embedded in the chip. there is h/w on the telosb that lets the user invoke the bsl (BootStrap Loader, bsl) by wiggleing pins via the USB chip. I personally use jtag pods because they also let me debug in-situ. On Mon, Feb 24, 2014 at 6:02 AM, Premkumar

Re: [Tinyos-help] TOSThreads BaseStation demo (2.1.2)

2014-02-14 Thread Eric Decker
, Stephen Schaub ssch...@gmail.com wrote: Eric, I am researching TOS threading approaches. I thought I would start with tosthreads since it is included in the distribution. On 2/13/2014 10:42 PM, Eric Decker wrote: why are you using tosthreads? On Thu, Feb 13, 2014 at 11:12 AM, Stephen

Re: [Tinyos-help] TOSThreads BaseStation demo (2.1.2)

2014-02-14 Thread Eric Decker
...@gmail.com wrote: Thanks for the info about tosthreads not being maintained. That's helpful to know. I would be interested to know if there are any competitively multithreaded solutions for TOS that are being actively supported. Stephen On 2/14/2014 2:33 PM, Eric Decker wrote: tosthreads

Re: [Tinyos-help] TOSThreads BaseStation demo (2.1.2)

2014-02-13 Thread Eric Decker
why are you using tosthreads? On Thu, Feb 13, 2014 at 11:12 AM, Stephen Schaub ssch...@gmail.com wrote: I have not had success using TOSThreads to write to the Uart interface. So, I devised the following test. Using tinyos-2.1.2 distribution, I performed the following test with two telos

Re: [Tinyos-help] Setting breakpoints with JTAG

2014-02-12 Thread Eric Decker
It would be helpful if you specified what toolchain you are using and in particular what debugger. On Wed, Feb 12, 2014 at 1:30 PM, Roadstar Runner redstripe...@gmail.comwrote: I am trying to debug a simple TinyOS Blink program on the IRIS motes using avr studio (JTAGICE MKII). I was able

Re: [Tinyos-help] Generating 40khz PWM telosb

2014-02-10 Thread Eric Decker
It is kind of hard to visualize what the code does unless one is very very familar with how that part of the msp430 operates. the best way is to hook an oscilliscope up to the pin to verify the correct operation. On Mon, Feb 10, 2014 at 10:13 AM, Mehmet Fatih mehmetfatih4...@mail.ruwrote: Hi,

Re: [Tinyos-help] tinyos installation

2014-02-05 Thread Eric Decker
You are using Ubuntu which is based on Debian and uses .deb packages (not rpms). There are reasonable instructions (although you might have to change things around a little) at Development_Environmenthttps://github.com/tp-freeforall/prod/blob/tp-master/00b_Development_Environment no rpms

Re: [Tinyos-help] warning: call via function pointer

2014-02-05 Thread Eric Decker
The implication is just that it is dangerous. If something hammers the pointer the call will go off in the weeds. Its use is discouraged because of this for embedded systems that need to be extremely robust. But it happens. And if you know what you are doing and are willing to accept the

Re: [Tinyos-help] Finding duty cycles of mote

2014-01-16 Thread Eric Decker
16, 2014 at 4:26 AM, Eric Decker cire...@gmail.com wrote: I do not know of any instrumentation in the existing code base that provides for this. What I've done in the past is we instrumented mcusleep by toggling a pin that we could observe with an oscilliscope and watched the duty cycle

Re: [Tinyos-help] TinyOS installation problem

2014-01-15 Thread Eric Decker
what mcu do you need? there is a working repository for debian based installs (like Ubuntu) at tinyprod.net/repos/debian instructions can be found at https://github.com/tp-freeforall/prod/blob/tp-master/00b_Development_Environment On Mon, Jan 6, 2014 at 5:57 PM, Dor, Rahav

Re: [Tinyos-help] Finding duty cycles of mote

2014-01-15 Thread Eric Decker
I do not know of any instrumentation in the existing code base that provides for this. What I've done in the past is we instrumented mcusleep by toggling a pin that we could observe with an oscilliscope and watched the duty cycle of our particular application. If you have a rock solid time base

Re: [Tinyos-help] regarding installation of tinyos-2.x on mac os

2014-01-15 Thread Eric Decker
try googling ... tinyos install on mac os x i found the following links... http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_TinyOS-2.x_on_Mac_OS_X_(Snow_Leopard) which also points at Unofficial MacPorts for TinyOS https://github.com/razvanm/macports

Re: [Tinyos-help] Anaren A1101R09x CC1101 based 900MHz motes

2014-01-09 Thread Eric Decker
On Sun, Jan 5, 2014 at 1:54 PM, John Griessen j...@ecosensory.com wrote: What is the closest mote to using a precertified module like Anaren's? The LSR mote? I don't know of any others but the LSR module qualifies. I don't know how all the FCC stuff works. So I don't know if one puts one's

Re: [Tinyos-help] Async Timer in sleep mode

2014-01-08 Thread Eric Decker
On Wed, Jan 8, 2014 at 11:05 AM, Roadstar Runner redstripe...@gmail.comwrote: Thanks for your reply. I have been experiencing some packet loss, this requiring retries at the application level. Since i have a few other tasks doing various other things in the system, i presumed that it could be

Re: [Tinyos-help] Iris Low power listening radio lockup

2014-01-08 Thread Eric Decker
Roadstar Runner, can you please do a verbose build and send us the output. That will tell us exactly what modules you are pulling in. Also where did your source come from? Is from the release on github or the development trunk on github or somewhere else. On Wed, Jan 8, 2014 at 6:18 AM,

Re: [Tinyos-help] Parametrized interface with alias - compile error

2013-12-27 Thread Eric Decker
communication tasks as high priority tasks, hoping increase throughput. If needed i can submit my changes to the TinyOS community so that others can benefit from it. Please let me know what you think. Levi On Fri, Dec 27, 2013 at 1:58 AM, Eric Decker cire...@gmail.com wrote: On Thu, Dec 26

Re: [Tinyos-help] Has anyone thought about how the Ciseco XRF could be integrated with TinyOS?

2013-12-27 Thread Eric Decker
Well sort of. The LS Research module (lsrdev) is a combined msp4305437a coupled with a cc2520/cc2591 radio combination. It is FCC certified. However we don't talk to it as a seperate multi-processor but rather I put TinyOS down onto the module itself. On Fri, Dec 27, 2013 at 10:38 AM, John

  1   2   3   4   5   6   7   8   9   10   >