پینگ فرستنده
این فایل شامل OpenThread API برای ماژول فرستنده پینگ است.
خلاصه
Typedefs | |
|---|---|
 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 | نشان دهنده آمار یک درخواست پینگ است.  | 
Typedefs
otPingSenderConfig
struct otPingSenderConfig otPingSenderConfig
یک پیکربندی درخواست پینگ را نشان می دهد.
otPingSenderReplyCallback
void(* otPingSenderReplyCallback)(const otPingSenderReply *aReply, void *aContext)
نوع اشاره گر پاسخ تماس را برای اطلاع از دریافت پاسخ پینگ مشخص می کند.
| جزئیات | |||||
|---|---|---|---|---|---|
| مولفه های | 
  | 
otPingSenderStatistics
struct otPingSenderStatistics otPingSenderStatistics
نشان دهنده آمار یک درخواست پینگ است.
otPingSenderStatisticsCallback
void(* otPingSenderStatisticsCallback)(const otPingSenderStatistics *aStatistics, void *aContext)
نوع اشاره گر تماس برگشتی برای گزارش آمار پینگ را مشخص می کند.
| جزئیات | |||||
|---|---|---|---|---|---|
| مولفه های | 
  | 
کارکرد
otPingSenderPing
otError otPingSenderPing( otInstance *aInstance, const otPingSenderConfig *aConfig )
پینگ را شروع می کند.
| جزئیات | |||||||
|---|---|---|---|---|---|---|---|
| مولفه های | 
  | ||||||
| ارزش های بازگشتی | 
  | 
otPingSenderStop
void otPingSenderStop( otInstance *aInstance )
پینگ در حال انجام را متوقف می کند.
| جزئیات | |||
|---|---|---|---|
| مولفه های | 
  | 
منابع
موضوعات مرجع OpenThread API از کد منبع موجود در GitHub سرچشمه می گیرند. برای اطلاعات بیشتر، یا مشارکت در اسناد ما، به منابع مراجعه کنید.