Downlink Commands for Network Parameters
This section describes the downlink commands for network settings.
Configure Communication Parameters
Command description:
| Item | Byte | Command | Value | Example |
|---|---|---|---|---|
| Communication Mode | 1+1 | 8d | 00=BLE, 01=LoRa, 02=BLE+LoRa | Set BLE Mode: 8d00 |
| LoRa Reporting Interval | 1+4 | 61 | Byte 1-2: 0101=LoRa,
0201=BLE+LoRa Byte 3-4: Interval time, range: 1-1440, unit: minute |
LoRa Mode Reporting interval is 10 minutes: 6101010a00 |
| Periodic Report Mode | 1+1 | 95 | 00=Only status (Default), 01=Only configuration, 02=Status + Configuration | Report configuration: 9501 |
| BLE Transfer Interval | 1+4 | 6c | Byte 1-2: 0001=BLE,
0201=BLE+LoRa Byte 3-4: Interval time, range: 1-30, unit: minute |
BLE + LoRa mode transfer interval is 10 minutes: 6c02010a00 |
| Reset Bluetooth Name | 2 | b400 | - | - |
| Cancel Bluetooth Pairing | 2 | b401 | - | - |
| Trigger Bluetooth Pairing | 2 | b402 | Pair the device with the best signal | - |
| Bluetooth Name (First 8B) | 2+8 | cd05 | ASCii to Hex strings (8B) | Name is
Room1: cd05526f6f6d31000000 |
| Bluetooth Name (Last 5B) | 2+5 | cd06 | ASCii to Hex strings (5B) |
Rejoin the Network
Command description:
| Item | Byte | Command | Value |
|---|---|---|---|
| Rejoin the Network | 1 | b6 | - |
Configure Milesight D2D Parameters
Command description:
| Item | Byte | Command | Value | Example |
|---|---|---|---|---|
| D2D Data Transmission | 2+1 | 9800 | 00=Disable (Default), 01=Enable | Enable: 980001 |
| LoRa Uplink | 2+1 | 9801 | 00=Disable (Default), 01=Enable | Enable: 980101 |
| Transmission Data | 2+2 | 9802 | Per bit 0=Disable, 1=Enable, all
enable=ffff
|
Enable sending temperature and humidity: 98020300 |