frequency_plan

package
v0.0.0-...-5c3c994 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 12 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CountryToPlan = map[countries.CountryCode]string{}/* 103 elements not displayed */
View Source
var EEZToCountry = map[string]countries.CountryCode{
	"3293.0": countries.BE,
	"5668.0": countries.NL,
	"5669.0": countries.DE,
	"5696.0": countries.GB,
	"5677.0": countries.FR,
	"5681.0": countries.IE,
	"5682.0": countries.IT,
}
View Source
var Overrides = map[string]string{
	"821f37fffffffff": "EU868",
	"82006ffffffffff": "EU868",
}

Functions

func GetBand

func GetBand(commonName string) (band.Band, error)

func IsValidBandForHex

func IsValidBandForHex(band BandName, hex h3.Cell) (bool, error)

Types

type BandName

type BandName string
const (
	Invalid BandName = "INVALID"
	EU868   BandName = "EU868"
	US915   BandName = "US915"
	CN779   BandName = "CN779"
	EU433   BandName = "EU433"
	AU915   BandName = "AU915"
	CN470   BandName = "CN470"
	AS923   BandName = "AS923"
	AS923_2 BandName = "AS923-2"
	AS923_3 BandName = "AS923-3"
	KR920   BandName = "KR920"
	IN865   BandName = "IN865"
	RU864   BandName = "RU864"
	AS923_4 BandName = "AS923-4"
)

func FromBlockchain

func FromBlockchain(in BlockchainFrequencyPlan) BandName

func (BandName) ToBlockchain

func (b BandName) ToBlockchain() BlockchainFrequencyPlan

func (*BandName) UnmarshalText

func (b *BandName) UnmarshalText(text []byte) error

type BlockchainFrequencyPlan

type BlockchainFrequencyPlan uint

Jump to

Keyboard shortcuts

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