clean up a bit the logic of how we get to know whether the telemetry started on devices lookup

This commit is contained in:
2026-09-21 15:55:31 +01:00
parent b364931c80
commit d10c6997f4
5 changed files with 45 additions and 61 deletions
-5
View File
@@ -36,7 +36,6 @@ type TelemetryService struct {
CtxHealthcheck context.Context
healthCheckCancel context.CancelFunc
// Callbacks
OnProviderFound func(string)
// Devices data request
peripheralProvider func() []peripheral.Peripheral
}
@@ -277,8 +276,4 @@ func (t *TelemetryService) IsStreaming() bool {
// Callbacks [START] -----------------------------------------------------------
func (t *TelemetryService) PeripheralFoundCallback(pname string) {
t.Messages <- "Telemetry service callback for peripheral found called\n"
}
// Callbacks [END] -------------------------------------------------------------