syncing up BLE between Go and Python

This commit is contained in:
henry 2024-12-29 16:33:06 -08:00
parent 88ddf0d9c0
commit 94940f66c9
1 changed files with 9 additions and 4 deletions

View File

@ -966,10 +966,15 @@ type StatusMessage struct {
States map[string]bool `json:"states,omitempty"`
}
type BleServiceData struct {
UUID string `json:"uuid,omitempty"`
Name string `json:"name,omitempty"`
Data []byte `json:"data,omitempty"`
}
type BleManufacturerData struct {
CompanyId uint16 `json:"company_id,omitempty"`
Name string `json:"name,omitempty"`
Services []string `json:"services,omitempty"`
Data []byte `json:"data,omitempty"`
}