X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Flib%2Fmac%2Ftkn154%2Finterfaces%2FMLME%2FMLME_BEACON_NOTIFY.nc;h=e014b56d19db650427ab5e6acabaf6b9ca86e487;hp=c7e81d940b0c1c6389c9e41ff734dc97f50a80e1;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 diff --git a/tos/lib/mac/tkn154/interfaces/MLME/MLME_BEACON_NOTIFY.nc b/tos/lib/mac/tkn154/interfaces/MLME/MLME_BEACON_NOTIFY.nc index c7e81d94..e014b56d 100644 --- a/tos/lib/mac/tkn154/interfaces/MLME/MLME_BEACON_NOTIFY.nc +++ b/tos/lib/mac/tkn154/interfaces/MLME/MLME_BEACON_NOTIFY.nc @@ -33,21 +33,29 @@ * ======================================================================== */ +/** + * The MLME-SAP beacon notification primitive defines how a device may be + * notified when a beacon is received during normal operating conditions. + * (IEEE 802.15.4-2006, Sect. 7.1.5) + */ + #include "TKN154.h" #include + interface MLME_BEACON_NOTIFY { /** - * A beacon frame has been received. This event is signalled only if - * either the PIB attribute macAutoRequest is set to FALSE or the - * beacon payload is not empty. + * A beacon frame has been received. This event is signalled only if + * either the PIB attribute macAutoRequest is set to FALSE + * or the beacon payload is not empty. * - * The beacon parameters can be accessed through the - * IEEE154BeaconFrame<\code> interface. The - * IEEE154Frame<\code> interface can be used to - * inspect the addressing fields in the MAC header. + * The beacon parameters can be accessed through the + * IEEE154BeaconFrame interface. The IEEE154Frame + * interface can be used to inspect the addressing fields in the MAC + * header. * * @param beacon The beacon frame + * * @return A frame buffer for the stack to use for the next received frame */ event message_t* indication ( message_t *beaconFrame );