Table of Contents:

1. Overview

There are some new models of Dragino sensors support BLEtype the link label 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

3.1.1.1 Download from Google Play Store

Open the Google Play Store, search for "Devices.tool", download and install.

image-20241230134826-1.png

3.1.1.2 Download from the attachment

You can scroll down the page to download Devices Tool in the attachment or click to download directly.

image-20250113143717-1.png

3.1.1.3 Download from Dropbox

Click on the URL below to enter Dropbox to download the app:

https://www.dropbox.com/scl/fo/gyscmfn1s03oz3n8rif8w/AJW7JoMQsQ56dtlls2SNf9c?rlkey=3q2cxwriyzh26vuairx01yebc&st=be5jv92w&dl=0 

3.1.2 How to use BLE to configure Sensors

See Video Instruction: Use BLE to configure Sensors

Install in mobile and run. Press the reset button of the device to be tested, and then click "SCAN BLUETOOTH DEVICES". Find the correct device and connect(the correct device name should be the same as the DEV EUI of the device).

image-20241230135129-4.png

image-20241230152054-8.png

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

image-20241230151129-6.png

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-20241230152403-9.png

Enter AT PIN + line break in the dialog box, click "Send", and return the data display "Password Correct" to start configuring the AT command.

image-20241230151602-7.png

Note:

Devices.Tool 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.

image-20241230153041-10.png

3.1.3 How to use Mobile Phone to upgrade firmware

3.1.3.1 NB / CB series ( Use BLE to upgrade firmware)

See Video Instruction: Use BLE to Upgrade Firmware

Open the Devices Tool and click on "Upgrade Device"

image-20241230153300-11.png

Select the device type and click "NB".

 image-20250110114321-2.png

 

Enter the IMEI (DEV EUI) of the upgraded device, enter the password (PIN), click "SELECT UPGRADE FILE" to find the file you want to upgrade(The firmware upgrade file format only supports .bin files), 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.

image-20241230154001-13.png

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

In addition, the firmware upgrade supports importing the IMEI upgrade file, manually selecting the IMIE required in the file, and the password (PIN) will be entered automatically.

image-20241230154747-14.png

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

image-20241230172614-19.png

3.1.3.2 LB series

  • Hardware: LA66 USB with OTA_firmware installed.
  • Before using LA66 as -LB product to burn firmware, you need to burn the OTA_ firmware for LA66. Refer to this link for burning methods.

The LA66 USB connects to the phone via the USB-Type c adapter.

image-20241207113056-9.png

After the connection is successful, the phone will pop up a prompt box, check it and click to confirm.

Note:

Some mobile phone models need to manually enable the OTG function to properly identify external devices.

image-20250110114614-3.png

Then, the Device Tool will automatically open.

Open the Devices Tool and click on "Upgrade Device"

Select the device type and click "LB".

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,(The firmware upgrade file format only supports .bin files)

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

image-20250111151237-1.png

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

image-20241230163315-18.png

3.1.3.3 LA66 upgrade

3.1.3.3.1 How to upgrade the bootloader

Note: When using the LA66 upgrade function, make sure that the firmware is withbootloader version.

Firmware download(Please select withbootloader version):

Firmware - Dropbox

https://www.dropbox.com/scl/fo/hcfg5lao4yf9ochfmjnfd/ANbNnQgDqV-Cg1H07el76Ec/LA66%20LoRaWAN%20module/Firmware/USB%20LoRaWAN%20Adapter%20LBT/USB%20LoRaWAN%20Adapter%20LBT%20v1.2%20with%20bootloader?dl=0&rlkey=eahktqvu4shob5if3fay1khfe&subfolder_nav_tracking=1

①、Open the "ASR6601Programmer_v0.9" software;

②、Insert LA66 into the PC (If the LA66 hardware version is V1.2 and above, the user needs to short the Boot and RX before plugging in the PC);

③、Select the serial port, select the baud rate of 9600, and select the downloaded with bootloader.bin file in front of the @0x08000000;

④、Press the reset button of LA66(LA66 hardware version v1.2 or later does not need to do this).

⑤、 Click Start to burn.

image-20250115174551-1.pngimage-20250115174601-2.png

image-20250115174621-3.png

3.1.3.3.2 How to upgrade the LA66 firmware

The LA66 USB connects to the phone via the USB-Type C adapter.

image-20241207113056-9.png

After the connection is successful, the phone will pop up a prompt box, check it, and click to confirm.

Note:

Some mobile phone models need to manually enable the OTG function to properly identify external devices.

image-20250110114614-3.png

Then, the Device Tool will automatically open.

Open the Devices Tool and click on "Upgrade Device"

Select the device type and click "LA66"., insert

Follow the steps in order:

① Click "SELECT UPGRADE FILE" to select the .bin file to be upgraded to LA66.

② Click "START".

③ Press the reset key on the LA66 device. 

For LA66 USB LoRaWAN Adapter v1.2, the design of the reset button has been eliminated on the hardware. The user needs to unplug the LA66 and insert it again, and then perform steps ① and ②.

image-20250110134640-5.png/

image-20250110135354-8.png

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

image-20250110134822-6.png

3.1.4 How to export logs

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

image-20241230155425-16.png

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-20241230155528-17.png

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