toa

package
v2.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2017 License: MIT Imports: 4 Imported by: 41

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeFSK

func ComputeFSK(payloadSize uint, bitrate int) (time.Duration, error)

ComputeFSK computes the time-on-air given a PHY payload size in bytes and a bitrate, Note that this function operates on the PHY payload size and does not add the LoRaWAN header.

func ComputeLoRa

func ComputeLoRa(payloadSize uint, datr string, codr string) (time.Duration, error)

ComputeLoRa computes the time-on-air given a PHY payload size in bytes, a datr identifier and LoRa coding rate identifier. Note that this function operates on the PHY payload size and does not add the LoRaWAN header.

See http://www.semtech.com/images/datasheet/LoraDesignGuide_STD.pdf, page 7

Types

This section is empty.

Jump to

Keyboard shortcuts

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