컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
맞춤 이름
요청자는 첫 번째 페어링 중에 그리고 사용자가 요청자 측에서 이름을 수정할 때 맞춤설정된 이름을 제공자에게 쓸 수 있습니다. 공급자는 맞춤 이름을 저장할 공간(최소 64바이트)을 할당해야 합니다.
개인화된 이름이 있는 추가 데이터 특성에 쓰기는 다음 두 가지 흐름에서 발생할 수 있습니다.
- 초기 페어링 후 시커는 계정 키를 쓴 후 맞춤 이름을 제공자에게 쓸 수 있습니다.
- 사용자가 탐색기에서 맞춤 이름을 수정하면 탐색기는 새로운 이름을 제공자에게 씁니다.
- 위 절차의 1단계부터 4단계까지 핸드셰이크를 실행하여 서로를 식별하고 이름의 암호화 및 복호화에 사용할 계정 키를 파악합니다. 표 1.2.2:
- 메시지 유형을 0x10으로 설정
- 플래그 비트 1을 1로 설정하여 데이터 특성이 뒤따를 것임을 나타냅니다.
- 표 1.2.2의 데이터 ID를 맞춤 이름인 0x01로 설정합니다.
- 이름을 데이터 특성
FE2C1237-8366-4814-8EB0-01DE32100BEA
에 씁니다.
공급자는 표 1.2.1의 비트 2를 통해 요청된 경우 맞춤 이름으로 추가 데이터 특성에 알려야 합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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\")."]]