Table of Contents:

1. Overview

There are some new models of Dragino sensors support BLE remote configure. User can use mobile phone to configure the sensor via BLE.

2. Support Models & Firmware

2.1 Hardware Models

Here list the models that support BLE and the method to activate BLE function.

Models⇵BLE Activate Method⇵Comments⇵

All NB-IoT /LTE-M models with BLE support

Normally Suffix -NB / -NS, -CB/-CS

Device is battery power type and BLE will be only activate on below case:

  • Press button to send an uplink
  • Press button to active device.
  • Device Power on or reset.

If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode

 
   

2.2 Where to find firmware

User can find the firmware in the NB-IoT Product Share directory: There are two kind of firmware:

  • .bin : original firmware file.
  • .hex : file with control / meta info.

Please note that user needs to use .bin file for update.

3. How to use PC to upgrade via BLE?

Step1: Connect a BLE USB to TTL Host into PC

Below is the example BLE to USB TTL adapter. Insert it to PC

image-20230601152950-4.png

Step2:  Modify Bluetooth host parameters to support Dragino Sensor Management Tool v1.4

The default baudrate of the general Bluetooth host is 9600, we can use the three commands: AT+BAUD7; AT+TIMEINQ40; AT+RESET to change the baudrate of the Bluetooth host to 115200, in order to support the use of Dragino Sensor Management Tool V1.4 to download the firmware faster.

If your Bluetooth host's baud rate is already 115200, please refer to Step3 directly.

  • Connect to Bluetooth host through serial port and send AT+BAUD7; AT+TIMEINQ40; AT+RESET successively, confirm that each command returns OK, and finally disconnect the serial port connection.

An example diagram is as follows:

image-20240911172933-1.png

Note:

1. Because the baudrate of the unmodified Bluetooth host is 9600, the serial port baud rate needs to be selected 9600 when sending the above three instructions.

2. These commands need to be used only once. After successful modification, the Bluetooth host baud rate is changed to 115200 and this change is maintained.

  • If the serial command sending fails, please modify the sending settings of the serial assistant as below:

image-20240912085133-1.jpeg

Step3: Download Dragino Sensor Management Tool

Download URL 

Step4: Update .bin Firmware

Note: Before upgrading, it is necessary to ensure that the baud rate of the Bluetooth host is 115200(Refer to Step 2).

  • Select the Dragino Sensor Management Tool parameter based on the screenshot example:

image-20240912092708-4.png

The IMEI set by the upgrade tool needs to match the IMEI scanned by the Bluetooth host before the upgrade will be performed.

image-20240912092847-6.png

Note: After the tool clicks start, please long press the ACT button of the node for 3s or press the Reset button of the node to reset the node. This will scan the Bluetooth of the node faster.

image-20240204115342-3.png

4. Access Password and Command

Each device is shipped with a label as below include 6 chars AT PIN. this is the PIN to access the console of sensor.

For AT Commands list please refer user manual for each sensor.

image-20240204111847-1.png

5.FAQ

5.1 What should I do if the upgrade process is automatically interrupted?

1. After the upgrade is interrupted, you need to close the wireless upgrade tool and reopen it later.

2. Before restarting the upgrade, you need to reset the Bluetooth host, otherwise the upgrade may not be possible.

image-20240912104347-7.png

Tags:
Created by Edwin Chen on 2023/08/09 18:19
    

No comments for this page

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