Added BleCompany
This commit is contained in:
parent
56bf4a9523
commit
cf518b3829
|
@ -967,9 +967,14 @@ type StatusMessage struct {
|
|||
States map[string]bool `json:"states,omitempty"`
|
||||
}
|
||||
|
||||
type BleCompany struct {
|
||||
CompanyId int16 `json:"company_id,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
type BleAdvertisementPayload struct {
|
||||
LocalName string `json:"localName,omitempty"`
|
||||
Companies []string `json:"companies,omitempty"`
|
||||
Companies []BleCompany `json:"companies,omitempty"`
|
||||
Bytes []byte `json:"bytes,omitempty"`
|
||||
ManufacturerData []bluetooth.ManufacturerDataElement `json:"manufacturerData,omitempty"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue