apple / HomeKitADK

Apache License 2.0
2.55k stars 232 forks source link

BLE and IP transports at the same time #112

Open rojer opened 3 years ago

rojer commented 3 years ago

What is the expected behavior of a controller when an accessory is available over both IP and BLE? I kind of expected it to prefer IP and fall back to BLE but this is not what I see happening - I see controllers always using BLE. Is this how it's supposed to work?

aajain-com commented 3 years ago

This is not really an officially supported configuration as far as I know. If an accessory is advertising on both BLE and IP, then the controllers will pick one or the other. Seems like your experiment says that the controller picked up BLE.

rojer commented 3 years ago

worse, if an accessory was set up as BLE but is advertising on IP (e.g. when user configures wifi and that becomes available), controllers don't recognize it.