type the link labelTable 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

Here list the models that support BLE and the method to activate BLE function.

ModelsBLE Activate MethodComments

All models with -LB, -LS , -NB, -NS, -CB, -CS suffix

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.

 

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 devices.tool.apk 1.1 to download.

image-20241114083612-1.png

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).

image-20241112140729-9.jpeg

image-20241112140748-10.jpeg

After the connection is successful, enter the interface and click "Conversation".

image-20241112141556-11.jpeg

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.

image-20241112143703-17.jpeg

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: When the password is displayed correctly, AT+CFG will be automatically sent and the returned message will be printed.

image-20241112143413-14.jpeg

3.1.3 How to upgrade firmware

Open the Devices Tool and click on "Upgrade Device"

image-20241112144653-18.jpeg

Enter the upgraded IMEI (DEV EUI), click "Select File" to find the file you want to upgrade, and click "Start". While waiting for the upgrade, ask the device to reset once.

image-20241112145833-20.jpeg

When the upgrade is complete, it will prompt:"updata successfully".

image-20241112150223-21.jpeg

3.1.4 How to export logs

Open the Devices Tool and click the icon in the upper right corner.

image-20241112151146-22.jpeg

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.

image-20241112151321-23.jpeg

3.2 How to use PC to connect?

Firstly, a USB to Bluetooth host is required

image-20230601152915-3.png

image-20230601152950-4.png

Insert the Bluetooth host into the computer

image-20230518151327-5.png

Open the serial port assistant on the computer

image-20230518145316-3.png

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

image-20230518151444-6.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-20240204111711-2.png

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

image-20240802162132-1.png

4.Click Connect, find the read/write window, and you can complete the communication with the device.

image-20240802162318-2.png

Tags:
    
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0