XBEE PRO S2C as coordinator for Smart Energy Profile

I am trying to configure, XBEE PRO S2C as coordinator for Smart Energy profile to communicate with Smart Energy Meters. I am using 5132 firmware version. I am not able to change the Zigbee Protocol Addressing fields. It gives Invalid command in response. On the same XBee pro module the works properly. Please help and tell me, if I am doing anything wrong.

The smart energy code uses API mode for all interactions. Not the AT commands.

Hey, I am using API command for interaction, still getting “invalid command” in response. Is any other way to change the Zigbee Protocol Addressing parameters like: Source Endpoint, Cluster ID etc.