Ping Sender
This file includes the OpenThread API for the ping sender module.
Summary
Typedefs |
|
---|---|
otPingSenderConfig
|
typedefstruct otPingSenderConfig
Represents a ping request configuration. |
otPingSenderReply
|
typedefstruct otPingSenderReply
Represents a ping reply. |
otPingSenderReplyCallback)(const otPingSenderReply *aReply, void *aContext)
|
typedefvoid(*
Pointer type specifies the callback to notify receipt of a ping reply. |
otPingSenderStatistics
|
typedefstruct otPingSenderStatistics
Represents statistics of a ping request. |
otPingSenderStatisticsCallback)(const otPingSenderStatistics *aStatistics, void *aContext)
|
typedefvoid(*
Pointer type specifies the callback to report the ping statistics. |
Functions |
|
---|---|
otPingSenderPing(otInstance *aInstance, const otPingSenderConfig *aConfig)
|
Starts a ping.
|
otPingSenderStop(otInstance *aInstance)
|
void
Stops an ongoing ping.
|
Structs |
|
---|---|
otPingSenderConfig |
Represents a ping request configuration. |
otPingSenderReply |
Represents a ping reply. |
otPingSenderStatistics |
Represents statistics of a ping request. |
Typedefs
otPingSenderConfig
struct otPingSenderConfig otPingSenderConfig
Represents a ping request configuration.
otPingSenderReplyCallback
void(* otPingSenderReplyCallback)(const otPingSenderReply *aReply, void *aContext)
Pointer type specifies the callback to notify receipt of a ping reply.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
otPingSenderStatistics
struct otPingSenderStatistics otPingSenderStatistics
Represents statistics of a ping request.
otPingSenderStatisticsCallback
void(* otPingSenderStatisticsCallback)(const otPingSenderStatistics *aStatistics, void *aContext)
Pointer type specifies the callback to report the ping statistics.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
Functions
otPingSenderPing
otError otPingSenderPing( otInstance *aInstance, const otPingSenderConfig *aConfig )
Starts a ping.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|
otPingSenderStop
void otPingSenderStop( otInstance *aInstance )
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.