Cleaning up BLE messages
This commit is contained in:
parent
a693a92115
commit
95d3db9196
13
messages.go
13
messages.go
|
@ -972,16 +972,11 @@ type BleManufacturerData struct {
|
|||
Data []byte `json:"data,omitempty"`
|
||||
}
|
||||
|
||||
type BleAdvertisementPayload struct {
|
||||
LocalName string `json:"localName,omitempty"`
|
||||
ManufacturerData []BleManufacturerData `json:"companies,omitempty"`
|
||||
}
|
||||
|
||||
type BleDevice struct {
|
||||
Address string `json:"address,omitempty"`
|
||||
RSSI int16 `json:"rssi,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Advertisement BleAdvertisementPayload `json:"advertisement,omitempty"`
|
||||
Address string `json:"address,omitempty"`
|
||||
RSSI int16 `json:"rssi,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
ManufacturerData []BleManufacturerData `json:"companies,omitempty"`
|
||||
}
|
||||
|
||||
type BleAdvertisementMessage struct {
|
||||
|
|
Loading…
Reference in New Issue