darkhz / bluetuith

A TUI bluetooth manager for Linux.
MIT License
850 stars 21 forks source link

how can auto scan #16

Closed newyorkthink closed 8 months ago

newyorkthink commented 1 year ago

when i enter bluetuith

image is just not scan

and i always enter s ,i scan

image

so how can bluetuith start and auto scan driver

darkhz commented 1 year ago

Currently there is no way to auto-scan on launch, but I can implement this

frankier commented 8 months ago

I agree it's would be a nice default behavior, possibly with some option to disable

darkhz commented 8 months ago

This feature has now been implemented with the adapter-states command-line option.

To scan automatically on initialization, it can be done via the command-line:

bluetuith --adapter=<adapter> --adapter-states="powered:on, scan:on"`

Or by setting the configuration parameter:

adapter-states: "powered:on, scan:on"