핑 발신자
이 파일에는 핑 발신자 모듈용 OpenThread API가 포함되어 있습니다.
요약
Typedef |
|
---|---|
otPingSenderConfig
|
typedefstruct otPingSenderConfig
이 구조는 핑 요청 구성을 나타냅니다. |
otPingSenderReply
|
typedefstruct otPingSenderReply
이 구조는 핑 답장을 나타냅니다. |
otPingSenderReplyCallback)(const otPingSenderReply *aReply, void *aContext)
|
typedefvoid(*
이 함수 포인터 유형은 핑 회신의 수신을 알리는 콜백을 지정합니다. |
otPingSenderStatistics
|
typedefstruct otPingSenderStatistics
이 구조는 핑 요청의 통계를 나타냅니다. |
otPingSenderStatisticsCallback)(const otPingSenderStatistics *aStatistics, void *aContext)
|
typedefvoid(*
이 함수 포인터 유형은 핑 통계를 보고하는 콜백을 지정합니다. |
함수 |
|
---|---|
otPingSenderPing(otInstance *aInstance, const otPingSenderConfig *aConfig)
|
이 함수는 핑을 시작합니다.
|
otPingSenderStop(otInstance *aInstance)
|
void
이 함수는 진행 중인 핑을 중지합니다.
|
구조체 |
|
---|---|
otPingSenderConfig |
이 구조는 핑 요청 구성을 나타냅니다. |
otPingSenderReply를 |
이 구조는 핑 답장을 나타냅니다. |
otPingSenderStatistics |
이 구조는 핑 요청의 통계를 나타냅니다. |
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에서 제공되는 소스 코드에서 시작됩니다. 자세한 내용을 알아보거나 문서에 기여하려면 리소스를 참조하세요.