Dynamic connection path detection and selection for wireless controllers and accessories
First Claim
1. A method for detecting presence of one or more accessories using a wireless communication channel, the method comprising:
- determining, by a controller device, preferred scan parameters for a scanning operation that detects advertisements broadcast by accessories via the wireless communication channel, the preferred scan parameters being determined based at least in part on device status information about the controller device;
determining, based at least in part on information from a previous scanning operation, an estimate of a probability that the controller device is in communication range of one or more accessories in a set of accessories of interest to a controller app executing on the controller device, the preferred scanning parameters being determined further based at least in part on the estimate of the probability;
defining, by the controller device, a filter instruction to be executed based at least in part on detection of one or more events corresponding to an action of the accessories;
determining, by the controller device, actual scan parameters for the scanning operation based at least in part on the preferred scan parameters;
conducting, by the controller device, a scanning operation for the wireless communication channel using the actual scan parameters;
determining, by the controller device, whether an event of the one or more events is detected for a first accessory during the scanning operation; and
in response to determining that the event is detected for the first accessory, performing, by the controller device, a further evaluation of the first accessory.
1 Assignment
0 Petitions
Accused Products
Abstract
Controllers can communicate with accessories using various paths, such as a wireless communication path. A controller can maintain reachability information for each accessory indicating the path(s) via which the accessory is currently reachable. Maintaining the reachability information can include scanning to detect broadcasts from the accessories and updating the reachability information based on the results of scanning. Scanning parameters such as scan interval and scan duration can be selected dynamically based on the current operating context of the controller (e.g., where the controller is located, what processes are active on the controller, what other devices have been detected within communication range of the controller).
75 Citations
21 Claims
-
1. A method for detecting presence of one or more accessories using a wireless communication channel, the method comprising:
-
determining, by a controller device, preferred scan parameters for a scanning operation that detects advertisements broadcast by accessories via the wireless communication channel, the preferred scan parameters being determined based at least in part on device status information about the controller device; determining, based at least in part on information from a previous scanning operation, an estimate of a probability that the controller device is in communication range of one or more accessories in a set of accessories of interest to a controller app executing on the controller device, the preferred scanning parameters being determined further based at least in part on the estimate of the probability; defining, by the controller device, a filter instruction to be executed based at least in part on detection of one or more events corresponding to an action of the accessories; determining, by the controller device, actual scan parameters for the scanning operation based at least in part on the preferred scan parameters; conducting, by the controller device, a scanning operation for the wireless communication channel using the actual scan parameters; determining, by the controller device, whether an event of the one or more events is detected for a first accessory during the scanning operation; and in response to determining that the event is detected for the first accessory, performing, by the controller device, a further evaluation of the first accessory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A controller device, comprising:
-
at least one memory to store information about one or more accessories; a wireless communication interface; and a processing subsystem coupled to the at least one memory and the wireless communication interface, the processing subsystem comprising at least one processor configured to; determine preferred scan parameters for a scanning operation that detects advertisements broadcast by accessories via the wireless communication interface, the preferred scan parameters being determined based at least in part on device status information about the controller device; determining, based at least in part on information from a previous scanning operation, an estimate of a probability that the controller device is in communication range of one or more accessories in a set of accessories of interest to a controller app executing on the controller device, the preferred scanning parameters being determined further based at least in part on the estimate of the probability; define a filter instruction to be executed based at least in part on detection of one or more events corresponding to an action of the accessories, the detection of the one or more events identifying that a controller app is to be notified of the one or more events; determine actual scan parameters for the scanning operation based at least in part on the preferred scan parameters; conduct a scanning operation using the actual scan parameters; determine whether an event of the one or more events is detected for a first accessory during the scanning operation; and in response to determining that the event is detected for the first accessory; generate a notification; and perform a further evaluation of the first accessory. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
-
Specification