Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MAC Beacon Application Device Host - SAM4L Xplained Pro Documentation

Preface

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

Application Files

Application Introduction

The basic MAC Example Beacon Application deploys a beacon-enabled network with star topology. The coordinator starts a PAN at channel DEFAULT_CHANNEL with the PAN ID DEFAULT_PAN_ID.

The coordinator starts a beaconing network and transmits user data within beacon payload of transmitted beacon frames. The device scans for this network,sync up with the coordinator and associates to the coordinator.The devices receive these beacon frames, extract the received user data from the coordinator ,print the received data on the hyper terminal and also sends the extracted beacon payload back to the coordinator. The coordinator also transmits broadcast data frames periodically.The devices receive these broadcast data frames and increase a counter. The coordinator also puts the data in the indirect queue periodically and transmits data frames based on the periodic poll request from the device. The results of the proper data transmission/reception are printed to a terminal program via Serial I/O (UART or USB). For demonstration purposes the coordinator's configuration is limited to associate maximum of 100 devices.

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

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.