Added BleCompany

This commit is contained in:
henry 2024-11-19 06:50:02 -08:00
parent 56bf4a9523
commit cf518b3829
1 changed files with 6 additions and 1 deletions

View File

@ -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"`
}