I'm working with arduino and xbee s2c(zigbee th reg).
Now I'm trying to make my particular system to pair the devices.
First, I want to change one xbee to a "default" network(ID),then search for not registered xbees, regirter them, and then make them to change to the "communication" network(ID). When the search is complete, that xbee also goes to the communication network.
Things go right the first attempt, the xbee changes ID, make contact with the other xbee with that ID, make them change it, and then it changes its ID itself and make contact another time with them with the new ID.
The commands I've used are the next ones:
The problem is that it's not stable, if I want to make the process again with other ID for the "default" and "communication" channel, maybe they never start talking, even being in the same ID (make sure using ATID and reading the response)