BLE Firmware Update for NB-IoT Node
Table of Contents:
- 1. Overview
- 2. Support Models & Firmware
- 3. How to use PC to upgrade via BLE?
- 4. Access Password and Command
- 5.FAQ
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:
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
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:
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:
Step3: Download Dragino Sensor Management Tool
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:
The IMEI set by the upgrade tool needs to match the IMEI scanned by the Bluetooth host before the upgrade will be performed.
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.
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.
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.
No comments for this page