Hi, I am using Zigbee (Tarang p20) module with Arduino uno R3.
How can I give AT commands to Zigbee module through Arduino code?
How can I give AT commands to Zigbee module through Arduino code?
That depends on how the Zigbee is connected to the Arduino. A link to the Zigbee you are actually using would be useful. I've never heard of a Tarang p20.
Tarang P20 details:
http://www.melangesystems.com/Pdfs/Tarang%20-%20Product%20Manual%202.2.pdf
Details start in section 6 of the pdf file. What have you tried?
Why is the Arduino going to send AT commands to the radio? All the configuration should be done before the Arduino ever sees the radio.