Hello,
I’m having problem when sending the active scan AT command from the end node device.
Setup:
1 Digi devkit configured as coordinator with an infinite node join time with an Extended PAN ID = 1122334455667788
1 Digi devkit configured as end node with an Extended PAN ID = 0
I think there is some confusion. Yes, the Routers and End Devices do preform an Active Scan to Join an Existing network. But you do not control that function. You do not have the ability to have a Router or End device manually preform an Active Scan to see what other networks are in range. That is, you would need to be able to turn off the capabilities of the Router or End device to Join a network. That is not a function you can do.
You can only turn off Joining on an Existing Network or on a Node once it has joined a network (NJ).
Sorry for the confusion. Basically I want my end node to find the coordinator, which is always joinable. I’m sending the “AS” AT command from my end node device. Most of the time I received the coordinator PAN ID but sometimes I do not received any response from the “AS” command. This is I described in my original post. Thanks.
By default, an end device is always trying to Join any network that is on the same PAN ID and Channel mask that is allowing Joining. You do not have the ability to turn off joining.
To do what you want, you would need to Turn off Joining first.
Before a device is associated to a network (AI != 0), it will continuously perform an active scan in the background, searching for a valid network to join. While this is occurring, you cannot manually perform an active scan using the AS command. You can bypass this restriction by setting DJ to 1. This will disable joining and halt the background active scans.
This is ONLY on the XBee 3 modules running the Zigbee function set.