frequency_plan

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: Apache-2.0 Imports: 13 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CountryToPlan = map[countries.CountryCode]string{}/* 114 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,
	"8323.0": countries.AU,
	"8455.0": countries.NZ,
	"8449.0": countries.TK,
	"8324.0": countries.PG,
	"8310.0": countries.NF,
	"8447.0": countries.NU,
	"8388.0": countries.HM,
	"8446.0": countries.CK,
	"8308.0": countries.CX,
	"8309.0": countries.CC,
	"8758.0": countries.TL,
	"8448.0": countries.TO,
}
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 h3light.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) MarshalText added in v1.3.0

func (b BandName) MarshalText() ([]byte, error)

func (BandName) ToBlockchain

func (b BandName) ToBlockchain() BlockchainFrequencyPlan

func (*BandName) UnmarshalText

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

type BlockchainFrequencyPlan

type BlockchainFrequencyPlan uint

Directories

Path Synopsis
document
cmd command

Jump to

Keyboard shortcuts

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