Compare commits

..

No commits in common. "main" and "v1.0.20" have entirely different histories.

1 changed files with 9 additions and 4 deletions

View File

@ -973,13 +973,18 @@ type BleManufacturerData struct {
Data []byte `json:"data,omitempty"`
}
type BleDevice struct {
Address string `json:"address,omitempty"`
RSSI int16 `json:"rssi,omitempty"`
Name string `json:"name,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"`
}
type BleAdvertisementMessage struct {
Header MessageHeader `json:"header,omitempty"`
Device BleDevice `json:"device,omitempty"`