onatbas / bluetooth.koplugin

A plugin to easily turn bluetooth on and off in KOReader for Kobo Devices. Basic console skills required.
https://www.mobileread.com/forums/showthread.php?t=362986
6 stars 0 forks source link

Bluetooth Fails to Turn On Without Active Internet Connection #8

Closed onatbas closed 3 weeks ago

onatbas commented 3 weeks ago

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.'

onatbas commented 3 weeks ago

The user will be asked to turn on wifi manually.