creating api frame in microcontroller

i am new with zigbee.I need to send an api frame from router to xctu i can send it.But in the project am doing, router is connected to a micro controller(at mega 8).is it possible to create the api frame in micro controller.if yes how?please answer quick.Thanking you in

Hi Anoop,

From AT Mega 8, UART port you can send HEX String to the XBee module, to send the API frame.

Also, check the follwing user manual for generating API strings.