diff --git a/api/service/app.go b/api/service/app.go index 00127277..a3ecc495 100644 --- a/api/service/app.go +++ b/api/service/app.go @@ -121,11 +121,12 @@ func (app *App) init() error { // GenerateUUID generate a 128bit UUID func (app *App) GenerateUUID(uuidVal string) string { - base := app.Options.UUID - if len(uuidVal) == 8 { - base = "" - } - return base + uuidVal + app.Options.UUIDSuffix + // base := app.Options.UUID + // if len(uuidVal) == 8 { + // base = "" + // } + // return base + uuidVal + app.Options.UUIDSuffix + return uuidVal + app.Options.UUIDSuffix } // GetAdapter return the adapter in use diff --git a/go.mod b/go.mod index d832412b..fba1fc3b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/muka/go-bluetooth +module github.com/83567599/go-bluetooth go 1.14