Downlink Commands for Network Parameters
This section describes the downlink commands for network settings.
Configure Communication Parameters
| Name | Example |
|---|---|
| reporting_interval | Set the reporting interval as 15
minutes.{
"reporting_interval": {
"ble_lora": {
"unit": 1,
"minutes_of_time": 15 //Unit: min, range: 1-1440, default: 10
}
}
} |
| ble_server | Reset the Bluetooth
name.{
"ble_server": {
"type": 0 //0: Reset BLE Name, 1: Cancel Pairing
}
}Cancel the Bluetooth
pairing.{
"ble_server": {
"type": 1 //0: Reset BLE Name, 1: Cancel Pairing
}
} |
| ble_adv_time_settings | Disable Bluetooth advertising, and
set the Bluetooth advertising duration as 10
minutes..{
"ble_adv_time_settings": {
"enable": 0 //0: Disable, 1: Enable (default)
"duration": 10 //Unit: min, range: 1-10, default: 1
}
} |
| ble_configuration_settings | Bluetooth name is
schoolroom:{
"ble_configuration_settings": {
"local_name_first": "schoolro", //Max 8 characters
"local_name_last": "om" //Max 5 characters
}
} |
Rejoin the Network
| Name | Example |
|---|---|
| reconnect | Rejoin the
network.{
"reconnect": "yes"
} |
Configure D2D Parameters
| Name | Example |
|---|---|
| d2d_slave_enable | Enable the D2D
agent.{
"d2d_slave_enable": 1 //0: disable (default), 1: enable
} |
| d2d_slave_settings | Enable rule 1. The control command
is 0011 and the control action is inserting schedule
1.{
"d2d_slave_settings": [
{
"index": 0, //Rule ID, range: 0-15
"enable": 1, //0: disable, 1: enable
"command": "0011", //Hex control command
"value": 0 //0-15: Schedule 1-16, 16: System Off, 17: System On, 18: System Inverse
}
]
} |