[Tinyos-help] Multi-hop FTSP example
Omprakash Gnawali
gnawali at usc.edu
Tue Jun 16 13:41:15 PDT 2009
On Mon, Jun 15, 2009 at 7:54 AM, Andres Vahter<andres.vahter at gmail.com> wrote:
> I made a little test. I programmed 2 motes with TestFTSP and one mote
> with modified BaseStation.
> BaseStation sends after every second a message and if TestFTSP
> receives it then report is sent back to BaseStation and it can be
> seen with FtspDataLogger.
> Motes were synced with BaseStation therefore singlehop FTSP works.
>
> I added TimeSyncC to BaseStation.
>
> MainC.SoftwareInit -> TimeSyncC; // I understand these 2 lines take
> care of FTSP?
> TimeSyncC.Boot -> MainC;
>
> If TimeSyncC.Boot is called then motes are automatically synchronising
> their times with mote who has lowest ID number - isn't it?
> So i don't have to call myself FTSP message send command and I don't
> have to deal with FTSP receivings - I just have to wire right
> interfaces?
>
>
> What about multi-hop - what else must be configured - I can't get it
> working?
It should work with multihop without additional configuration.
- om_p
More information about the Tinyos-help
mailing list