Compare commits
No commits in common. "main" and "v1.0.20" have entirely different histories.
13
messages.go
13
messages.go
|
@ -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"`
|
||||
|
|
Loading…
Reference in New Issue