Ping Sender
This file includes the OpenThread API for the ping sender module.
Summary
Typedefs |
|
---|---|
otPingSenderConfig
|
typedefstruct otPingSenderConfig
This structure represents a ping request configuration. |
otPingSenderReply
|
typedefstruct otPingSenderReply
This structure represents a ping reply. |
otPingSenderReplyCallback)(const otPingSenderReply *aReply, void *aContext)
|
typedefvoid(*
This function pointer type specifies the callback to notify receipt of a ping reply. |
otPingSenderStatistics
|
typedefstruct otPingSenderStatistics
This structure represents statistics of a ping request. |
otPingSenderStatisticsCallback)(const otPingSenderStatistics *aStatistics, void *aContext)
|
typedefvoid(*
This function pointer type specifies the callback to report the ping statistics. |
Functions |
|
---|---|
otPingSenderPing(otInstance *aInstance, const otPingSenderConfig *aConfig)
|
This function starts a ping.
|
otPingSenderStop(otInstance *aInstance)
|
void
This function stops an ongoing ping.
|
Structs |
|
---|---|
otPingSenderConfig |
This structure represents a ping request configuration. |
otPingSenderReply |
This structure represents a ping reply. |
otPingSenderStatistics |
This structure represents statistics of a ping request. |
Typedefs
otPingSenderConfig
struct otPingSenderConfig otPingSenderConfig
This structure represents a ping request configuration.
otPingSenderReply
struct otPingSenderReply otPingSenderReply
This structure represents a ping reply.
otPingSenderReplyCallback
void(* otPingSenderReplyCallback)(const otPingSenderReply *aReply, void *aContext)
This function pointer type specifies the callback to notify receipt of a ping reply.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
otPingSenderStatistics
struct otPingSenderStatistics otPingSenderStatistics
This structure represents statistics of a ping request.
otPingSenderStatisticsCallback
void(* otPingSenderStatisticsCallback)(const otPingSenderStatistics *aStatistics, void *aContext)
This function pointer type specifies the callback to report the ping statistics.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
Functions
otPingSenderPing
otError otPingSenderPing( otInstance *aInstance, const otPingSenderConfig *aConfig )
This function starts a ping.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|
otPingSenderStop
void otPingSenderStop( otInstance *aInstance )
This function stops an ongoing ping.
Details | |||
---|---|---|---|
Parameters |
|
Resources
OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.