हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
btgatt_srvc_id_t स्ट्रक्चर का रेफ़रंस
#include <
bt_gatt_types.h
>
GATT सेवा आईडी से, सेवा के टाइप (प्राइमरी/सेकंडरी) की भी पहचान होती है
bt_gatt_types.h
फ़ाइल की लाइन
40
पर परिभाषा.
इस स्ट्रक्चर का दस्तावेज़, इस फ़ाइल से जनरेट किया गया था:
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","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-27 (UTC) को अपडेट किया गया."],[],[],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)"]]