[Tinyos-help] CTP in TestNetwork questions

Miklos Maroti mmaroti at math.u-szeged.hu
Tue Apr 13 09:22:59 PDT 2010


Hi David,

I think it uses the default one, which is channel 11 on the IRIS. You
can use the Basestation and java net.tinyos.tools.Listen to list the
tos messages. the RF230Sniffer is good if you also want to see ack
packets and the times when these packets were transmitted.

Miklos

On Tue, Apr 13, 2010 at 6:10 PM, David Li <w.david.li at gmail.com> wrote:
> Hi Om_p:
>
> Thanks for the hint. Yes, now I can see the action matching the description.
>
> If I don't use a Basestation how can I view the packet from my PC host?  I
> want to use RF230 sniffer but I am not quite sure about which channel
> TestNetwork app is using. Is it Ch 15?
>
> - David
>
>
> On Mon, Apr 12, 2010 at 1:22 PM, Omprakash Gnawali <gnawali at cs.stanford.edu>
> wrote:
>>
>> On Mon, Apr 12, 2010 at 9:11 AM, David Li <w.david.li at gmail.com> wrote:
>> > Hi,
>> >
>> > 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
>> > Basestation?
>>
>> 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.
>>
>> - om_p
>
>
>
> --
> Regards,
>
> - David
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



More information about the Tinyos-help mailing list