از 27 مارس 2025، توصیه می کنیم از android-latest-release
به جای aosp-main
برای ساختن و کمک به AOSP استفاده کنید. برای اطلاعات بیشتر، به تغییرات AOSP مراجعه کنید.
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
btgatt_srvc_id_t مرجع ساختار
#include < bt_gatt_types.h >
شناسه خدمات گات نوع سرویس (اولیه/ثانویه) را نیز مشخص می کند.
تعریف در خط 40 فایل bt_gatt_types.h .
مستندات این ساختار از فایل زیر تولید شده است:
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Android Hardware Abstraction Layer: btgatt_srvc_id_t Struct Reference\n\nbtgatt_srvc_id_t Struct Reference\n=================================\n\n[Data Fields](#pub-attribs) \nbtgatt_srvc_id_t Struct Reference \n\n`\n#include \u003c\n`[bt_gatt_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_types.h)`\n\u003e\n`\n\n|--------------------------------------------------------------|------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| [btgatt_gatt_id_t](/reference/hal/structbtgatt__gatt__id__t) | [id](/reference/hal/structbtgatt__srvc__id__t#a36044ea64f7346fb63dddd7b0eedc937) |\n| ||\n| uint8_t | [is_primary](/reference/hal/structbtgatt__srvc__id__t#a8ccfa6560ed2261d52642fafbcf3b9a8) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nGATT Service ID also identifies the service type (primary/secondary)\n\n\nDefinition at line\n[40](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_types.h)\nof file\n[bt_gatt_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_types.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------------------------------------------------------------|\n| [btgatt_gatt_id_t](/reference/hal/structbtgatt__gatt__id__t) id |\n\n\nDefinition at line\n[42](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_types.h)\nof file\n[bt_gatt_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_types.h)\n.\n\n|--------------------|\n| uint8_t is_primary |\n\n\nDefinition at line\n[43](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_types.h)\nof file\n[bt_gatt_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_types.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [bt_gatt_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_types.h)"]]