コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
パーソナライズされた名前
シーカーは、初回ペア設定時とユーザーがシーカー側で名前を編集したときに、プロバイダにパーソナライズされた名前を書き込むことができます。プロバイダは、パーソナライズされた名前を保存するために、少なくとも 64 バイトのスペースを割り当てるものとします。
パーソナライズされた名前で Additional Data characteristic に書き込む処理は、次の 2 つのフローで発生する可能性があります。
- 初回ペア設定後、シーカーはアカウントキーを書き込んだ後、パーソナライズされた名前をプロバイダに書き込むことができます。
- ユーザーがシーカーでパーソナライズされた名前を変更すると、シーカーは新しい名前をプロバイダに書き込みます。
- 上記の手順のステップ 1 からステップ 4 までのハンドシェイクを行い、相互に識別して、名前の暗号化と復号に使用するアカウントキーを把握します。表 1.2.2:
- メッセージ タイプを 0x10 に設定
- フラグビット 1 を 1 に設定して、データ特性が続くことを示します。
- 表 1.2.2 のデータ ID を 0x01 に設定して、パーソナライズされた名前にします。
- 名前をデータ特性
FE2C1237-8366-4814-8EB0-01DE32100BEA
に書き込みます。
プロバイダは、表 1.2.1 のビット 2 経由でリクエストされた場合、パーソナライズされた名前で追加データ特性に通知する必要があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-13 UTC。
[null,null,["最終更新日 2025-08-13 UTC。"],[[["\u003cp\u003eSeekers can personalize the name of their Provider device during initial pairing and anytime after.\u003c/p\u003e\n"],["\u003cp\u003eThe Provider device securely stores the personalized name, allocating at least 64 bytes for it.\u003c/p\u003e\n"],["\u003cp\u003eName updates are communicated via the Additional Data characteristic following a secure handshake process.\u003c/p\u003e\n"],["\u003cp\u003eProviders can be prompted to share the personalized name using a specific flag in the data exchange.\u003c/p\u003e\n"]]],[],null,["Personalized Name\n-----------------\n\nThe Seeker can write a personalized name to the Provider during the first\npairing and when the user edits the name on the Seeker side. The Provider shall\nallocate space, at least 64 bytes, to store the personalized name.\n\nWrites to [Additional Data characteristic](/nearby/fast-pair/specifications/characteristics#AdditionalData \"Characteristic: Addiitonal Data\") with personalized\nname may happen in 2 flows:\n\n1. After initial pairing, the Seeker may write a personalized name to the Provider after writing the account key.\n2. After a user modifies the personalized name on the Seeker, the Seeker will write the new name to the Provider:\n 1. handshake from step 1 to step 4 in the above [procedure](/nearby/fast-pair/specifications/service/gatt#procedure \"GATT Procedure\") to identify each other and know which account key will be used for the encryption and decryption of the name. In [Table 1.2.2](/nearby/fast-pair/specifications/characteristics#table1.2.2 \"Table 1.2.2\"):\n 1. Set Message type to 0x10\n 2. Set Flag Bit 1 to 1 to indicate it will be followed by Data characteristic.\n 3. Set Data ID of [Table 1.2.2](/nearby/fast-pair/specifications/characteristics#table1.2.2 \"Table 1.2.2\") to 0x01 as personalized name.\n 2. write the name to Data characteristic `FE2C1237-8366-4814-8EB0-01DE32100BEA`.\n\nThe Provider should notify to [Additional Data characteristic](/nearby/fast-pair/specifications/characteristics#AdditionalData \"Characteristic: Addiitonal Data\")\nwith personalized name when it is requested via Bit 2 in\n[Table 1.2.1](/nearby/fast-pair/specifications/characteristics#table1.2.1 \"Table 1.2.1\")."]]