interface NtpClient {
    setDefaultNtp(request: TimeSynchronization.SetDefaultNtpRequest): MaybePromise;
}

Methods

  • This command is used to set the DefaultNTP attribute. If the DefaultNTP Address field does not conform to the requirements in the DefaultNTP attribute description, the command shall fail with a status code of INVALID_COMMAND. If the node does not support DNS resolution (as specified in SupportsDNSResolve) and the provided Address is a domain name, the command shall fail with a status code of INVALID_COMMAND. Otherwise, the node shall set the DefaultNTP attribute to match the DefaultNTP provided in this command.

    Returns MaybePromise

    MatterSpecification.v13.Core § 11.17.9.6