The code here provides you code for a Co-Ordinator(on a 2.4GHz Zigbee network) and End-Device(2.4GHz Zigbee Network). The code is written in C for AVR microcontroller.