Compare commits

..

No commits in common. "88ddf0d9c02ae40c76a8d0fee8a6e86e7c5aab02" and "b52c585528b90cf216de50782987838a013c200b" have entirely different histories.

1 changed files with 9 additions and 4 deletions

View File

@ -973,11 +973,16 @@ 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"`
ManufacturerData []BleManufacturerData `json:"companies,omitempty"` Advertisement BleAdvertisementPayload `json:"advertisement,omitempty"`
} }
type BleAdvertisementMessage struct { type BleAdvertisementMessage struct {