R309 AT Commands
©2015 Telegesis (UK) Ltd - 23 - AT Command Manual (Rev 3.09)
AT+JN
Use on:
All nodes which are not part of a PAN
Note
Joining a PAN can take up to 4 seconds,
depending on the number of channels which
need scanning.
This command can only be executed if the local
node is not part of a PAN already.
Response
JPAN:<channel>,<PID>,<EPID>
OK
or ERROR:<errorcode>
<errorcode> represents the error code explained
in section 3.
The local node scans all channels selected in
register S00 for the existence of a PAN. When
finding a PAN which allows joining it will
automatically join via the router with the best
signal quality.
When registers S02 and S03 differ from the
default value of all zeros the node will only join a
PAN with the specified Pan ID and/or extended
PAN ID.
On the Trust Centre / Coordinator
NEWNODE:<node EUI64>,
<Network address>,<parent EUI64>
+JPAN – Join Specific PAN
AT+JPAN:<channel>,<PID or EPID>
Examples
AT+JPAN:20,1234
AT+JPAN:24,0793E14FFB220A38
Use on
All nodes which are not part of a PAN
Notes
This command can only be executed if the local
node is not part of a PAN already.
The JPAN command ignores the channel mask
in register S00 and the PID and EPID settings in
S02 and S03.
JPAN:<channel>,<PID>,<EPID>
OK
or ERROR:<errorcode>
<errorcode> represents the error code explained
in section 3.
The local node joins a particular PAN on
<channel> with the specified <PID> or <EPID>
via the router with an adequate signal quality
and the fewest hops to the COO.
On the Trust Centre / Coordinator
NEWNODE:<node EUI64>,
<Network address>,<parent EUI64>