# SNTP Client

# SNTP Client

This module includes configuration variables for the SNTP Client.

## Summary

| ### Macros ||
|---|---|
| `https://openthread.io/reference/config/group/config-sntp-client#group__config-sntp-client_1ga72f36a2b104c1b167b724073d41bc665 0` | Define to 1 to enable SNTP Client support. |
| `https://openthread.io/reference/config/group/config-sntp-client#group__config-sntp-client_1ga32c3c2fdd72a75a0a05a618c3db8e9b6 2` | Maximum number of retransmissions for SNTP client. |
| `https://openthread.io/reference/config/group/config-sntp-client#group__config-sntp-client_1gace15b1f5843f38bb2ebdbda21580bb43 3000` | Maximum time that SNTP Client waits for response in milliseconds. |

## Macros

### OPENTHREAD_CONFIG_SNTP_CLIENT_ENABLE

```
 OPENTHREAD_CONFIG_SNTP_CLIENT_ENABLE 0
```
Define to 1 to enable SNTP Client support.

### OPENTHREAD_CONFIG_SNTP_CLIENT_MAX_RETRANSMIT

```
 OPENTHREAD_CONFIG_SNTP_CLIENT_MAX_RETRANSMIT 2
```
Maximum number of retransmissions for SNTP client.

### OPENTHREAD_CONFIG_SNTP_CLIENT_RESPONSE_TIMEOUT

```
 OPENTHREAD_CONFIG_SNTP_CLIENT_RESPONSE_TIMEOUT 3000
```
Maximum time that SNTP Client waits for response in milliseconds.

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).