# Ping Sender

# Ping Sender

This module includes configuration variables for Ping Sender.

## Summary

| ### Macros ||
|---|---|
| `https://openthread.io/reference/config/group/config-ping-sender#group__config-ping-sender_1ga4ea5c9fb6ad109150958c19e8d32e307 1` | Specifies the default ping count (number of ping messages to send). |
| `https://openthread.io/reference/config/group/config-ping-sender#group__config-ping-sender_1ga95acc0b8250def2bcdc7fef3b44785ca 1000` | Specifies the default ping interval (time between sending echo requests) in milliseconds. |
| `https://openthread.io/reference/config/group/config-ping-sender#group__config-ping-sender_1ga53e0743f2034358d1b920fb020ffd570 8` | Specifies the default ping data size in bytes. |
| `https://openthread.io/reference/config/group/config-ping-sender#group__config-ping-sender_1gaeb2a61b13b500923c397c04a4728415e 3000` |   |
| `https://openthread.io/reference/config/group/config-ping-sender#group__config-ping-sender_1ga0f3f8ad9efab2fec3f7cba91ba052588 0` | Define to 1 to enable ping sender module. |

## Macros

### OPENTHREAD_CONFIG_PING_SENDER_DEFAULT_COUNT

```
 OPENTHREAD_CONFIG_PING_SENDER_DEFAULT_COUNT 1
```
Specifies the default ping count (number of ping messages to send).

### OPENTHREAD_CONFIG_PING_SENDER_DEFAULT_INTERVAL

```
 OPENTHREAD_CONFIG_PING_SENDER_DEFAULT_INTERVAL 1000
```
Specifies the default ping interval (time between sending echo requests) in milliseconds.

### OPENTHREAD_CONFIG_PING_SENDER_DEFAULT_SIZE

```
 OPENTHREAD_CONFIG_PING_SENDER_DEFAULT_SIZE 8
```
Specifies the default ping data size in bytes.

The data size specifies the Echo Request data payload which excludes the IPv6 and ICMPv6 headers.

### OPENTHREAD_CONFIG_PING_SENDER_DEFAULT_TIMEOUT

```
 OPENTHREAD_CONFIG_PING_SENDER_DEFAULT_TIMEOUT 3000
```

### OPENTHREAD_CONFIG_PING_SENDER_ENABLE

```
 OPENTHREAD_CONFIG_PING_SENDER_ENABLE 0
```
Define to 1 to enable ping sender module.

Ping sender module implements sending ICMPv6 Echo Request messages and processing ICMPv6 Echo Reply messages.

## 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).