إرسال أداة فحص الاتصال
يتضمن هذا الملف واجهة برمجة التطبيقات OpenThread لوحدة إرسال أداة ping.
ملخّص
تحديدات النوع |
|
|---|---|
otPingSenderConfig
|
typedefstruct otPingSenderConfig
يمثل هذا الإعداد إعدادات طلب فحص الاتصال. |
otPingSenderReply
|
typedefstruct otPingSenderReply
يمثل رد ping. |
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 |
يمثل رد ping. |
| otPingSenderStatistics |
تمثل إحصاءات طلب فحص الاتصال. |
تحديدات النوع
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 من رمز المصدر المتاح على GitHub. للحصول على مزيد من المعلومات أو للمساهمة في مستنداتنا، يمكنك الاطّلاع على المراجع.