קל לארגן דפים בעזרת אוספים אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
שם בהתאמה אישית
המשתמש יכול לכתוב שם בהתאמה אישית לספק במהלך ההתאמה הראשונה, וגם כשהוא עורך את השם בצד של המכשיר המחפש. הספק יקצה נפח אחסון של 64 בייט לפחות כדי לאחסן את השם המותאם אישית.
יכול להיות שפעולת כתיבה אל מאפיין נתונים נוסף עם שם מותאם אישית תתרחש ב-2 תהליכים:
- אחרי ההתאמה הראשונית, יכול להיות שהמבקש יכתוב שם מותאם אישית לספק אחרי שהוא יכתוב את מפתח החשבון.
- אחרי שהמשתמש משנה את השם המותאם אישית ב-Seeker, Seeker כותב את השם החדש לספק:
- לחיצת היד משלב 1 עד שלב 4 בתהליך שלמעלה כדי לזהות אחד את השני ולדעת איזה מפתח חשבון ישמש להצפנה ולפענוח של השם. בטבלה 1.2.2:
- מגדירים את סוג ההודעה ל-0x10
- מגדירים את ביט הדגל 1 לערך 1 כדי לציין שאחריו יופיע מאפיין נתונים.
- מגדירים את מזהה הנתונים של טבלה 1.2.2 כ-0x01 כשם מותאם אישית.
- כותבים את השם במאפיין הנתונים
FE2C1237-8366-4814-8EB0-01DE32100BEA
.
הספק צריך לשלוח הודעה למאפיין הנתונים הנוסף עם שם מותאם אישית כשהבקשה מתקבלת דרך ביט 2 בטבלה 1.2.1.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-13 (שעון 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-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\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\")."]]