If Wi-Fi fails due to no available networks, it will not activate the Bluetooth driver. I just commented the bit that tries the Wifi bit on my local copy, but it requires knowledge that Wifi needs to be on.
Currently, turning on BluetoothOn script turns on Wi-Fi and attempts to connect to the internet. The connection attempt is unnecessary.
You can either find a way to only turn on Wi-Fi without initiating a connection request, or display a message to the user when Wi-Fi is off that says, 'Wi-Fi needs to be turned on, even if it's not connected.'
If Wi-Fi fails due to no available networks, it will not activate the Bluetooth driver. I just commented the bit that tries the Wifi bit on my local copy, but it requires knowledge that Wifi needs to be on.
Currently, turning on BluetoothOn script turns on Wi-Fi and attempts to connect to the internet. The connection attempt is unnecessary.
You can either find a way to only turn on Wi-Fi without initiating a connection request, or display a message to the user when Wi-Fi is off that says, 'Wi-Fi needs to be turned on, even if it's not connected.'