10-11-2017, 10:52 PM
My intention was that the auto-discover was only to be used once. For that, having the screen on would be a reasonable condition. The point is that from that time on, the device would auto-connect to the computer everytime it connected to the same wifi (use case: you set it up on your home wifi, then everytime you come home, the PC connects to the phone automatically, and can sync contacts / backup texts / whatever. For this to work, we'd probably have to use both directions for the broadcast, the PC -> Device for the initial pairing and Device -> PC for auto-reconnect.