Table of Contents:

1. Overview

There are some new models of Dragino sensors support OTA update via Private LoRa Protocol, (Even the sensor runs LoRaWAN protocol by default)

2. Support Models

Here list the models that support OTA Update.

ModelsFirmware VersionComments
PS-LB, SDI-12-LBAll firmware version 
SN50v3-LBAll firmware version 
D20-LB/D22-LB/D23-LBAll firmware version 
LHT65N-PIRAll firmware version 

3. How to do OTA update

3.1 Required Components

3.2 Update Steps

Step1 : Plug LA66 USB to PC and run OTA_Tool.

image-20230114172703-1.png

Step2: Set up OTA Tool

  • DevEUI: Input Dev EUI of your sensor
  • Password: Passord of your sensor
  • Port: Com port of LA66 USB
  • LoRa_Freq: Choose the shipped frequency band of your sensor.
  • Upload_File: The firmware to be upload to the sensor. make sure the firmware is with surfix _without_bootloader. For example: LHT65N_EU868_v1.5_without_bootloader.
  • EUI File: If customer has lots of sensors. He can also import the Dev EUI files and use droplist to choose the sensor to update. Format is as below:

image-20230114174640-3.png

Step3: Press Start in OTA Tool and then Press Reset button to restart LA66 USB

After press reset button, LA66 USB will restart and broadcast update process with the Dev EUI and Password.

Step4: Press reset button on the end node, or re-activate the end node.

In every reboot/ reactivate, the end node will check if there is update request. If end node gets the update request from LA66. End node will check if the Dev EUI and Password match. If match, End node will establish connection with LA66 USB for OTA update.

Step5: Check result.

Below shows the update successul result.

image-20230114174134-2.png

4. OTA Tool Known Bug:

1. If user click "Start" but there is issue during update. User may need to close and open the tool again.

 

Tags:
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0