AT+PANSCAN[:[b][,XXXX][,dd]]
When specifying a value of 0 or 1 for b only
responses from nodes with the joining status set
accordingly will be shown. Specifying a channel
mask using XXXX will override the setting of
S00 for this specific command. Using dd it is
possible to modify the scan time per channel
(default = 3).
(00 = 31ms, 01 = 46ms, 02 = 77ms,
03 = 138ms, 04 = 261ms, 05 = 507ms,
06 = 998ms)
Examples
AT+PANSCAN
AT+PANSCAN:1
AT+PANSCAN:1,03
AT+PANSCAN:03
AT+PANSCAN:FF0F
AT+PANSCAN:FF0F,03
AT+PANSCAN:1,FF0F
AT+PANSCAN:1,FF0F,03
Use on:
All nodes
Note
Scanning for active PANs can take up to 4
seconds when dd=3
+PANSCAN:<channel>,<PID>,<EPID>,XX,b
OK
or
+PANSCAN:<channel>,<PID>,<EPID>,XX,b,
<rssi>,<LQI>
OK
or ERROR:<errorcode>
<errorcode> represents the error code explained
in section 2.10. The node gives a list of all
PANs found. <channel> represents the channel,
<PID> the PAN ID, <EPID> the extended PAN
ID, XX the ZigBee stack profile (00 = Custom,
01 = ZigBee, 02 = ZigBee PRO) and b indicates
whether the network is allowing additional nodes
to join (1 = joining permitted). The node does
not join any of the PANs found.
If bit E of S0F is set the response includes RSSI
and LQI