Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MAC No Beacon Application Coordinator AT86RF212B (ATZB-212B-XPRO) - SAM D21 Xplained Pro Documentation

Preface

This is the reference manual for the IEEE 802.15.4 MAC No-Beacon Application

  • Coordinator

Application Files

  • main.c Application main file.

Application Introduction

The basic MAC Example Nobeacon Application deploys a nonbeacon-enabled network. The coordinator starts a PAN at channel DEFAULT_CHANNEL with the PAN ID DEFAULT_PAN_ID. The device scans for this network and associates to the coordinator. Once the device is associated, it uses a timer that fires every 5 seconds to poll for pending data at the coordinator by means of transmitting a data request frame to the coordinator. On the other hand every 5 seconds the coordinator queues a dummy data frame for each associated device into its indirect frame queue. If the coordinator receives a data request frame from a particular device, it transmits the pending data frame to the device. Device after receiving the data from the Coordinator sends back the same data to the Coordinator itself by direct data transmission The results of the proper data transmission/reception are printed to a terminal program via Serial I/O (UART or USB).

Note
For Two Processor Approach the Application needs to be flashed in the Host board(eg.SAM4L-Xplained Pro) and the Serial-if application(NoBeacon FFD) (MAC Stack) needs to be flashed in the NCP(Network CoProcessor) board.

For demonstration purposes the coordinator's configuration is limited to associate six devices at maximum .

Application Dependent Modules

Compilation Info

This software was written for the GNU GCC and IAR . Other compilers may or may not work.

References

1) IEEE Std 802.15.4-2006 Part 15.4: Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Low-Rate Wireless Personal Area Networks (WPANs).

2) Atmel Design Support.

Contact Information

For further information,visit www.atmel.com.