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).
Abstract:
A client device can be configured to identify data to be communicated with a network. In some examples, the client device can determine one or more transient properties of the client device and/or receive a connection request from a host device that is connected to the network, where the connection request comprises one or more connection properties of the host device. In some instances, the client device can also be configured to determine whether the host device is capable of transmitting the data to the network based at least in part on the one or more transient properties of the client device and the one or more connection properties of the host device and/or establish a connection with the host device in accordance with determining that the host device is capable of transmitting the data to the network.
Abstract:
A client device and a host device may create a local connection for providing wide area network access, such as Internet access, to the client device. In some embodiments, the client device may have limited network capabilities and may not be able to access the Internet without the host device. The client device may provide its speed and direction in a message to potential host devices. A host device may calculate a suitability metric, based on the speed and direction of the client as well as connection properties of the networks, which indicates an ability for the host device to connect the client device to the Internet. The host device may provide the suitability metric within a connection request to the client device. Based on the suitability metric and/or other factors, the client device and the host device may establish the local connection.