backend

package
v0.0.0-...-c34abbc Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

func NewBackend

func NewBackend(bind string, mac string, longtitude float64, latitude float64, altitude int32) (*Backend, error)

func (*Backend) Close

func (b *Backend) Close() error

func (*Backend) SendHeartbeat

func (b *Backend) SendHeartbeat() error

Send PullData Command(Just a heartbeat every 10ms)

func (*Backend) SendPushData

func (b *Backend) SendPushData(rxpk gateway.RXPK) error

Send Join or comfirm/uncomfirm uplink data from lora node

func (*Backend) SendStatData

func (b *Backend) SendStatData() error

Send (Just a stat every 30ms)

func (*Backend) TXChan

func (b *Backend) TXChan() chan gateway.TXPK

Jump to

Keyboard shortcuts

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