Function openthread_sys::otSntpClientQuery
source ยท pub unsafe extern "C" fn otSntpClientQuery(
aInstance: *mut otInstance,
aQuery: *const otSntpQuery,
aHandler: otSntpResponseHandler,
aContext: *mut c_void,
) -> otError
Expand description
Sends a SNTP query.
Is available only if feature OPENTHREAD_CONFIG_SNTP_CLIENT_ENABLE
is enabled.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aQuery A pointer to specify SNTP query parameters. @param[in] aHandler A function pointer that shall be called on response reception or time-out. @param[in] aContext A pointer to arbitrary context information.