Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Henry Seurer | 88ddf0d9c0 | |
Henry Seurer | 95d3db9196 |
13
messages.go
13
messages.go
|
@ -973,16 +973,11 @@ type BleManufacturerData struct {
|
||||||
Data []byte `json:"data,omitempty"`
|
Data []byte `json:"data,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type BleAdvertisementPayload struct {
|
|
||||||
LocalName string `json:"localName,omitempty"`
|
|
||||||
ManufacturerData []BleManufacturerData `json:"companies,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type BleDevice struct {
|
type BleDevice struct {
|
||||||
Address string `json:"address,omitempty"`
|
Address string `json:"address,omitempty"`
|
||||||
RSSI int16 `json:"rssi,omitempty"`
|
RSSI int16 `json:"rssi,omitempty"`
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
Advertisement BleAdvertisementPayload `json:"advertisement,omitempty"`
|
ManufacturerData []BleManufacturerData `json:"companies,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type BleAdvertisementMessage struct {
|
type BleAdvertisementMessage struct {
|
||||||
|
|
Loading…
Reference in New Issue