controller

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

Client returns the controller cient.

func SetClient

SetClient sets up the given controller client.

Types

type NopNetworkControllerClient

type NopNetworkControllerClient struct{}

NopNetworkControllerClient is a dummy network-controller client which is used when no network-controller is present / configured.

func (*NopNetworkControllerClient) HandleDownlinkMetaData

func (n *NopNetworkControllerClient) HandleDownlinkMetaData(ctx context.Context, in *nc.HandleDownlinkMetaDataRequest, opts ...grpc.CallOption) (*empty.Empty, error)

HandleUplinkMACCommand handles an uplink mac-command. This method will only be called in case the mac-command request was enqueued throught the API or when the CID is >= 0x80 (proprietary mac-command range).

func (*NopNetworkControllerClient) HandleRejectedUplinkFrameSet

func (n *NopNetworkControllerClient) HandleRejectedUplinkFrameSet(ctx context.Context, in *nc.HandleRejectedUplinkFrameSetRequest, opts ...grpc.CallOption) (*empty.Empty, error)

HandleRejectedUplinkFrameSet handles a rejected uplink. And uplink can be rejected in the case the device has not (yet) been provisioned, because of invalid frame-counter, MIC, ...

func (*NopNetworkControllerClient) HandleUplinkMACCommand

func (n *NopNetworkControllerClient) HandleUplinkMACCommand(ctx context.Context, in *nc.HandleUplinkMACCommandRequest, opts ...grpc.CallOption) (*empty.Empty, error)

HandleUplinkMACCommand handles an uplink mac-command. This method will only be called in case the mac-command request was enqueued throught the API or when the CID is >= 0x80 (proprietary mac-command range).

func (*NopNetworkControllerClient) HandleUplinkMetaData

HandleUplinkMetaData handles uplink meta-rata.

Jump to

Keyboard shortcuts

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