Table of Contents:
There are some new models of Dragino sensors support BLE remote configure. User can use mobile phone to configure the sensor via BLE.
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 | |
User can find the firmware in the NB-IoT Product Share directory: There are two kind of firmware:
Please note that user needs to use .bin file for update.
Note: Using Dragino Sensor Management Tool to upgrade firmware only supports burning firmware without bootloader. If the firmware with bootloader is burned, the node will always restart after running.
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.
Open the serial assistant and send AT+INQ (remember to bring carriage return and line feed).
Seeing this interface proves that the host is working properly:
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.
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).
The following screen indicates that the Bluetooth host has successfully connected to the node and started the upgrade
Note:
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.
Example:
How to operate:
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.
If the user burns the firmware with a boot loader, the following situation may occur.
Therefore, users need to select firmware without boot loader when burning firmware.