Ping 送信者
このファイルには、ping 送信モジュール用の OpenThread API が含まれています。
概要
Typedef |
|
|---|---|
otPingSenderConfig
|
typedefstruct otPingSenderConfig
ping リクエストの構成を表します。 |
otPingSenderReply
|
typedefstruct otPingSenderReply
ping 応答を表します。 |
otPingSenderReplyCallback)(const otPingSenderReply *aReply, void *aContext)
|
typedefvoid(*
ポインタの種類は、ping 応答の受信を通知するコールバックを指定します。 |
otPingSenderStatistics
|
typedefstruct otPingSenderStatistics
ping リクエストの統計情報を表します。 |
otPingSenderStatisticsCallback)(const otPingSenderStatistics *aStatistics, void *aContext)
|
typedefvoid(*
ポインタの種類は、ping の統計情報を報告するコールバックを指定します。 |
関数 |
|
|---|---|
otPingSenderPing(otInstance *aInstance, const otPingSenderConfig *aConfig)
|
ping を開始します。
|
otPingSenderStop(otInstance *aInstance)
|
void
進行中の ping を停止します。
|
構造体 |
|
|---|---|
| otPingSenderConfig |
ping リクエストの構成を表します。 |
| otPingSenderReply |
ping 応答を表します。 |
| otPingSenderStatistics |
ping リクエストの統計情報を表します。 |
Typedef
otPingSenderReplyCallback
void(* otPingSenderReplyCallback)(const otPingSenderReply *aReply, void *aContext)
ポインタの種類は、ping 応答の受信を通知するコールバックを指定します。
| 詳細 | |||||
|---|---|---|---|---|---|
| パラメータ |
|
||||
otPingSenderStatisticsCallback
void(* otPingSenderStatisticsCallback)(const otPingSenderStatistics *aStatistics, void *aContext)
ポインタの種類は、ping の統計情報を報告するコールバックを指定します。
| 詳細 | |||||
|---|---|---|---|---|---|
| パラメータ |
|
||||
関数
otPingSenderPing
otError otPingSenderPing( otInstance *aInstance, const otPingSenderConfig *aConfig )
ping を開始します。
| 詳細 | |||||||
|---|---|---|---|---|---|---|---|
| パラメータ |
|
||||||
| 戻り値 |
|
||||||
otPingSenderStop
void otPingSenderStop( otInstance *aInstance )
進行中の ping を停止します。
| 詳細 | |||
|---|---|---|---|
| パラメータ |
|
||
関連情報
OpenThread API リファレンスのトピックは、GitHub で入手できるソースコードに由来しています。 詳細について、またはドキュメントへの投稿については、リソースをご覧ください。