BLE Bluetooth Remote Configure
Table of Contents:
- 1. Overview
- 2. Support Models
- 3. How to connect
- 4. Access Password and Command
- 5.Use MAC Bluetooth to connect to nodes
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
Here list the models that support BLE and the method to activate BLE function.
Models | BLE Activate Method | Comments |
---|---|---|
All models with -LB, -LS , -NB, -NS, -CB, -CS suffix | 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. |
3. How to connect
3.1 Use Dragino Device Tool to configure or upgrade firmware
3.1.1 How to download
Scroll to the bottom of the page, click Attachments, and click Device Tool_1.1.apk to download.
3.1.2 How to configure
Install in mobile and run. Press the reset button of the device to be tested, and then click "Scan for Bluetooth devices". Find the correct device and connect(the correct device name should be the same as the DEV EUI of the device).
After the connection is successful, enter the interface and click "Conversation".
Each device has unique password named AT PIN. Input the password and you will be able to get access to the UART of the device.
Enter AT PIN + line break in the dialog box, click "Send", and return the data display "Password Correct" to start configuring the AT command.
Note:
Device Tool_1.1 is now compatible with sending commands without line breaks, and supports the simultaneous configuration of multiple AT commands. A record is also automatically saved after an instruction is sent, and clicking on a command in the history will display it directly in the input box.
3.1.3 How to upgrade firmware
3.1.3.1 NB series
"Upgrade Device".
Open the Devices Tool and click onSelect the device type and click "NB".
Enter the IMEI (DEV EUI) of the upgraded device, enter the password (PIN), click "Choose File" to find the file you want to upgrade, and then click "Start". While waiting for the upgrade, let the device reset once. If it keeps stopping on the download screen, you can try pressing the reset button of your device.
Note: The password check function will only take effect if the DRAGINO NB bootloader is v1.3. If the version is earlier than 1.3, whether the password is entered correctly does not affect the NB upgrade.
In addition, the firmware upgrade supports importing the IMEI upgrade file, manually select the IMIE required in the file, and the password (PIN) will be entered automatically.
When the upgrade is complete, it will prompt:"updata successfully".
3.1.3.2 LB series
The LA66 USB connects to the phone via the USB-Type c adapter.
After the connection is successful, the phone will pop up a prompt box, check it and click to confirm
Then, the LB upgrade interface of Device Tool will automatically open. Follow the steps in order:
① Enter the DUIEI,
② Enter the PIN (the PIN is the last 8 bytes of APPSKEY),
③ Select the LoRa frequency,
④ Choose the upgrade file,
⑤ After pressing the device's reset button, click start.(If the upgrade does not start for a long time, you can press the device reset button again.)
When the upgrade is complete, it will prompt:"updata successfully".
3.1.4 How to export logs
Open the Devices Tool and click the icon in the upper right corner.
select the log you want to export, then click the share icon on the far right to enter the document that comes with your phone and choose to export it.
3.2 How to use PC to connect?
Firstly, a USB to Bluetooth host is required
Insert the Bluetooth host into the computer
Open the serial port assistant on the computer
Then connect according to the operating instructions of the purchased Bluetooth host
(be careful! The AT command in this description may be different from the AT command of the Bluetooth host you purchased. Please follow the instructions for the Bluetooth host you purchased)
The Bluetooth name to be connected is the DEVEUI of the node
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.Use MAC Bluetooth to connect to nodes
1.Download BLE terminal or BLE Device Info
2. Turn on MAC Bluetooth
3.Open the Bluetooth tool, check the Bluetooth list, and find the device name
4.Click Connect, find the read/write window, and you can complete the communication with the device.