Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NRGKick-BT charger: handle missing BT device #975

Merged

Conversation

thierolm
Copy link
Contributor

@thierolm thierolm commented May 8, 2021

Das NRGKick-BT charger modul prüft jetzt initial, ob überhaupt ein BT Adapter existiert (hw.GetAdapter(device)) und nutzt dann die zurückgegebene adapterID für die folgenden BT-Funktionsaufrufe.

Die charger/config_test.go Routine ignoriert die BT Fehlermeldung hciconfig provided no response, falls sie auf einem System ohn BT Adapter ausgeführt wird.

Das go-bluetooth Modul muss als Voraussetzung auf die neue Version aktualisiert werden:
github.com/muka/go-bluetooth v0.0.0-20210508070623-03c23c62f181

@andig
Copy link
Member

andig commented May 8, 2021

Fehlt noch ein go mod tidy

@andig andig added the enhancement New feature or request label May 8, 2021
@andig andig merged commit 2bc01d1 into evcc-io:master May 8, 2021
@thierolm thierolm deleted the improvement/nrgkick-bt-adapter-handling branch May 8, 2021 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants