Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions api/service/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/muka/go-bluetooth
module github.com/83567599/go-bluetooth

go 1.14

Expand Down