SENA ProBee-ZE20S-SEME User Manual

Page 33

Advertising
background image

ProBee-ZE20S-SExx User Guide Rev 1.8

33

AT+PERMIT=255 or AT+PJ=255

The user can permit joining for a moment at need. The AT command to permit joining is

AT+PERMIT=n or AT+PJ=n

, where n is the duration to permit in seconds ranging 1~254 seconds.

The user can also configure the ZE20S to permit joining when the digital input GPIO0 is active. The AT

command to enable this functionality is as follows:

AT+GPIO0=5 or AT+IO0=5

When the ZE20S detects falling edge of the GPIO0, the ZE20S permits joining for the duration that is

configured in S-register 22 (S22). The AT command to change the duration is as follows:

ATS22=n

, where n is the duration to permit in seconds ranging 1~254 seconds. Default is 255.

S22 value determines the time that the device will allow other devices to join to it. If set to 255, the device

will always permit other nodes joining. If the user reboots the coordinator (or a router), the device allows

other nodes to join the network for the period defined by S-register 22.

Note: When a device that has joined a network reboots, the device is able to join the network regardless

of permitting. But, after the device has joined other network, rejoining the previous network should be

permitted by the coordinator or a router.

3.4.6

Add Pre-configured Link Key to Key Table

In ZE20S Smart Energy network, Coordinator acts as Trust Center. To permit joining other nodes, it needs

to add the long address and Pre-configured Link Key of the joining nodes to its Key Table. The AT

command to add Pre-configured Link Key to Key Table is as follows:

AT+KEYTABLE=n,long_address,link_key

, where n is the number of key table ranging 0~5, long_address is 64-bit IEEE address of joining node

and link_key is 128-bit pre-configured key of joining node.

AT+KEYTABLE is also used for getting Pre-configured Link Key in joining node. If you want to get Pre-

configured Link Key of joining node, you should input AT+KEYTABLE without parameters.

Advertising