read a frame and process data received

I would like a router, formed only by a programmable module xbee, draw up the frame received from xbee (end network device), and to process the received data and then send them to the coordinator. how could I do this? I read that I could use CodeWarrior to program modules with c / c ++. can I also use python? and instead of java libraries?

thanks a lot

No, the XBee modules do not directly support Python. But you can use something like a Gateway that supports python to collect the data over an XBee network and do what ever you want with it.

so, i can programming xbee modules ( routers, end devices) only with c/c++ with codewarrior?

That is correct. The programmable XBee modules 2nd processor only works with C.