Re: [Tinyos-help] Bootstrap loader synchronization error

2017-02-22 Thread James Allen (PGR)
I occasionally have the same problem. I don't have a fix, but I have found that it is an intermittent issue - just keep trying to install and eventually it will work. Sometimes it can take 10-20 attempts, sometimes it works the first time. Also try unplugging other USB devices - I have no

Re: [Tinyos-help] TinyOS with TOSSIM

2017-01-17 Thread James Allen (PGR)
Are you using the stable 2.1.2 release from https://github.com/tinyos/tinyos-release or the latest code from the main trunk https://github.com/tinyos/tinyos-main? If you're using the release version, might be worth checking your PYTHONPATH environment variable is set correctly: printenv

Re: [Tinyos-help] TinyOS with TOSSIM

2017-01-16 Thread James Allen (PGR)
Hi André, The key part of your output is "Unknown target telosb". If you check out the TOSSIM documentation on the TinyOS wiki you'll see that "Currently, micaz is the only platform supported by TOSSIM": http://tinyos.stanford.edu/tinyos-wiki/index.php/TOSSIM There is a contrib project

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

2017-03-02 Thread James Allen (PGR)
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 RadioCountToLedsC module to the CC2420PacketC component which provides it, which seems correct to me: App.CC2420Packet -> CC2420PacketC So not sure what to

[Tinyos-help] TEP links broken on TinyOS wiki

2016-09-30 Thread James Allen (PGR)
Hi, All the links to TEPs at the following URL appear to be broken: http://tinyos.stanford.edu/tinyos-wiki/index.php/TEPs Is there an alternative way to view TinyOS TEPs or does someone know the administrator who can fix the links?

[Tinyos-help] Nesdoc fails with 'output pipe has been closed' on some example apps

2016-12-05 Thread James Allen (PGR)
Hi, I'm getting an error using nesdoc on some apps and not others, hoping someone can give me a hint or at least confirm whether or not they see the same error. -- My setup -- I'm working with the latest TinyOS 2.1.2 code base. I started with a clean Ubuntu Server 14.04, installed packages

Re: [Tinyos-help] how to sample the channel power when no node is transmitting?

2016-12-22 Thread James Allen (PGR)
Hi, Have a look at the application in apps/tests/cc2420/RssiToSerial - this is basically exactly what you need. It's a simple app which takes batches of readings from the RSSI register, averages them and sends the results in packets over serial. There is also a java app (SpecAnalyzer.java) to

Re: [Tinyos-help] TOSSIM - Topology

2017-04-12 Thread James Allen (PGR)
Hi André, I'm not sure I understood your question 100% but hoping this clarification might help. I haven't used LinkLayerModel myself, but looking at the documentation in the TinyOS code base (/doc/html/tutorial/usc-topologies.html) this appears to be a tool which attempts to solve a very

Re: [Tinyos-help] Time slot time

2017-03-21 Thread James Allen (PGR)
Hi, Sorry but I can't figure out from your post what exactly the question is. Can you rephrase the question with more detail or give some context of what you're trying to achieve? James From: arsaraiva Sent: ‎20/‎03/‎2017 18:02

Re: [Tinyos-help] Transmission Range

2017-05-11 Thread James Allen (PGR)
15, 19, 23, 27 and 31 and see what happens. James From: arghav...@cs.otago.ac.nz <arghav...@cs.otago.ac.nz> Sent: 09 May 2017 20:24:18 To: James Allen (PGR) Subject: Re: [Tinyos-help] Transmission Range Hi James, I did not set it in Make file. I have use

Re: [Tinyos-help] Variable with static TOS_NODE_ID

2017-05-11 Thread James Allen (PGR)
Hi Andre, It's difficult to tell what's going on here as this kind of problem really needs a small, concise piece of code to help explain what you are doing (see https://stackoverflow.com/help/mcve for some pointers). I'm not sure but I think you may be misunderstanding the sequence of events

Re: [Tinyos-help] Transmission Range

2017-05-09 Thread James Allen (PGR)
HI Abbas, How are you setting your 'power level 1' , 'power level 2' etc.? Is this using CFLAGS in your Makefile or are you calling setPower on the packet, or something else? Please share your code. James From: tinyos-help-boun...@millennium.berkeley.edu

Re: [Tinyos-help] Variable with static TOS_NODE_ID

2017-05-09 Thread James Allen (PGR)
In your startDone function, your line: dbg("teste", "ENVIAR_PKT_DADOS: destino %hu nodeid %hu slot %hu [cont %hu] no tempo=%lu.\n", syncwith, nodeid, slot, cont, call Clock.get()); As far as I can tell, you haven't actually declared or assigned a variable called 'nodeid'. Perhaps you meant to