I’m trying to write an adapter for flic buttons. The manufacturer of the provides a native linux daemon to interact with them via bluetooth LE: https://github.com/50ButtonsEach/fliclib-linux-hci
However the daemon needs to run as root or similar to access hci0. Is there any way to make that happen in an adapter?
Further, it uses sqlite to persist data, where should that file be placed? Just within the adapter? Would that survive upgrades of the adapter?
And lastly, it’d be nice if there was some simple way to surface licenses of the bundled dependencies.