azureiothub

package
v3.16.8 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackend

func NewBackend(c config.Config) (gateway.Gateway, error)

NewBackend creates a new Backend.

Types

type Backend

type Backend struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Backend implement an Azure IoT Hub backend.

func (*Backend) Close

func (b *Backend) Close() error

func (*Backend) DownlinkTXAckChan

func (b *Backend) DownlinkTXAckChan() chan gw.DownlinkTXAck

func (*Backend) RXPacketChan

func (b *Backend) RXPacketChan() chan gw.UplinkFrame

func (*Backend) SendGatewayConfigPacket

func (b *Backend) SendGatewayConfigPacket(pl gw.GatewayConfiguration) error

func (*Backend) SendTXPacket

func (b *Backend) SendTXPacket(pl gw.DownlinkFrame) error

func (*Backend) StatsPacketChan

func (b *Backend) StatsPacketChan() chan gw.GatewayStats

Jump to

Keyboard shortcuts

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