Network-related settings

Available for firmware version 1.5 or later.

Join-retry period

This command is used to set the period (T) of LoRaWAN join request sending from the device, in case it was unable to join the network from the first attempt.

Byte index

Hex value – Meaning

0

10 – The command code.

1

Default value: 0x78 * 5 = 600 sec = 10 minutes.

Example command: 0x10F0 – the server sets join request send period to 20 minutes.

This join retry period (T) must comply to LoRaWAN messages duty cycle. Otherwise the join request will be sent on the next attempt. In most of cases, min. acceptable value for T is 240s. Recommended are higher values, for less battery discharge, e.g. 480s.

This join retry period (T) is for the first 15 sent messages. After, the used LoRaWAN stack automatically changes the possibility to send join request to ~20 minutes for 20 network join attempts. If the device is still not joined to the network after these 20 attempts, next join request can be sent after ~3 hours and 15 minutes.

Communication Watch Dog

There is a Watch Dog functionality that forces the device to reset, so it can rejoin the network in case a certain threshold has been reached where no downlinks have been received. There are 2 independent threshold values, one for confirmed mode and one for unconfirmed mode.

When working in confirmed mode if no downlink is received for the period defined by the Watch Dog Period (WDPconfirmed) parameter (see table below), the device resets itself.

When working in unconfirmed mode if no downlink is received for the period defined by the Watch Dog Period (WDPunconfirmed) parameter (see table below), the device resets itself.

The command is described in the table below. The keep-alive in the response is omitted for clarity.

Byte index

Hex value – Meaning

0

1C – The command code.

1

XX – Watch Dog Period (WDP) when confirmed uplinks are used by the device.

XX defines how many uplinks should be received without ACK so that the device restarts. On top of that XX uplinks, another 7 minutes should pass before the device restarts.

Default value for XX: 0x02. Note that value 0x00 disables the functionality when confirmed uplinks are used.

2

XX – Watch Dog Period (WDP) when unconfirmed uplinks are used by the device. Value is represented in hours.

Default value for XX: 0x18. (24 hours)

Note that value 0x00 disables the functionality when unconfirmed uplinks are used.

Example command, [Hex]: 1C0300 – Assuming that the Keep-alive period is 5 minutes, the device will wait for 3x5+7 = 22 minutes before resetting if confirmed uplinks are used. If unconfirmed uplinks are used the functionality is disabled (0x00).

Last updated