Milesight D2D Settings
Milesight D2D protocol is developed by Milesight and used for setting up transmission among Milesight devices without gateway. When the Milesight D2D settings is enabled, the device can work as a D2D controller to send control commands to trigger Milesight D2D agent devices.
1. Configure the RX2 datarate and RX2 frequency.

Note: It is suggested to change the default values if there are many
LoRaWAN® devices around.

2. Enable Milesight D2D feature and define a unique D2D key that is the same as Milesight
D2D agent devices. (Default D2D key: 5572404C696E6B4C6F52613230313823)


3. Enable one of statuses and configure 2-byte hexadecimal Milesight D2D command.
Note:
- If you enable LoRa Uplink, a LoRaWAN® uplink packet that contains corresponding alarm status will be sent to gateway after the Milesight D2D command packet. Otherwise, the alarm packet will not send to LoRaWAN® gateway.
- If you enable the control time setting, Milesight D2D agent devices will take corresponding actions within this duration after receiving commands from Milesight D2D controller. This feature is currently under development for Milesight D2D agent devices.
- Example
-
When the device detects the “Occupied” status, it sends D2D command 0000 to Milesight D2D agent devices, which perform the corresponding action for 5 minutes.
