[Tinyos-help] CTP in TestNetwork questions
gnawali at cs.stanford.edu
Mon Apr 12 13:22:40 PDT 2010
On Mon, Apr 12, 2010 at 9:11 AM, David Li <w.david.li at gmail.com> wrote:
> I was trying to set up a CTP example using TestNetwork app. But the
> instructions in README is a little confusing to me.
> According to the README, I will need to install this app on two motes which
> I did:
> "To test, start with two motes with no program that transmits
> packets. Example., erase the mote or install Blink. Program a mote with
> node id 0. The mote will toggle led1 (green on TelosB) approximately
> every 8s. Then program the second mote with id 1. Once programming is
> complete, the mote with id 0 will toggle led1 twice every 8s. Each
> toggle corresponds to the reception of collection message (once from
> itself, and once from the mote with id 1)."
> So I installed the app on two Iris motes. But none of them is blinking any
> LEDs. I wonder maybe I misunderstood something. Also do I need to install a
I just tested it on a TelosB and I was able to see what the README describes.
You can start with one mote. Program that mote with TestNetwork
application with id 0. You should see the LED toggle. It could take up
to 12s to toggle the LED.
You do not need any base station for this test.
More information about the Tinyos-help