Network-related settings & Others

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

T, [s] = XX * 5. Value 0x00 isn’t applicable. Default value 0x78=10min

Example downlink: 0x10F0 – the server sets the join request 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).

LoRaWAN Region

This command reports the LoRaWAN Region your device is setup to work in. Make sure it matches you network as LoRaWAN regions/bands are country dependent. This region is hardcoded in the FW and the user can not change it, only report on it. The keep-alive in the command response is omitted for clarity.

Byte index

Sent request

Received response

0

A4 – Command code

A4 – Command code

1

Radio region: 00 => EU868

01 => AS923

02 => AU915

03 => US915

Example command, [Hex]: A400 – extracting the 1st byte value we get 00[HEX], thus the device operates in the EU868 LoRaWAN band.

Deep-sleep activation

If you plan to store the device and you want it to conserve maximum power, you can put it to sleep with the following command:

Byte index

Hex value – Meaning

0

3B – The command code.

1

01 – Enter deep sleep mode.

Example downlink: 0x3B01

If you put the device to sleep, you then need to follow the commissioning procedure described in the user manual to wake-up the device.

Full display refresh

In order to protect the display of the device from the so-called "ghosting", where an image becomes permanently imprinted on the e-ink display, we have to refresh it fully every max. 24 hours. If you decide, you can lower the full-refresh period, which can remove some dim artefacts from the display's partial refreshes.

Byte index

Hex value – Meaning

0

33 – The command code.

1

XX - Full display refresh in hours.

Acceptable values: 1 - 24 hours (0x01 - 0x18). Default value 0x0C=12hrs.

Example downlink: 0x330E - set the full display refresh period to 10 hours.

Last updated