syncing up BLE between Go and Python
This commit is contained in:
parent
88ddf0d9c0
commit
94940f66c9
13
messages.go
13
messages.go
|
@ -966,11 +966,16 @@ type StatusMessage struct {
|
||||||
States map[string]bool `json:"states,omitempty"`
|
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 {
|
type BleManufacturerData struct {
|
||||||
CompanyId uint16 `json:"company_id,omitempty"`
|
CompanyId uint16 `json:"company_id,omitempty"`
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
Services []string `json:"services,omitempty"`
|
Data []byte `json:"data,omitempty"`
|
||||||
Data []byte `json:"data,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type BleDevice struct {
|
type BleDevice struct {
|
||||||
|
|
Loading…
Reference in New Issue