핑 발신자
이 파일에는 ping 발신자 모듈을 위한 OpenThread API가 포함되어 있습니다.
요약
Typedef |
|
|---|---|
otPingSenderConfig
|
typedefstruct otPingSenderConfig
ping 요청 구성을 나타냅니다. |
otPingSenderReply
|
typedefstruct otPingSenderReply
핑 응답을 나타냅니다. |
otPingSenderReplyCallback)(const otPingSenderReply *aReply, void *aContext)
|
typedefvoid(*
포인터 유형은 핑 응답을 수신했음을 알리는 콜백을 지정합니다. |
otPingSenderStatistics
|
typedefstruct otPingSenderStatistics
ping 요청의 통계를 나타냅니다. |
otPingSenderStatisticsCallback)(const otPingSenderStatistics *aStatistics, void *aContext)
|
typedefvoid(*
포인터 유형은 핑 통계를 보고할 콜백을 지정합니다. |
함수 |
|
|---|---|
otPingSenderPing(otInstance *aInstance, const otPingSenderConfig *aConfig)
|
핑을 시작합니다.
|
otPingSenderStop(otInstance *aInstance)
|
void
진행 중인 핑을 중지합니다.
|
구조체 |
|
|---|---|
| otPingSenderConfig |
ping 요청 구성을 나타냅니다. |
| otPingSenderReply |
핑 응답을 나타냅니다. |
| otPingSenderStatistics |
ping 요청의 통계를 나타냅니다. |
Typedef
otPingSenderReplyCallback
void(* otPingSenderReplyCallback)(const otPingSenderReply *aReply, void *aContext)
포인터 유형은 핑 응답을 수신했음을 알리는 콜백을 지정합니다.
| 세부정보 | |||||
|---|---|---|---|---|---|
| 매개변수 |
|
||||
otPingSenderStatisticsCallback
void(* otPingSenderStatisticsCallback)(const otPingSenderStatistics *aStatistics, void *aContext)
포인터 유형은 핑 통계를 보고할 콜백을 지정합니다.
| 세부정보 | |||||
|---|---|---|---|---|---|
| 매개변수 |
|
||||
함수
otPingSenderPing
otError otPingSenderPing( otInstance *aInstance, const otPingSenderConfig *aConfig )
핑을 시작합니다.
| 세부정보 | |||||||
|---|---|---|---|---|---|---|---|
| 매개변수 |
|
||||||
| 반환 값 |
|
||||||
otPingSenderStop
void otPingSenderStop( otInstance *aInstance )
진행 중인 핑을 중지합니다.
| 세부정보 | |||
|---|---|---|---|
| 매개변수 |
|
||
자료
OpenThread API 참조 주제는 GitHub에서 제공되는 소스 코드에서 비롯됩니다. 자세한 내용을 알아보거나 문서에 참여하려면 리소스를 참고하세요.