Documentation ¶
Index ¶
- type Backend
- func (b *Backend) ApplyConfiguration(config gw.GatewayConfiguration) error
- func (b *Backend) RawPacketForwarderCommand(gw.RawPacketForwarderCommand) error
- func (b *Backend) SendDownlinkFrame(frame gw.DownlinkFrame) error
- func (b *Backend) SetDownlinkTxAckFunc(f func(gw.DownlinkTXAck))
- func (b *Backend) SetGatewayStatsFunc(f func(gw.GatewayStats))
- func (b *Backend) SetRawPacketForwarderEventFunc(func(gw.RawPacketForwarderEvent))
- func (b *Backend) SetSubscribeEventFunc(f func(events.Subscribe))
- func (b *Backend) SetUplinkFrameFunc(f func(gw.UplinkFrame))
- func (b *Backend) Start() error
- func (b *Backend) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
Backend implements a Semtech packet-forwarder (UDP) gateway backend.
func NewBackend ¶
NewBackend creates a new backend.
func (*Backend) ApplyConfiguration ¶
func (b *Backend) ApplyConfiguration(config gw.GatewayConfiguration) error
ApplyConfiguration is not implemented.
func (*Backend) RawPacketForwarderCommand ¶
func (b *Backend) RawPacketForwarderCommand(gw.RawPacketForwarderCommand) error
RawPacketForwarderCommand sends the given raw command to the packet-forwarder.
func (*Backend) SendDownlinkFrame ¶
func (b *Backend) SendDownlinkFrame(frame gw.DownlinkFrame) error
SendDownlinkFrame sends the given downlink frame to the gateway.
func (*Backend) SetDownlinkTxAckFunc ¶
func (b *Backend) SetDownlinkTxAckFunc(f func(gw.DownlinkTXAck))
SetDownlinkTxAckFunc sets the DownlinkTXAck handler func.
func (*Backend) SetGatewayStatsFunc ¶
func (b *Backend) SetGatewayStatsFunc(f func(gw.GatewayStats))
SetGatewayStatsFunc sets the GatewayStats handler func.
func (*Backend) SetRawPacketForwarderEventFunc ¶
func (b *Backend) SetRawPacketForwarderEventFunc(func(gw.RawPacketForwarderEvent))
SetRawPacketForwarderEventFunc sets the RawPacketForwarderEvent handler func.
func (*Backend) SetSubscribeEventFunc ¶
SetSubscribeEventFunc sets the Subscribe handler func.
func (*Backend) SetUplinkFrameFunc ¶
func (b *Backend) SetUplinkFrameFunc(f func(gw.UplinkFrame))
SetUplinkFrameFunc sets the UplinkFrame handler func.
Click to show internal directories.
Click to hide internal directories.