# US 2025/0168095 A1 · Uniform communication protocols for communication between controllers and accessories

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0168095 A1
- Document ID: US20250168095A1
- Status: Published application
- Kind: A1
- Application number: 19/031,114
- Filed: 2025-01-17
- Published: 2025-05-22
- Earliest claimed: 2014-02-05
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Joe Abuan; Bob Bradley; Craig Dooley; Gregg Golembeski, JR.; Andrew Burks; Srinivas Rama; Arun Mathias; Anush Nadathur; Kevin P. McLaughlin
- Web page: https://patentgrep.com/patent/US20250168095A1

## CPC

- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- G06F 11/3051: {Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs (verification or detection of system hardware configuration G06F11/2247)}
- G06F 21/445: {by mutual authentication, e.g. between devices or programs}
- H04L 9/006: {involving public key infrastructure [PKI] trust models (network architecture or network communication protocol for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/0841: {involving Diffie-Hellman or related key agreement protocols}
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- H04L 9/3247: {involving digital signatures}
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 63/0435: {wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for symmetric key encryption H04L9/06)}
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04L 63/126: {the source of the received data}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/04: specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L 67/303: Terminal profiles
- H04L 67/55: Push-based network services
- H04W 4/70: Services for machine-to-machine communication [M2M] or machine type communication [MTC]
- H04W 12/04: Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W 12/50: Secure pairing of devices
- H04L 63/0442: {wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for public-key encryption H04L9/30)}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/18: {using different networks or channels, e.g. using out of band channels (cryptographic mechanisms or cryptographic arrangements for key distribution involving distinctive intermediate devices or communication paths H04L9/0827; cryptographic mechanisms or cryptographic arrangements for authentication using a plurality of channels H04L9/3215)}
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04W 12/06: Authentication
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A uniform protocol can facilitate secure, authenticated communication between a controller device and an accessory device that is controlled by the controller. An accessory and a controller can establish a pairing, the existence of which can be verified at a later time and used to create a secure communication session. The accessory can provide an accessory definition record that defines the accessory as a collection of services, each service having one or more characteristics. Within a secure communication session, the controller can interrogate the characteristics to determine accessory state and/or modify the characteristics to instruct the accessory to change its state.

## Claims

### Claim 1

A method of performing a pair add process, comprising:
establishing, by a first controller device, a shared secret and a session key with an accessory device;
receiving, by the first controller device, a first key from a second controller device;
generating, by the first controller device, a data block that includes the first key and an indication that the data block corresponds to a request to add a pairing;
transmitting, by the first controller device, a request to begin the pair add process, the request including the data block;
receiving, from the accessory device, a response to the request, the response including a second key;
determining, by the first controller device, whether the response indicates success of the pair add process; and
in accordance with a determination that the response indicates success of the pair add process:
transmitting, by the first controller device, a notification to the second controller device, the notification indicating the success of the pair add process.

### Claim 2 (depends on 1)

The method of claim 1, further comprising performing, by the controller device, a pair setup process with the accessory device prior to establishing the shared secret and the session key.

### Claim 3 (depends on 1)

The method of claim 1, further comprising establishing the controller device as an administrator of the accessory device prior to establishing the shared secret and the session key.

### Claim 4 (depends on 3)

The method of claim 3, wherein the controller device was established as an administrator during a previous pair add process.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first key is received, contained in a security certificate.

### Claim 6 (depends on 1)

The method of claim 1, wherein the data block further includes permissions information indicating permissions to be granted to the second controller device.

### Claim 7 (depends on 6)

The method of claim 6, wherein the permissions information further indicates that the second controller device is to be designated as an administrator of the accessory device.

### Claim 8 (depends on 1)

The method of claim 1, wherein the data block further includes a controller identifier of the second controller device.

### Claim 9 (depends on 1)

The method of claim 1, wherein the request is encrypted using the session key.

### Claim 10 (depends on 1)

The method of claim 1, wherein the request includes a state indicator for identifying the request.

### Claim 11 (depends on 1)

The method of claim 1, wherein the first key comprises a long-term public key of the second controller device.

### Claim 12 (depends on 1)

The method of claim 1, wherein the second key comprises a long-term public key of the accessory device.

### Claim 13 (depends on 1)

The method of claim 1, wherein the notification includes an identifier of the accessory device and the second key.

### Claim 14 (depends on 12)

The method of claim 12, wherein the second controller device is configured to perform a pair verify process with the accessory device using the second key.

### Claim 15

A first controller device configured to perform a pair add process, comprising:
a communication interface to communicate with an accessory device; and
a processing subsystem coupled to the communication interface, the processing subsystem configured to:
establish a shared secret and a session key with an accessory device;
receiving a first key from a second controller device;
generating a data block that includes the first key and an indication that the data block corresponds to a request to add a pairing;
transmit a request to begin the pair add process, the request including the data block;
receive, from the accessory device, a response to the request, the response including a second key;
determine whether the response indicates success of the pair add process; and
in accordance with a determination that the response indicates success of the pair add process:
transmit a notification to the second controller device, the notification indicating the success of the pair add process.

### Claim 16 (depends on 15)

The first controller device of claim 15, wherein the shared secret and the session key are established based at least in part on a pair setup process between the first controller device and the accessory device.

### Claim 17 (depends on 15)

The first controller device of claim 15, wherein the data block further includes permissions information indicating permissions to be granted to the second controller device.

### Claim 18

A computer-readable storage medium, storing computer-executable instructions that, when executed by a processor of a first controller device configured to perform a pair add process, configure the processor to perform operations comprising:
establishing a shared secret and a session key with an accessory device;
receiving a first key from a second controller device;
generating a data block that includes the first key and an indication that the data block corresponds to a request to add a pairing;
transmitting a request to begin the pair add process, the request including the data block;
receiving, from the accessory device, a response to the request, the response including a second key;
determining whether the response indicates success of the pair add process; and
in accordance with a determination that the response indicates success of the pair add process:
transmitting a notification to the second controller device, the notification indicating the success of the pair add process.

### Claim 19 (depends on 18)

The computer-readable storage medium of claim 18, wherein the data block further includes permissions information indicating permissions to be granted to the second controller device.

### Claim 20 (depends on 16)

The computer-readable storage medium of claim 16, wherein the first key comprises a long-term public key of the second controller device, and wherein the second key comprises a long-term public key of the accessory device.
