Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkServer ¶
type NetworkServer interface { component.Interface component.ManagementInterface UsePrefix(prefix types.DevAddrPrefix, usage []string) error GetPrefixesFor(requiredUsages ...string) []types.DevAddrPrefix HandleGetDevices(*pb.DevicesRequest) (*pb.DevicesResponse, error) HandlePrepareActivation(*pb_broker.DeduplicatedDeviceActivationRequest) (*pb_broker.DeduplicatedDeviceActivationRequest, error) HandleActivate(*pb_handler.DeviceActivationResponse) (*pb_handler.DeviceActivationResponse, error) HandleUplink(*pb_broker.DeduplicatedUplinkMessage) (*pb_broker.DeduplicatedUplinkMessage, error) HandleDownlink(*pb_broker.DownlinkMessage) (*pb_broker.DownlinkMessage, error) }
NetworkServer implements LoRaWAN-specific functionality for TTN
func NewRedisNetworkServer ¶
func NewRedisNetworkServer(client *redis.Client, netID int) NetworkServer
NewRedisNetworkServer creates a new Redis-backed NetworkServer
Source Files ¶
Click to show internal directories.
Click to hide internal directories.