diff --git a/messages.go b/messages.go index 57c2c7e..4975c71 100644 --- a/messages.go +++ b/messages.go @@ -966,11 +966,16 @@ 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"` + CompanyId uint16 `json:"company_id,omitempty"` + Name string `json:"name,omitempty"` + Data []byte `json:"data,omitempty"` } type BleDevice struct {