Commit Graph

66 Commits

Author SHA1 Message Date
05fe04e638 only list successfully paired devices 2020-07-28 21:39:21 +02:00
dfac83a064 Increase boot up time if many devices are present
This will lead to less accurate behaviour with many devices listed in
bluetoothctl devices but otherwise the script becomes unbearably slow.
Remove head from the start up process if you wish to disable this
feature
2020-07-25 21:43:10 +02:00
cbd1b2f83d selecting connected device disconnects it 2020-07-23 20:47:11 +02:00
3a0fabef13 added troubleshooting section 2020-07-14 09:33:11 +02:00
ef42241838 remove unnecessary error message from stdout 2020-07-11 19:20:20 +02:00
4dc917aad7 readded cleanup routine 2020-07-10 11:39:13 +02:00
e7c2e1437b sped up start up using temp files (could be better) 2020-07-10 11:37:04 +02:00
774c5f7d1c only attempt to pair on connect if necessary 2020-07-07 12:24:46 +02:00
47f83247e4 fixed weird formatting in catchall case
removed debugging prints

	modified:   bt
2020-07-06 16:19:26 +02:00
234e781b6b only list untrusted devices in trust menu 2020-07-06 12:39:22 +02:00
38ba67b4fa Only lists connected devices in disconnect menu
Does not list all paired devices anymore
Also, if there is only one connected device,
immedieately disconnect that device
	modified:   README.md
	modified:   bt
2020-07-06 12:32:16 +02:00
231e9bb37b disconnects the one device if only one is paired 2020-07-06 12:06:41 +02:00
e1fe5f134a slowed down startup again, breaks scan otherwise 2020-07-05 19:45:12 +02:00
bbad7146b3 fixed bug where power option is not displayed 2020-07-05 15:24:19 +02:00
b061212d81 sped up menu display when controller unpowered 2020-07-05 15:21:24 +02:00
0e491681f4 better structure in README 2020-07-05 11:29:12 +02:00
cea71f9d36 fixed power off action not working 2020-07-04 22:04:00 +02:00
911bc6e338 updated TODOs 2020-07-04 21:46:01 +02:00
320ff39885 added option to disable autoscan 2020-07-04 21:44:00 +02:00
26d0f11fd0 updated README 2020-07-04 21:43:46 +02:00
96d6f631d1 only show disconnect option if devices are connected 2020-07-04 21:36:11 +02:00
04182df41c added new pending feature, clean up 2020-07-04 21:10:05 +02:00
06dd5537f7 rearranged actions in a more logical order 2020-07-04 21:01:57 +02:00
c1508ba5f6 added hidden blacklist menu 2020-07-04 20:50:23 +02:00
898ea9dc74 updated hardcoded pairlist via btctl paired-devices 2020-07-04 20:46:36 +02:00
01d0375225 clened up debugging messages 2020-07-04 20:36:05 +02:00
2736f9bd99 increased reliability of pairing and unpairing
the pairlist now works again as intended.
furthermore more correct handling for special
cases like first/last device added.
2020-07-04 20:27:25 +02:00
427ff66213 cleaned up Makefile 2020-07-04 20:26:30 +02:00
51ec2690a8 Merge branch 'master' of https://github.com/AlexBocken/bthandler 2020-06-29 15:20:30 +02:00
0edc5b51fb fix scanning for devices broke pairing 2020-06-29 15:19:25 +02:00
Alexander Bocken
17c7c1c2b5
fix README.md 2020-06-28 19:07:40 +02:00
Alexander Bocken
549d771872
added new pending feature 2020-06-28 19:06:22 +02:00
f2d69e7759 Reimplemented trust option
Is enabled by default, autotrust is disabled by default
2020-06-28 14:43:34 +02:00
f38b841d2d connecting is now possible again (sry) 2020-06-28 14:38:32 +02:00
f70de55ec9 removes unnecessary power option depending on power state 2020-06-28 14:04:09 +02:00
28661c0ab3 implemented trust menu and autotrust 2020-06-09 20:20:35 +02:00
3dbb35c5e5 fix first action and last paired device being listed as one option 2020-06-09 18:57:47 +02:00
cacd807a9c cleanup 2020-06-09 18:33:27 +02:00
5729ed7c51 added immediate scan start on menu launch, rescan now available in paring menu 2020-06-09 18:20:51 +02:00
c667d9d602 updated README, now with example image 2020-06-08 22:19:03 +02:00
0a1975b214 updated README 2020-06-08 21:59:36 +02:00
5d2affc8e0 fix unpair feature 2020-06-08 21:53:13 +02:00
c18a45b38b MAJOR UPDATE: Improved reliability
removed unnecesarry temp files, cleaned up code via shellcheck.
Uses a hardcoded paired-devices list because bluetoothctl paired-devices
seems like utter garbage.
2020-06-08 21:29:02 +02:00
4e36aba9cb renamed bthandler to bt, added hardcoded paired_devices file since "bluetoothctl paired-devices" seems unreliable 2020-06-07 20:56:01 +02:00
57d4590b2b cleaned up error codes 2020-05-23 15:42:33 +02:00
Alexander Bocken
6d993c3a7e
fix formatting 2020-04-25 15:03:18 +02:00
88735ddbc7 improved clarity of README 2020-04-25 15:01:13 +02:00
e98df20ce9 added feature to remove paired devices via the menu 2020-04-22 14:10:15 +02:00
d36a34ca2b Merge branch 'master' of https://github.com/SeaOfFog/bthandler 2020-04-21 21:17:13 +02:00
cb3d6da5f1 checks for all necessary programs at startup now 2020-04-21 21:17:02 +02:00