Add GUI frontend

This commit is contained in:
2021-08-25 21:18:24 -07:00
parent cbcefb149e
commit b7bd385c43
11 changed files with 536 additions and 8 deletions

View File

@@ -8,6 +8,8 @@ const (
ReqTypeBtAddress
ReqTypeNotify
ReqTypeSetTime
ReqTypeWatchHeartRate
ReqTypeWatchBattLevel
)
const (
@@ -35,3 +37,8 @@ type ReqDataNotify struct {
Title string
Body string
}
type DFUProgress struct {
Received int64 `mapstructure:"recvd"`
Total int64 `mapstructure:"total"`
}