types

package
v3.32.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package types provides types for the Device Claiming Server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EUI64Range

type EUI64Range interface {
	// Contains returns true if the EUI64 is in the range.
	Contains(types.EUI64) bool
}

EUI64Range is a range of EUI64s.

func RangeFromEUI64Prefix

func RangeFromEUI64Prefix(prefix types.EUI64Prefix) EUI64Range

RangeFromEUI64Prefix returns a range that contains all EUI64s with the given prefix.

func RangeFromEUI64Range

func RangeFromEUI64Range(start, end types.EUI64) EUI64Range

RangeFromEUI64Range returns a range that contains all EUI64s between start and end.

type GatewayMetadata

type GatewayMetadata struct {
	Antennas []*ttnpb.GatewayAntenna
}

GatewayMetadata contains metadata of a gateway, typically returned on claiming.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL