Get Synchronization Status of Synchronized Program
# Get Synchronization Status of Synchronized Program
Path:
/api/sync_program_mode.json
Method: GET
Content-type: application/json; charset=utf-8
API Description: This can be used to get the synchronization status of the synchronized program.
Response
Name | Type | Example | Description |
---|---|---|---|
sync_program_gps_enable | int | 1 | Enable/Disable GPS synchronization. |
sync_program_ntp_enable | int | 1 | Enable/Disable NTP synchronization. |
sync_program_ntp_server | String | "ntp1.aliyun.com" | NTP server |
sync_program_ntp_interval | int | 60000 | NTP synchronization interval |
sync_program_ntp_threshold | int | 10 | NTP synchronization threshold |
sync_program_ntp_deviation | int | 50 | NTP deviation |
sync_program_lan_enable | int | 1 | Enable/Disable LAN synchronization |
sync_program_lan_role | String | “slave" | The target role of LAN synchronization |
sync_program_audio_enable | int | 1 | Enable/Disable synchronized audio. |
Example
{
"sync_program_gps_enable": 0,
"sync_program_ntp_enable": 1,
"sync_program_ntp_server": "ntp1.aliyun.com",
"sync_program_ntp_interval": 20000,
"sync_program_ntp_threshold": 5,
"sync_program_ntp_deviation": 50,
"sync_program_lan_enable": 0,
"sync_program_lan_role": "slave",
"sync_program_audio_enable": 0
}