Ping Sender#
This file includes the OpenThread API for the ping sender module.
Modules#
Typedefs#
Represents a ping reply.
Represents statistics of a ping request.
Pointer type specifies the callback to notify receipt of a ping reply.
Pointer type specifies the callback to report the ping statistics.
Represents a ping request configuration.
Functions#
Starts a ping.
Stops an ongoing ping.
Typedef Documentation#
otPingSenderReply#
typedef struct otPingSenderReply otPingSenderReply
Represents a ping reply.
69
of file include/openthread/ping_sender.h
otPingSenderStatistics#
typedef struct otPingSenderStatistics otPingSenderStatistics
Represents statistics of a ping request.
83
of file include/openthread/ping_sender.h
otPingSenderReplyCallback#
typedef void(* otPingSenderReplyCallback) (const otPingSenderReply *aReply, void *aContext) )(const otPingSenderReply *aReply, void *aContext)
Pointer type specifies the callback to notify receipt of a ping reply.
[in] | aReply | A pointer to a |
[in] | aContext | A pointer to application-specific context. |
92
of file include/openthread/ping_sender.h
otPingSenderStatisticsCallback#
typedef void(* otPingSenderStatisticsCallback) (const otPingSenderStatistics *aStatistics, void *aContext) )(const otPingSenderStatistics *aStatistics, void *aContext)
Pointer type specifies the callback to report the ping statistics.
[in] | aStatistics | A pointer to a |
[in] | aContext | A pointer to application-specific context. |
102
of file include/openthread/ping_sender.h
otPingSenderConfig#
typedef struct otPingSenderConfig otPingSenderConfig
Represents a ping request configuration.
124
of file include/openthread/ping_sender.h
Function Documentation#
otPingSenderPing#
otError otPingSenderPing (otInstance * aInstance, const otPingSenderConfig * aConfig)
Starts a ping.
[in] | aInstance | A pointer to an OpenThread instance. |
[in] | aConfig | The ping config to use. |
138
of file include/openthread/ping_sender.h
otPingSenderStop#
void otPingSenderStop (otInstance * aInstance)
Stops an ongoing ping.
[in] | aInstance | A pointer to an OpenThread instance. |
146
of file include/openthread/ping_sender.h