random

package
v0.0.0-...-9a529fd Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2017 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(n int) []byte

Bytes generates a random byte slice of length n

func Codr

func Codr() string

Codr generates Codr for instance: 4/6

func Datr

func Datr() string

Datr generates Datr for instance: SF4BW125

func Freq

func Freq() float32

Freq generates a frequency between 865.0 and 870.0 Mhz

func Lsnr

func Lsnr() float32

Lsnr generates LoRa SNR ratio in db. Tend towards generating good ratio with low noise

func Rssi

func Rssi() int32

Rssi generates RSSI signal between -120 < rssi < 0

func String

func String(n int) string

String returns random string of length n

func Token

func Token() []byte

Token generate a random 2-bytes token

Types

This section is empty.

Jump to

Keyboard shortcuts

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