BLE Firmware Update NB Sensors BC660K-GL

Version 33.1 by kai on 2024/09/11 18:01
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: The default baud rate of Bluetooth host is 9600, you need to use 9600 baud rate to send commands first.)

image-20240911172933-1.png

Step3: Download Dragino Sensor Management Tool

Download URL 

Step4: Update .bin Firmware

warning:Before upgrading, it is necessary to ensure that the baud rate of the Bluetooth host is 9600.

image-20240204114949-2.png

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