Versions in this module Expand all Collapse all v0 v0.0.1 Jul 7, 2023 Changes in this version + type ACKNotification struct + Acknowledged bool + ApplicationID int64 + ApplicationName string + DevEUI lorawan.EUI64 + DeviceName string + FCnt uint32 + Tags map[string]string + Variables map[string]string + type DataDownPayload struct + ApplicationID int64 + Confirmed bool + Data []byte + DevEUI lorawan.EUI64 + FPort uint8 + Object json.RawMessage + type DataUpPayload struct + ADR bool + ApplicationID int64 + ApplicationName string + Data []byte + DevEUI lorawan.EUI64 + DeviceName string + DeviceProfileID string + DeviceProfileName string + FCnt uint32 + FPort uint8 + Object interface{} + RXInfo []RXInfo + TXInfo TXInfo + Tags map[string]string + Variables map[string]string + type ErrorNotification struct + ApplicationID int64 + ApplicationName string + DevEUI lorawan.EUI64 + DeviceName string + Error string + FCnt uint32 + Tags map[string]string + Type string + Variables map[string]string + type Integration interface + DataDownChan func() chan DataDownPayload + HandleAckEvent func(ctx context.Context, vars map[string]string, pl integration.AckEvent) error + HandleErrorEvent func(ctx context.Context, vars map[string]string, pl integration.ErrorEvent) error + HandleIntegrationEvent func(ctx context.Context, vars map[string]string, pl integration.IntegrationEvent) error + HandleJoinEvent func(ctx context.Context, vars map[string]string, pl integration.JoinEvent) error + HandleLocationEvent func(ctx context.Context, vars map[string]string, pl integration.LocationEvent) error + HandleStatusEvent func(ctx context.Context, vars map[string]string, pl integration.StatusEvent) error + HandleTxAckEvent func(ctx context.Context, vars map[string]string, pl integration.TxAckEvent) error + HandleUplinkEvent func(ctx context.Context, vars map[string]string, pl integration.UplinkEvent) error + type IntegrationHandler interface + Close func() error + DataDownChan func() chan DataDownPayload + HandleAckEvent func(ctx context.Context, i Integration, vars map[string]string, ...) error + HandleErrorEvent func(ctx context.Context, i Integration, vars map[string]string, ...) error + HandleIntegrationEvent func(ctx context.Context, i Integration, vars map[string]string, ...) error + HandleJoinEvent func(ctx context.Context, i Integration, vars map[string]string, ...) error + HandleLocationEvent func(ctx context.Context, i Integration, vars map[string]string, ...) error + HandleStatusEvent func(ctx context.Context, i Integration, vars map[string]string, ...) error + HandleTxAckEvent func(ctx context.Context, i Integration, vars map[string]string, ...) error + HandleUplinkEvent func(ctx context.Context, i Integration, vars map[string]string, ...) error + type IntegrationNotification struct + ApplicationID int64 + ApplicationName string + DevEUI lorawan.EUI64 + DeviceName string + Object interface{} + Tags map[string]string + type JoinNotification struct + ApplicationID int64 + ApplicationName string + DevAddr lorawan.DevAddr + DevEUI lorawan.EUI64 + DeviceName string + RXInfo []RXInfo + TXInfo TXInfo + Tags map[string]string + Variables map[string]string + type Location struct + Altitude float64 + Latitude float64 + Longitude float64 + type LocationNotification struct + ApplicationID int64 + ApplicationName string + DevEUI lorawan.EUI64 + DeviceName string + Location Location + Tags map[string]string + Variables map[string]string + type RXInfo struct + GatewayID lorawan.EUI64 + LoRaSNR float64 + Location *Location + Name string + RSSI int + Time *time.Time + UplinkID uuid.UUID + type StatusNotification struct + ApplicationID int64 + ApplicationName string + BatteryLevel float32 + BatteryLevelUnavailable bool + DevEUI lorawan.EUI64 + DeviceName string + ExternalPowerSource bool + Margin int + Tags map[string]string + Variables map[string]string + type TXInfo struct + DR int + Frequency int + type TxAckNotification struct + ApplicationID int64 + ApplicationName string + DevEUI lorawan.EUI64 + DeviceName string + FCnt uint32 + Tags map[string]string + Variables map[string]string