R309 AT Commands
©2015 Telegesis (UK) Ltd - 21 - AT Command Manual (Rev 3.09)
2.7 Network Control & Configuration Commands
+ESCAN – Scan The Energy Of All Channels
AT+ESCAN
Use on:
All nodes
Notes
Scanning all channels can take up to 4 seconds.
The results are the background radio power in
each channel, not the RSSI of incoming ZigBee
packets
Response
+ESCAN:
11:XX
12:XX
…
26:XX
OK
or ERROR:<errorcode>
<errorcode> represents the error code explained
in section 3. XX represents the average energy
on the respective channel (see description in
Section 7). Channels masked out in S00 are not
scanned.
+EN – Establish Personal Area Network
AT+EN
Use on:
All nodes which are not part of a PAN
Note
When issuing this command the local device
becomes a Coordinator (and Trust Centre).
Establishing a PAN can take up to 4 seconds.
This command can only be executed if the local
node is not part of a PAN already.
JPAN:<channel>,<PID>,<EPID>
OK
or ERROR:<errorcode>
<errorcode> represents the error code explained
in section 3.
The local node becomes a coordinator and
performs an energy scan on all channels
selected in S00. It then starts a PAN with a
random unused PAN ID and extended PAN ID
on the quietest channel. If a PAN ID and/or
extended PAN ID is specified in S02 or S03 the
provided IDs are used instead of random ones,
given the selected IDs are not already in use by
other networks within range