Documentation ¶
Index ¶
- func AppEUI() types.AppEUI
- func AppID() string
- func AppNonce() types.AppNonce
- func Bool() bool
- func Bytes(n int) []byte
- func Codr() string
- func Datr() string
- func DevAddr() types.DevAddr
- func DevEUI() types.DevEUI
- func DevID() string
- func DevNonce() types.DevNonce
- func EUI64() types.EUI64
- func Freq() float32
- func ID() string
- func Intn(n int) int
- func LSNR() float32
- func NetID() types.NetID
- func RSSI() int32
- func String(n int) string
- type TTNRandom
- func (r *TTNRandom) AppEUI() (eui types.AppEUI)
- func (r *TTNRandom) AppID() string
- func (r *TTNRandom) AppNonce() (appNonce types.AppNonce)
- func (r *TTNRandom) Bool() bool
- func (r *TTNRandom) Codr() string
- func (r *TTNRandom) Datr() string
- func (r *TTNRandom) DevAddr() (devAddr types.DevAddr)
- func (r *TTNRandom) DevEUI() (eui types.DevEUI)
- func (r *TTNRandom) DevID() string
- func (r *TTNRandom) DevNonce() (devNonce types.DevNonce)
- func (r *TTNRandom) EUI64() (eui types.EUI64)
- func (r *TTNRandom) Freq() float32
- func (r *TTNRandom) ID() string
- func (r *TTNRandom) LSNR() float32
- func (r *TTNRandom) NetID() (netID types.NetID)
- func (r *TTNRandom) RSSI() int32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TTNRandom ¶
TTNRandom is used as a wrapper around math/rand
func New ¶
func New() *TTNRandom
New returns a new TTNRandom, in most cases you can just use the global funcs
Click to show internal directories.
Click to hide internal directories.