Thank you for the reply. Actually I want to know, how to enable 16 bit addressing in xbee s2c. In API mode, it is said that the coordinator gives random address to endpoint. Since ATMY command is read only we cannot change the 16 bit address. How to manually set the 16 bit address for an endpoint?