Added Navigation service #5

Merged
Elara6331 merged 9 commits from yannickulrich/infinitime:navigation-service into master 2022-11-03 19:09:07 +00:00
Showing only changes of commit 62987fa31b - Show all commits

View File

@ -62,6 +62,13 @@ var charNames = map[string]string{
NavProgressChar: "Navigation Progress",
}
type NavigationEvent struct {
flag string
narrative string
dist string
progress uint8
}
type Device struct {
device *device.Device1
navflagsChar *gatt.GattCharacteristic1
@ -83,6 +90,7 @@ type Device struct {
notifEventDone bool
Music MusicCtrl
DFU DFU
navigationEv NavigationEvent
}
var (