BLE Firmware Update NB Sensors BC660K-GL

Version 41.1 by kai on 2024/09/12 10:43
Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

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.

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:Main.BLE_Firmware_Update_NB_Sensors_BC660K-GL.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

ModelsBLE Activate MethodComments

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

After using the serial port to connect to the Bluetooth host, send AT+BAUD7; AT+TIMEINQ40; AT+RESET three commands and then disconnect the serial port connecting to the Bluetooth host.

Note:

1.The default baud rate of Bluetooth host is 9600, you need to use 9600 baud rate to send commands first.

2. This command only needs to be modified once.After modification, the Bluetooth host will keep the settings and no modification is required for the next use.

image-20240911172933-1.png

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

1. warning:Before upgrading, it is necessary to ensure that the baud rate of the Bluetooth host is 9600.(Used only with v1.1 bootloaders)

image-20240204114949-2.pngx

2. warning:Before upgrading, it is necessary to ensure that the baud rate of the Bluetooth host is 115200.(Used only with v1.2 bootloaders)

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