Apps     Components     Interfaces     All Files     Source Tree     source: beta.CC2420Radio.ieee.802.15.4.MLME.MLME_BEACON_NOTIFY.nc

Interface: MLME_BEACON_NOTIFY

The MLME-SAP beacon notification primitive defines how a device may be notified when a beacon is received during normal operation conditions.
Author: Joe Polastre

Events

Events - Details

indication

void indication(uint8_t BSN, PANDescriptor_t PANDescriptor, uint8_t PendAddrSpec, uint16_t *AddrList, uint8_t sduLength, uint8_t *sdu)

Notification is issued upon receipt of a beacon frame either when macAutoRequest is set to FALSE or when the beacon frame contains one or more octets of payload.

Parameters:

BSN - The beacon sequence number

PANDescriptor - The PANDescriptor for the received beacon. See IEEE 802.15.4 specification page 76.

PendAddrSpec - The beacon pending address specification

AddrList - List of addresses of the devices for which the beacon has source data

sduLength - The number of octets contained in the beacon payload

sdu - Set of octets comprising the beacon payload