فحص الاتصال من المرسل
يتضمّن هذا الملف واجهة برمجة تطبيقات OpenThread لوحدة مُرسِل الإشعارات.
ملخّص
أنواع المحددات |
|
---|---|
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 |
يمثل ردًا فحص الاتصال. |
otPingsenderAnalytics |
تمثل إحصاءات طلب فحص الاتصال. |
أنواع المحددات
otPingsenderreplyCall
void(* otPingSenderReplyCallback)(const otPingSenderReply *aReply, void *aContext)
يحدّد نوع المؤشر معاودة الاتصال للإبلاغ عن تلقّي ردّ فحص الاتصال.
التفاصيل | |||||
---|---|---|---|---|---|
المَعلمات |
|
إحصاءات otPingsender
struct otPingSenderStatistics otPingSenderStatistics
تمثل إحصاءات طلب فحص الاتصال.
otPingsenderAnalyticsCallback
void(* otPingSenderStatisticsCallback)(const otPingSenderStatistics *aStatistics, void *aContext)
يحدد نوع المؤشر معاودة الاتصال للإبلاغ عن إحصاءات أداة فحص الاتصال.
التفاصيل | |||||
---|---|---|---|---|---|
المَعلمات |
|
الدوال
otPingsenderPing
otError otPingSenderPing( otInstance *aInstance, const otPingSenderConfig *aConfig )
لبدء إشعار.
التفاصيل | |||||||
---|---|---|---|---|---|---|---|
المَعلمات |
|
||||||
قيم الإرجاع |
|
otPingsenderStop
void otPingSenderStop( otInstance *aInstance )
إيقاف فحص الاتصال المستمر
التفاصيل | |||
---|---|---|---|
المَعلمات |
|
الموارد
تبدأ مواضيع مراجع واجهة برمجة تطبيقات OpenThread من رمز المصدر، وهو متاح على GitHub. للحصول على مزيد من المعلومات أو للمساهمة في المستندات، يمكنك الاطّلاع على المراجع.