I have 1 end device and 2 coordinators. The end device has panid = 0 and the coordinators have an specific panid, for example 9999 and 8888.
The end device, after making contact with a coordinator, gets the operating panid of the coordinator. If I switch the coodinator, the end device remains with the previous operating panid and reject the new coordinator.
How can I reset the operating panid for switching the coordinator and auto-redirect the end device?