Device Simulate and Debug

This topic describes how to use Device Debug Panel to simulate the communication (uplinks and downlinks) between devices, and help to be familiar with the communication language of Milesight devices even not any real devices.

Simulate Report

Prerequisties
Procedure
  1. Log in to Milesight Development Platform, and select Application on the top bar.
  2. Select the desired application from the application list.

  3. In the Application Devices tab, move the mouse to target device and click Device Debug Panel. You can also click the click Device Debug Panel icon at the bottom right corner of this application.

  4. Generate the simulate report as required.

    1. Select the device to simulate the report.
    2. In the Simulate Report tab, select the report type.
    3. Select one data item or multiple data items to report.
      Note: if you select multiple items, click Batch Report button to generate one message to include all selected items.
    4. Click Random Simulate Report or Custom Simulate Report to send the report.
  5. You can also send the simulate report by customizing the raw data.

    1. In the Custom Simulate Report tab, type the Hex format raw data.
    2. Click Send to send the custom report.
Result
The simulate report including raw data and decoded results will display on the platform.

These reports can also be used to generate device details and Webhook simulation.
  • View Device Details and Invoke Services: check the device properties generated by simulate report.
  • Webhook Simulation: when the simulate report is send, the platform will also send the webhook notifications to third-party applications and display the records in Webhook Simulation page.

Simulate Send

Prerequisties
  • The selected application is not disabled.
  • Devices have been added to application: Add Device to Application
  • Not gateways, cameras or other Internet-accessible devices
Procedure
  1. Log in to Milesight Development Platform, and select Application on the top bar.
  2. Select the desired application from the application list.

  3. In the Application Devices tab, move the mouse to target device and click Device Debug Panel. You can also click the click Device Debug Panel icon at the bottom right corner of this application.

  4. Generate the simulate send command as required.

    1. Select the device to simulate the downlink command.
    2. In the Simulate Send tab, select the downlink type.
    3. Select one item or multiple items to send.
      Note: if you select multiple items, click Batch Send button to generate one message to include all selected items.
    4. Click Random Simulate Send or Custom Send to send the downlink command to device.
      Note: service type only supports random simulate send feature.
Result
The simulate send message including raw data and decoded results will display on the platform.
Note: when you generate simulate send command to real devices, the platform will send the command to real devices, which may change the settings of devices.