From 3d41e774de7219fbc1584e6d687ffb620db0e08f Mon Sep 17 00:00:00 2001 From: John Brandt Date: Tue, 30 Jul 2024 17:13:02 -0600 Subject: [PATCH] chore: add StopServiceAdvertisement stub for linux --- gatts_linux.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gatts_linux.go b/gatts_linux.go index dad88b1b..d4cfd78c 100644 --- a/gatts_linux.go +++ b/gatts_linux.go @@ -71,6 +71,12 @@ func (c *bluezChar) WriteValue(value []byte, options map[string]dbus.Variant) *d return nil } +func (a *Adapter) StopServiceAdvertisement() error { + // TODO: implement on linux + + return nil +} + // AddService creates a new service with the characteristics listed in the // Service struct. func (a *Adapter) AddService(s *Service) error {