Versions in this module Expand all Collapse all v3 v3.7.3 Apr 29, 2020 Changes in this version + func GetEndDeviceFormats() map[string]EndDeviceFormat + func RegisterEndDeviceFormat(id string, f EndDeviceFormat) + type AuthenticatedEndDeviceIdentifiers interface + AuthenticatedEndDeviceIdentifiers func() (joinEUI, devEUI types.EUI64, authenticationCode string) + type Data interface + Validate func() error + func Parse(data []byte) (Data, error) + type EndDeviceData interface + Encode func(*ttnpb.EndDevice) error + type EndDeviceFormat interface + Format func() *ttnpb.QRCodeFormat + New func() EndDeviceData + func GetEndDeviceFormat(id string) EndDeviceFormat + type LoRaAllianceTR005Draft2 struct + DevEUI types.EUI64 + DeviceValidationCode string + JoinEUI types.EUI64 + ModelID [2]byte + Proprietary string + SerialNumber string + VendorID [2]byte + func (m *LoRaAllianceTR005Draft2) AuthenticatedEndDeviceIdentifiers() (joinEUI, devEUI types.EUI64, authenticationCode string) + func (m *LoRaAllianceTR005Draft2) Encode(dev *ttnpb.EndDevice) error + func (m *LoRaAllianceTR005Draft2) UnmarshalText(text []byte) error + func (m LoRaAllianceTR005Draft2) MarshalText() ([]byte, error) + func (m LoRaAllianceTR005Draft2) Validate() error + type LoRaAllianceTR005Draft3 struct + DevEUI types.EUI64 + DeviceValidationCode string + JoinEUI types.EUI64 + ModelID [2]byte + Proprietary string + SerialNumber string + VendorID [2]byte + func (m *LoRaAllianceTR005Draft3) AuthenticatedEndDeviceIdentifiers() (joinEUI, devEUI types.EUI64, authenticationCode string) + func (m *LoRaAllianceTR005Draft3) Encode(dev *ttnpb.EndDevice) error + func (m *LoRaAllianceTR005Draft3) UnmarshalText(text []byte) error + func (m LoRaAllianceTR005Draft3) MarshalText() ([]byte, error) + func (m LoRaAllianceTR005Draft3) Validate() error