I’ve got a XBee device to connect to a network normally, then I set DJ to 0x01, request the device to leave (NR) the network, issue a scan (AS), then configure it to join one of the networks found by setting ID, SC, ZS and KY. After that, I set DJ to 0x00 and keep pooling AI, but the value never leaves 0xFF. What could be the reason for that?
Extra information:
- the first join after I connect to the device (and issue a reset) always work. I’m setting it’s parameter using the same functions on both cases.
- If instead of setting ID, SC and ZS, I leave ID = 0, SC = 0x7FFF and ZS = 0, it seems to work, but obviously may not join the correct network.