À partir du 27 mars 2025, nous vous recommandons d'utiliser android-latest-release
au lieu de aosp-main
pour créer et contribuer à AOSP. Pour en savoir plus, consultez la section Modifications apportées à AOSP.
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Documentation de référence sur la struct btgatt_write_params_t
#include <
bt_gatt_client.h
>
Paramètres pour les opérations d'écriture GATT
Définition à la ligne
53
du fichier
bt_gatt_client.h
.
La documentation de ce struct a été générée à partir du fichier suivant :
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/27 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/27 (UTC)."],[],[],null,["# Android Hardware Abstraction Layer: btgatt_write_params_t Struct Reference\n\nbtgatt_write_params_t Struct Reference\n======================================\n\n[Data Fields](#pub-attribs) \nbtgatt_write_params_t Struct Reference \n\n`\n#include \u003c\n`[bt_gatt_client.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)`\n\u003e\n`\n\n|--------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| [btgatt_srvc_id_t](/reference/hal/structbtgatt__srvc__id__t) | [srvc_id](/reference/hal/structbtgatt__write__params__t#afce169446ebef60612c93a4b4ab6dce1) |\n| ||\n| [btgatt_gatt_id_t](/reference/hal/structbtgatt__gatt__id__t) | [char_id](/reference/hal/structbtgatt__write__params__t#adb500add9fb03ab727d90d22ba293b79) |\n| ||\n| [btgatt_gatt_id_t](/reference/hal/structbtgatt__gatt__id__t) | [descr_id](/reference/hal/structbtgatt__write__params__t#a3c2ce65bd93c04a639c9954df07350f6) |\n| ||\n| uint8_t | [status](/reference/hal/structbtgatt__write__params__t#ade818037fd6c985038ff29656089758d) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nParameters for GATT write operations\n\n\nDefinition at line\n[53](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)\nof file\n[bt_gatt_client.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)\n.\n\nField Documentation\n-------------------\n\n\n|----------------------------------------------------------------------|\n| [btgatt_gatt_id_t](/reference/hal/structbtgatt__gatt__id__t) char_id |\n\n\nDefinition at line\n[56](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)\nof file\n[bt_gatt_client.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)\n.\n\n|-----------------------------------------------------------------------|\n| [btgatt_gatt_id_t](/reference/hal/structbtgatt__gatt__id__t) descr_id |\n\n\nDefinition at line\n[57](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)\nof file\n[bt_gatt_client.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)\n.\n\n|----------------------------------------------------------------------|\n| [btgatt_srvc_id_t](/reference/hal/structbtgatt__srvc__id__t) srvc_id |\n\n\nDefinition at line\n[55](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)\nof file\n[bt_gatt_client.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)\n.\n\n|----------------|\n| uint8_t status |\n\n\nDefinition at line\n[58](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)\nof file\n[bt_gatt_client.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [bt_gatt_client.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h)"]]