Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sntp_server.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: Copyright 2025 L. Felten <lothar.felten@gmail.com>
3 * SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
11
12#ifndef ZEPHYR_INCLUDE_NET_SNTP_SERVER_H_
13#define ZEPHYR_INCLUDE_NET_SNTP_SERVER_H_
14
15#include <stdint.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
29
43void sntp_server_clock_source(const uint8_t ref_id[4], uint8_t stratum, int8_t precision);
44
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* ZEPHYR_INCLUDE_NET_SNTP_SERVER_H_ */
void sntp_server_clock_source(const uint8_t ref_id[4], uint8_t stratum, int8_t precision)
Set SNTP time source id, stratum and precision.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__INT8_TYPE__ int8_t
Definition stdint.h:72