Cleaning up BLE messages

This commit is contained in:
Henry Seurer 2024-12-17 20:36:50 -08:00
parent a693a92115
commit 95d3db9196
1 changed files with 4 additions and 9 deletions

View File

@ -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 {