// AppEUIs that are handled by this component func (a *Announcement) AppEUIs() (euis []types.AppEUI) { for _, meta := range a.Metadata { if euiBytes := meta.GetAppEui(); euiBytes != nil { eui := new(types.AppEUI) if err := eui.Unmarshal(euiBytes); err != nil { continue } euis = append(euis, *eui) } } return }