Thanks tem, i tried to debug one by one and finally i managed to communicate via xbee! but now i am having another problem in counting, which i am asking in another thread now at http://www.ccsinfo.co ...
I am connecting two XBEE together,
XBEE1 and XBEE2, XBEE1 as coordinator and XBEE2 as router.
I tried to connect them using XCTU and they are able to communicate with each other.