Enable/Disable Reporting Monitoring Information and Set Reporting Interval
# Enable/Disable Reporting Monitoring Information and Set Reporting Interval
Path:
/api/setreporttime
Method: POST
Content-type: application/json; charset=utf-8
API Description: This can be used to set the reporting interval of the player's GPS, GPS sampling, and sensor. A sensor can be an external sensor or an M2 sensor.
Request
Name | Type | Example | Description |
---|---|---|---|
gps_report_interval | int | 0 | GPS reporting interval, 0: Disable GPS reporting, >0: Enable GPS reporting and set the interval. |
sensor_report_interval | int | 0 | Sensor reporting interval, 0: Disable sensor reporting, >0: Enable sensor reporting and set the interval. |
ber_report_interval | int | 0 | Error rate reporting interval, 0: Disable error rate reporting, >0: Enable error rate reporting and set the interval. |
gps_sample_interval | int | 0 | GPS sampling reporting interval, 0: Disable GPS sampling reporting, >0: Enable GPS sampling reporting and set the interval. |
Example
{
"gps.report.interval": 0,
"sensor.report.interval": 0,
"ber.report.interval": 0,
"gps.sample.interval": 0
}