[Tinyos-help] catching a single event from within a component and passing it ou t to my programme? Tos2,Micaz

Murray, Ben Ben.Murray at thalesgroup.com
Thu Sep 27 07:14:46 PDT 2007


Is there a simple way to catch the triggering of a single event within a
module (assuming the module/component contains a number of commands and
events and signals etc) and to pass just this event out to my component?

This question stems from using low power listening and a wish to know when
energy has been detected, not just when a packet has been received so that I
know when as an extra long "listen/wake" time has elapsed without a package
being received. The specific event I would like my programme to know about
is PowerCycle.detected() and the subsequent call of startOffTimer().

Is there an easy way to catch just this event within my programme without
interfering with the general operation of LPL?

MyAppC.detectiontriggered -> PowerCycleP.detected
...or something?

TinyOS 2.0.2
Micaz & mib510
XP/Cygwin

many thanks,
Ben

*******************************************************************************
Please consider the environment before printing this email.
*******************************************************************************
This email and any files transmitted with it are intended solely for the use of
the individual or entity to whom they are addressed and may not be divulged to
any third party without the express permission of the originator.  Any views
expressed in this message are those of the individual sender, except where the
sender specifically states them to be the views of Thales Research & Technology
(UK) Limited.
*******************************************************************************



More information about the Tinyos-help mailing list