ttu/ruuvitag-sensor

Change which ble device to use via cli argument

mrwhale opened this issue · 3 comments

So firstly, nice work on this, made things very easy!

I've got this working on a CHIP but currently have 2 bluetooth devices (onboard + usb dongle) and device hci0 is already being used for something else. Could we get a optional argument when using this to specifiy which hci device to use?

ttu commented

Hi,

Made this change to change-ble-device branch. Could you try that it works with your device? Added a general Config class that is passed to functions, so next time small changes like this are little bit easier to make. Just let me know if you need more info or have some suggestions how to improve this.

👍 you the best, will test shortly

ttu commented

Will be fixed with #23