From 56bf4a95238790abd8b924cd3647cceb0d95c53f Mon Sep 17 00:00:00 2001 From: henry Date: Tue, 19 Nov 2024 06:26:18 -0800 Subject: [PATCH] tweak to message structure --- messages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages.go b/messages.go index 371b90d..555b767 100644 --- a/messages.go +++ b/messages.go @@ -969,7 +969,7 @@ type StatusMessage struct { type BleAdvertisementPayload struct { LocalName string `json:"localName,omitempty"` - Company string `json:"company,omitempty"` + Companies []string `json:"companies,omitempty"` Bytes []byte `json:"bytes,omitempty"` ManufacturerData []bluetooth.ManufacturerDataElement `json:"manufacturerData,omitempty"` }