api

package
v0.0.0-...-2ac35d6 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package api is a generated protocol buffer package.

It is generated from these files:

application.proto
node.proto
channel.proto
channelList.proto
nodeSession.proto
common.proto

It has these top-level messages:

CreateApplicationRequest
CreateApplicationResponse
GetApplicationRequest
GetApplicationResponse
DeleteApplicationRequest
DeleteApplicationResponse
ListApplicationRequest
ListApplicationResponse
UpdateApplicationRequest
UpdateApplicationResponse
CreateNodeRequest
CreateNodeResponse
GetNodeRequest
GetNodeResponse
DeleteNodeRequest
DeleteNodeResponse
ListNodeRequest
ListNodeResponse
ListNodeByAppEUIRequest
UpdateNodeRequest
UpdateNodeResponse
FlushTXPayloadQueueRequest
FlushTXPayloadQueueResponse
CreateChannelRequest
CreateChannelResponse
GetChannelRequest
GetChannelResponse
UpdateChannelRequest
UpdateChannelResponse
DeleteChannelRequest
DeleteChannelResponse
ListChannelsByChannelListRequest
ListChannelsByChannelListResponse
CreateChannelListRequest
CreateChannelListResponse
UpdateChannelListRequest
UpdateChannelListResponse
GetChannelListRequest
GetChannelListResponse
ListChannelListRequest
ListChannelListResponse
DeleteChannelListRequest
DeleteChannelListResponse
CreateNodeSessionRequest
CreateNodeSessionResponse
GetNodeSessionRequest
GetNodeSessionResponse
GetNodeSessionByDevEUIRequest
UpdateNodeSessionRequest
UpdateNodeSessionResponse
DeleteNodeSessionRequest
DeleteNodeSessionResponse
GetRandomDevAddrRequest
GetRandomDevAddrResponse

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var RXWindow_name = map[int32]string{
	0: "RX1",
	1: "RX2",
}
View Source
var RXWindow_value = map[string]int32{
	"RX1": 0,
	"RX2": 1,
}

Functions

func RegisterApplicationHandler

func RegisterApplicationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterApplicationHandler registers the http handlers for service Application to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterApplicationHandlerFromEndpoint

func RegisterApplicationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterApplicationHandlerFromEndpoint is same as RegisterApplicationHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterApplicationServer

func RegisterApplicationServer(s *grpc.Server, srv ApplicationServer)

func RegisterChannelHandler

func RegisterChannelHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterChannelHandler registers the http handlers for service Channel to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterChannelHandlerFromEndpoint

func RegisterChannelHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterChannelHandlerFromEndpoint is same as RegisterChannelHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterChannelListHandler

func RegisterChannelListHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterChannelListHandler registers the http handlers for service ChannelList to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterChannelListHandlerFromEndpoint

func RegisterChannelListHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterChannelListHandlerFromEndpoint is same as RegisterChannelListHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterChannelListServer

func RegisterChannelListServer(s *grpc.Server, srv ChannelListServer)

func RegisterChannelServer

func RegisterChannelServer(s *grpc.Server, srv ChannelServer)

func RegisterNodeHandler

func RegisterNodeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterNodeHandler registers the http handlers for service Node to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterNodeHandlerFromEndpoint

func RegisterNodeHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterNodeHandlerFromEndpoint is same as RegisterNodeHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterNodeServer

func RegisterNodeServer(s *grpc.Server, srv NodeServer)

func RegisterNodeSessionHandler

func RegisterNodeSessionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterNodeSessionHandler registers the http handlers for service NodeSession to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterNodeSessionHandlerFromEndpoint

func RegisterNodeSessionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterNodeSessionHandlerFromEndpoint is same as RegisterNodeSessionHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterNodeSessionServer

func RegisterNodeSessionServer(s *grpc.Server, srv NodeSessionServer)

Types

type ApplicationClient

type ApplicationClient interface {
	// Create creates the given application.
	Create(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*CreateApplicationResponse, error)
	// Get returns the application for the given AppEUI.
	Get(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*GetApplicationResponse, error)
	// Delete deletes the application matching the given AppEUI.
	Delete(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*DeleteApplicationResponse, error)
	// List lists the applications given an offset and limit.
	List(ctx context.Context, in *ListApplicationRequest, opts ...grpc.CallOption) (*ListApplicationResponse, error)
	// Update updates the application matching the given AppEUI.
	Update(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*UpdateApplicationResponse, error)
}

func NewApplicationClient

func NewApplicationClient(cc *grpc.ClientConn) ApplicationClient

type ApplicationServer

type ApplicationServer interface {
	// Create creates the given application.
	Create(context.Context, *CreateApplicationRequest) (*CreateApplicationResponse, error)
	// Get returns the application for the given AppEUI.
	Get(context.Context, *GetApplicationRequest) (*GetApplicationResponse, error)
	// Delete deletes the application matching the given AppEUI.
	Delete(context.Context, *DeleteApplicationRequest) (*DeleteApplicationResponse, error)
	// List lists the applications given an offset and limit.
	List(context.Context, *ListApplicationRequest) (*ListApplicationResponse, error)
	// Update updates the application matching the given AppEUI.
	Update(context.Context, *UpdateApplicationRequest) (*UpdateApplicationResponse, error)
}

type ChannelClient

type ChannelClient interface {
	// Create creates the given channel.
	Create(ctx context.Context, in *CreateChannelRequest, opts ...grpc.CallOption) (*CreateChannelResponse, error)
	// Get returns the channel matching the given id.
	Get(ctx context.Context, in *GetChannelRequest, opts ...grpc.CallOption) (*GetChannelResponse, error)
	// Update updates the given channel.
	Update(ctx context.Context, in *UpdateChannelRequest, opts ...grpc.CallOption) (*UpdateChannelResponse, error)
	// Delete deletes the channel matching the given id.
	Delete(ctx context.Context, in *DeleteChannelRequest, opts ...grpc.CallOption) (*DeleteChannelResponse, error)
	// ListByChannelList lists the channels matching the given channel-list id.
	ListByChannelList(ctx context.Context, in *ListChannelsByChannelListRequest, opts ...grpc.CallOption) (*ListChannelsByChannelListResponse, error)
}

func NewChannelClient

func NewChannelClient(cc *grpc.ClientConn) ChannelClient

type ChannelListClient

type ChannelListClient interface {
	// Create creates the given channel-list.
	Create(ctx context.Context, in *CreateChannelListRequest, opts ...grpc.CallOption) (*CreateChannelListResponse, error)
	// Update updates the given channel-list.
	Update(ctx context.Context, in *UpdateChannelListRequest, opts ...grpc.CallOption) (*UpdateChannelListResponse, error)
	// Get returns the channel-list matching the given id.
	Get(ctx context.Context, in *GetChannelListRequest, opts ...grpc.CallOption) (*GetChannelListResponse, error)
	// List lists the channel-lists given an offset and limit.
	List(ctx context.Context, in *ListChannelListRequest, opts ...grpc.CallOption) (*ListChannelListResponse, error)
	// Delete deletes the channel-list matching the given id.
	Delete(ctx context.Context, in *DeleteChannelListRequest, opts ...grpc.CallOption) (*DeleteChannelListResponse, error)
}

func NewChannelListClient

func NewChannelListClient(cc *grpc.ClientConn) ChannelListClient

type ChannelListServer

type ChannelListServer interface {
	// Create creates the given channel-list.
	Create(context.Context, *CreateChannelListRequest) (*CreateChannelListResponse, error)
	// Update updates the given channel-list.
	Update(context.Context, *UpdateChannelListRequest) (*UpdateChannelListResponse, error)
	// Get returns the channel-list matching the given id.
	Get(context.Context, *GetChannelListRequest) (*GetChannelListResponse, error)
	// List lists the channel-lists given an offset and limit.
	List(context.Context, *ListChannelListRequest) (*ListChannelListResponse, error)
	// Delete deletes the channel-list matching the given id.
	Delete(context.Context, *DeleteChannelListRequest) (*DeleteChannelListResponse, error)
}

type ChannelServer

type ChannelServer interface {
	// Create creates the given channel.
	Create(context.Context, *CreateChannelRequest) (*CreateChannelResponse, error)
	// Get returns the channel matching the given id.
	Get(context.Context, *GetChannelRequest) (*GetChannelResponse, error)
	// Update updates the given channel.
	Update(context.Context, *UpdateChannelRequest) (*UpdateChannelResponse, error)
	// Delete deletes the channel matching the given id.
	Delete(context.Context, *DeleteChannelRequest) (*DeleteChannelResponse, error)
	// ListByChannelList lists the channels matching the given channel-list id.
	ListByChannelList(context.Context, *ListChannelsByChannelListRequest) (*ListChannelsByChannelListResponse, error)
}

type CreateApplicationRequest

type CreateApplicationRequest struct {
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,1,opt,name=appEUI" json:"appEUI,omitempty"`
	// name of the application
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*CreateApplicationRequest) Descriptor

func (*CreateApplicationRequest) Descriptor() ([]byte, []int)

func (*CreateApplicationRequest) ProtoMessage

func (*CreateApplicationRequest) ProtoMessage()

func (*CreateApplicationRequest) Reset

func (m *CreateApplicationRequest) Reset()

func (*CreateApplicationRequest) String

func (m *CreateApplicationRequest) String() string

type CreateApplicationResponse

type CreateApplicationResponse struct {
}

func (*CreateApplicationResponse) Descriptor

func (*CreateApplicationResponse) Descriptor() ([]byte, []int)

func (*CreateApplicationResponse) ProtoMessage

func (*CreateApplicationResponse) ProtoMessage()

func (*CreateApplicationResponse) Reset

func (m *CreateApplicationResponse) Reset()

func (*CreateApplicationResponse) String

func (m *CreateApplicationResponse) String() string

type CreateChannelListRequest

type CreateChannelListRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*CreateChannelListRequest) Descriptor

func (*CreateChannelListRequest) Descriptor() ([]byte, []int)

func (*CreateChannelListRequest) ProtoMessage

func (*CreateChannelListRequest) ProtoMessage()

func (*CreateChannelListRequest) Reset

func (m *CreateChannelListRequest) Reset()

func (*CreateChannelListRequest) String

func (m *CreateChannelListRequest) String() string

type CreateChannelListResponse

type CreateChannelListResponse struct {
	Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}

func (*CreateChannelListResponse) Descriptor

func (*CreateChannelListResponse) Descriptor() ([]byte, []int)

func (*CreateChannelListResponse) ProtoMessage

func (*CreateChannelListResponse) ProtoMessage()

func (*CreateChannelListResponse) Reset

func (m *CreateChannelListResponse) Reset()

func (*CreateChannelListResponse) String

func (m *CreateChannelListResponse) String() string

type CreateChannelRequest

type CreateChannelRequest struct {
	ChannelListID int64 `protobuf:"varint,1,opt,name=channelListID" json:"channelListID,omitempty"`
	Channel       int64 `protobuf:"varint,2,opt,name=channel" json:"channel,omitempty"`
	Frequency     int64 `protobuf:"varint,3,opt,name=frequency" json:"frequency,omitempty"`
}

func (*CreateChannelRequest) Descriptor

func (*CreateChannelRequest) Descriptor() ([]byte, []int)

func (*CreateChannelRequest) ProtoMessage

func (*CreateChannelRequest) ProtoMessage()

func (*CreateChannelRequest) Reset

func (m *CreateChannelRequest) Reset()

func (*CreateChannelRequest) String

func (m *CreateChannelRequest) String() string

type CreateChannelResponse

type CreateChannelResponse struct {
	Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}

func (*CreateChannelResponse) Descriptor

func (*CreateChannelResponse) Descriptor() ([]byte, []int)

func (*CreateChannelResponse) ProtoMessage

func (*CreateChannelResponse) ProtoMessage()

func (*CreateChannelResponse) Reset

func (m *CreateChannelResponse) Reset()

func (*CreateChannelResponse) String

func (m *CreateChannelResponse) String() string

type CreateNodeRequest

type CreateNodeRequest struct {
	// hex encoded DevEUI
	DevEUI string `protobuf:"bytes,1,opt,name=devEUI" json:"devEUI,omitempty"`
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,2,opt,name=appEUI" json:"appEUI,omitempty"`
	// hex encoded AppKey
	AppKey        string   `protobuf:"bytes,3,opt,name=appKey" json:"appKey,omitempty"`
	RxDelay       uint32   `protobuf:"varint,4,opt,name=rxDelay" json:"rxDelay,omitempty"`
	Rx1DROffset   uint32   `protobuf:"varint,5,opt,name=rx1DROffset" json:"rx1DROffset,omitempty"`
	ChannelListID int64    `protobuf:"varint,6,opt,name=channelListID" json:"channelListID,omitempty"`
	RxWindow      RXWindow `protobuf:"varint,7,opt,name=rxWindow,enum=api.RXWindow" json:"rxWindow,omitempty"`
	Rx2DR         uint32   `protobuf:"varint,8,opt,name=rx2DR" json:"rx2DR,omitempty"`
}

func (*CreateNodeRequest) Descriptor

func (*CreateNodeRequest) Descriptor() ([]byte, []int)

func (*CreateNodeRequest) ProtoMessage

func (*CreateNodeRequest) ProtoMessage()

func (*CreateNodeRequest) Reset

func (m *CreateNodeRequest) Reset()

func (*CreateNodeRequest) String

func (m *CreateNodeRequest) String() string

type CreateNodeResponse

type CreateNodeResponse struct {
}

func (*CreateNodeResponse) Descriptor

func (*CreateNodeResponse) Descriptor() ([]byte, []int)

func (*CreateNodeResponse) ProtoMessage

func (*CreateNodeResponse) ProtoMessage()

func (*CreateNodeResponse) Reset

func (m *CreateNodeResponse) Reset()

func (*CreateNodeResponse) String

func (m *CreateNodeResponse) String() string

type CreateNodeSessionRequest

type CreateNodeSessionRequest struct {
	// hex encoded DevAddr
	DevAddr string `protobuf:"bytes,1,opt,name=devAddr" json:"devAddr,omitempty"`
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,2,opt,name=appEUI" json:"appEUI,omitempty"`
	// hex encoded DevEUI
	DevEUI string `protobuf:"bytes,3,opt,name=devEUI" json:"devEUI,omitempty"`
	// hex encoded AppSKey
	AppSKey string `protobuf:"bytes,4,opt,name=appSKey" json:"appSKey,omitempty"`
	// hex encoded NwkSKey
	NwkSKey     string   `protobuf:"bytes,5,opt,name=nwkSKey" json:"nwkSKey,omitempty"`
	FCntUp      uint32   `protobuf:"varint,6,opt,name=fCntUp" json:"fCntUp,omitempty"`
	FCntDown    uint32   `protobuf:"varint,7,opt,name=fCntDown" json:"fCntDown,omitempty"`
	RxDelay     uint32   `protobuf:"varint,8,opt,name=rxDelay" json:"rxDelay,omitempty"`
	Rx1DROffset uint32   `protobuf:"varint,9,opt,name=rx1DROffset" json:"rx1DROffset,omitempty"`
	CFList      []uint32 `protobuf:"varint,10,rep,packed,name=cFList" json:"cFList,omitempty"`
	RxWindow    RXWindow `protobuf:"varint,11,opt,name=rxWindow,enum=api.RXWindow" json:"rxWindow,omitempty"`
	Rx2DR       uint32   `protobuf:"varint,12,opt,name=rx2DR" json:"rx2DR,omitempty"`
}

func (*CreateNodeSessionRequest) Descriptor

func (*CreateNodeSessionRequest) Descriptor() ([]byte, []int)

func (*CreateNodeSessionRequest) ProtoMessage

func (*CreateNodeSessionRequest) ProtoMessage()

func (*CreateNodeSessionRequest) Reset

func (m *CreateNodeSessionRequest) Reset()

func (*CreateNodeSessionRequest) String

func (m *CreateNodeSessionRequest) String() string

type CreateNodeSessionResponse

type CreateNodeSessionResponse struct {
}

func (*CreateNodeSessionResponse) Descriptor

func (*CreateNodeSessionResponse) Descriptor() ([]byte, []int)

func (*CreateNodeSessionResponse) ProtoMessage

func (*CreateNodeSessionResponse) ProtoMessage()

func (*CreateNodeSessionResponse) Reset

func (m *CreateNodeSessionResponse) Reset()

func (*CreateNodeSessionResponse) String

func (m *CreateNodeSessionResponse) String() string

type DeleteApplicationRequest

type DeleteApplicationRequest struct {
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,1,opt,name=appEUI" json:"appEUI,omitempty"`
}

func (*DeleteApplicationRequest) Descriptor

func (*DeleteApplicationRequest) Descriptor() ([]byte, []int)

func (*DeleteApplicationRequest) ProtoMessage

func (*DeleteApplicationRequest) ProtoMessage()

func (*DeleteApplicationRequest) Reset

func (m *DeleteApplicationRequest) Reset()

func (*DeleteApplicationRequest) String

func (m *DeleteApplicationRequest) String() string

type DeleteApplicationResponse

type DeleteApplicationResponse struct {
}

func (*DeleteApplicationResponse) Descriptor

func (*DeleteApplicationResponse) Descriptor() ([]byte, []int)

func (*DeleteApplicationResponse) ProtoMessage

func (*DeleteApplicationResponse) ProtoMessage()

func (*DeleteApplicationResponse) Reset

func (m *DeleteApplicationResponse) Reset()

func (*DeleteApplicationResponse) String

func (m *DeleteApplicationResponse) String() string

type DeleteChannelListRequest

type DeleteChannelListRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}

func (*DeleteChannelListRequest) Descriptor

func (*DeleteChannelListRequest) Descriptor() ([]byte, []int)

func (*DeleteChannelListRequest) ProtoMessage

func (*DeleteChannelListRequest) ProtoMessage()

func (*DeleteChannelListRequest) Reset

func (m *DeleteChannelListRequest) Reset()

func (*DeleteChannelListRequest) String

func (m *DeleteChannelListRequest) String() string

type DeleteChannelListResponse

type DeleteChannelListResponse struct {
}

func (*DeleteChannelListResponse) Descriptor

func (*DeleteChannelListResponse) Descriptor() ([]byte, []int)

func (*DeleteChannelListResponse) ProtoMessage

func (*DeleteChannelListResponse) ProtoMessage()

func (*DeleteChannelListResponse) Reset

func (m *DeleteChannelListResponse) Reset()

func (*DeleteChannelListResponse) String

func (m *DeleteChannelListResponse) String() string

type DeleteChannelRequest

type DeleteChannelRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}

func (*DeleteChannelRequest) Descriptor

func (*DeleteChannelRequest) Descriptor() ([]byte, []int)

func (*DeleteChannelRequest) ProtoMessage

func (*DeleteChannelRequest) ProtoMessage()

func (*DeleteChannelRequest) Reset

func (m *DeleteChannelRequest) Reset()

func (*DeleteChannelRequest) String

func (m *DeleteChannelRequest) String() string

type DeleteChannelResponse

type DeleteChannelResponse struct {
}

func (*DeleteChannelResponse) Descriptor

func (*DeleteChannelResponse) Descriptor() ([]byte, []int)

func (*DeleteChannelResponse) ProtoMessage

func (*DeleteChannelResponse) ProtoMessage()

func (*DeleteChannelResponse) Reset

func (m *DeleteChannelResponse) Reset()

func (*DeleteChannelResponse) String

func (m *DeleteChannelResponse) String() string

type DeleteNodeRequest

type DeleteNodeRequest struct {
	// hex encoded DevEUI
	DevEUI string `protobuf:"bytes,1,opt,name=devEUI" json:"devEUI,omitempty"`
}

func (*DeleteNodeRequest) Descriptor

func (*DeleteNodeRequest) Descriptor() ([]byte, []int)

func (*DeleteNodeRequest) ProtoMessage

func (*DeleteNodeRequest) ProtoMessage()

func (*DeleteNodeRequest) Reset

func (m *DeleteNodeRequest) Reset()

func (*DeleteNodeRequest) String

func (m *DeleteNodeRequest) String() string

type DeleteNodeResponse

type DeleteNodeResponse struct {
}

func (*DeleteNodeResponse) Descriptor

func (*DeleteNodeResponse) Descriptor() ([]byte, []int)

func (*DeleteNodeResponse) ProtoMessage

func (*DeleteNodeResponse) ProtoMessage()

func (*DeleteNodeResponse) Reset

func (m *DeleteNodeResponse) Reset()

func (*DeleteNodeResponse) String

func (m *DeleteNodeResponse) String() string

type DeleteNodeSessionRequest

type DeleteNodeSessionRequest struct {
	// hex encoded DevAddr
	DevAddr string `protobuf:"bytes,1,opt,name=devAddr" json:"devAddr,omitempty"`
}

func (*DeleteNodeSessionRequest) Descriptor

func (*DeleteNodeSessionRequest) Descriptor() ([]byte, []int)

func (*DeleteNodeSessionRequest) ProtoMessage

func (*DeleteNodeSessionRequest) ProtoMessage()

func (*DeleteNodeSessionRequest) Reset

func (m *DeleteNodeSessionRequest) Reset()

func (*DeleteNodeSessionRequest) String

func (m *DeleteNodeSessionRequest) String() string

type DeleteNodeSessionResponse

type DeleteNodeSessionResponse struct {
}

func (*DeleteNodeSessionResponse) Descriptor

func (*DeleteNodeSessionResponse) Descriptor() ([]byte, []int)

func (*DeleteNodeSessionResponse) ProtoMessage

func (*DeleteNodeSessionResponse) ProtoMessage()

func (*DeleteNodeSessionResponse) Reset

func (m *DeleteNodeSessionResponse) Reset()

func (*DeleteNodeSessionResponse) String

func (m *DeleteNodeSessionResponse) String() string

type FlushTXPayloadQueueRequest

type FlushTXPayloadQueueRequest struct {
	// hex encoded DevEUI
	DevEUI string `protobuf:"bytes,1,opt,name=devEUI" json:"devEUI,omitempty"`
}

func (*FlushTXPayloadQueueRequest) Descriptor

func (*FlushTXPayloadQueueRequest) Descriptor() ([]byte, []int)

func (*FlushTXPayloadQueueRequest) ProtoMessage

func (*FlushTXPayloadQueueRequest) ProtoMessage()

func (*FlushTXPayloadQueueRequest) Reset

func (m *FlushTXPayloadQueueRequest) Reset()

func (*FlushTXPayloadQueueRequest) String

func (m *FlushTXPayloadQueueRequest) String() string

type FlushTXPayloadQueueResponse

type FlushTXPayloadQueueResponse struct {
}

func (*FlushTXPayloadQueueResponse) Descriptor

func (*FlushTXPayloadQueueResponse) Descriptor() ([]byte, []int)

func (*FlushTXPayloadQueueResponse) ProtoMessage

func (*FlushTXPayloadQueueResponse) ProtoMessage()

func (*FlushTXPayloadQueueResponse) Reset

func (m *FlushTXPayloadQueueResponse) Reset()

func (*FlushTXPayloadQueueResponse) String

func (m *FlushTXPayloadQueueResponse) String() string

type GetApplicationRequest

type GetApplicationRequest struct {
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,1,opt,name=appEUI" json:"appEUI,omitempty"`
}

func (*GetApplicationRequest) Descriptor

func (*GetApplicationRequest) Descriptor() ([]byte, []int)

func (*GetApplicationRequest) ProtoMessage

func (*GetApplicationRequest) ProtoMessage()

func (*GetApplicationRequest) Reset

func (m *GetApplicationRequest) Reset()

func (*GetApplicationRequest) String

func (m *GetApplicationRequest) String() string

type GetApplicationResponse

type GetApplicationResponse struct {
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,1,opt,name=appEUI" json:"appEUI,omitempty"`
	// name of the application
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*GetApplicationResponse) Descriptor

func (*GetApplicationResponse) Descriptor() ([]byte, []int)

func (*GetApplicationResponse) ProtoMessage

func (*GetApplicationResponse) ProtoMessage()

func (*GetApplicationResponse) Reset

func (m *GetApplicationResponse) Reset()

func (*GetApplicationResponse) String

func (m *GetApplicationResponse) String() string

type GetChannelListRequest

type GetChannelListRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}

func (*GetChannelListRequest) Descriptor

func (*GetChannelListRequest) Descriptor() ([]byte, []int)

func (*GetChannelListRequest) ProtoMessage

func (*GetChannelListRequest) ProtoMessage()

func (*GetChannelListRequest) Reset

func (m *GetChannelListRequest) Reset()

func (*GetChannelListRequest) String

func (m *GetChannelListRequest) String() string

type GetChannelListResponse

type GetChannelListResponse struct {
	Id   int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*GetChannelListResponse) Descriptor

func (*GetChannelListResponse) Descriptor() ([]byte, []int)

func (*GetChannelListResponse) ProtoMessage

func (*GetChannelListResponse) ProtoMessage()

func (*GetChannelListResponse) Reset

func (m *GetChannelListResponse) Reset()

func (*GetChannelListResponse) String

func (m *GetChannelListResponse) String() string

type GetChannelRequest

type GetChannelRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}

func (*GetChannelRequest) Descriptor

func (*GetChannelRequest) Descriptor() ([]byte, []int)

func (*GetChannelRequest) ProtoMessage

func (*GetChannelRequest) ProtoMessage()

func (*GetChannelRequest) Reset

func (m *GetChannelRequest) Reset()

func (*GetChannelRequest) String

func (m *GetChannelRequest) String() string

type GetChannelResponse

type GetChannelResponse struct {
	Id            int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	ChannelListID int64 `protobuf:"varint,2,opt,name=channelListID" json:"channelListID,omitempty"`
	Channel       int64 `protobuf:"varint,3,opt,name=channel" json:"channel,omitempty"`
	Frequency     int64 `protobuf:"varint,4,opt,name=frequency" json:"frequency,omitempty"`
}

func (*GetChannelResponse) Descriptor

func (*GetChannelResponse) Descriptor() ([]byte, []int)

func (*GetChannelResponse) ProtoMessage

func (*GetChannelResponse) ProtoMessage()

func (*GetChannelResponse) Reset

func (m *GetChannelResponse) Reset()

func (*GetChannelResponse) String

func (m *GetChannelResponse) String() string

type GetNodeRequest

type GetNodeRequest struct {
	// hex encoded DevEUI
	DevEUI string `protobuf:"bytes,1,opt,name=devEUI" json:"devEUI,omitempty"`
}

func (*GetNodeRequest) Descriptor

func (*GetNodeRequest) Descriptor() ([]byte, []int)

func (*GetNodeRequest) ProtoMessage

func (*GetNodeRequest) ProtoMessage()

func (*GetNodeRequest) Reset

func (m *GetNodeRequest) Reset()

func (*GetNodeRequest) String

func (m *GetNodeRequest) String() string

type GetNodeResponse

type GetNodeResponse struct {
	// hex encoded DevEUI
	DevEUI string `protobuf:"bytes,1,opt,name=devEUI" json:"devEUI,omitempty"`
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,2,opt,name=appEUI" json:"appEUI,omitempty"`
	// hex encoded AppKey
	AppKey        string   `protobuf:"bytes,3,opt,name=appKey" json:"appKey,omitempty"`
	RxDelay       uint32   `protobuf:"varint,4,opt,name=rxDelay" json:"rxDelay,omitempty"`
	Rx1DROffset   uint32   `protobuf:"varint,5,opt,name=rx1DROffset" json:"rx1DROffset,omitempty"`
	ChannelListID int64    `protobuf:"varint,6,opt,name=channelListID" json:"channelListID,omitempty"`
	RxWindow      RXWindow `protobuf:"varint,7,opt,name=rxWindow,enum=api.RXWindow" json:"rxWindow,omitempty"`
	Rx2DR         uint32   `protobuf:"varint,8,opt,name=rx2DR" json:"rx2DR,omitempty"`
}

func (*GetNodeResponse) Descriptor

func (*GetNodeResponse) Descriptor() ([]byte, []int)

func (*GetNodeResponse) ProtoMessage

func (*GetNodeResponse) ProtoMessage()

func (*GetNodeResponse) Reset

func (m *GetNodeResponse) Reset()

func (*GetNodeResponse) String

func (m *GetNodeResponse) String() string

type GetNodeSessionByDevEUIRequest

type GetNodeSessionByDevEUIRequest struct {
	// hex encoded DevEUI
	DevEUI string `protobuf:"bytes,1,opt,name=devEUI" json:"devEUI,omitempty"`
}

func (*GetNodeSessionByDevEUIRequest) Descriptor

func (*GetNodeSessionByDevEUIRequest) Descriptor() ([]byte, []int)

func (*GetNodeSessionByDevEUIRequest) ProtoMessage

func (*GetNodeSessionByDevEUIRequest) ProtoMessage()

func (*GetNodeSessionByDevEUIRequest) Reset

func (m *GetNodeSessionByDevEUIRequest) Reset()

func (*GetNodeSessionByDevEUIRequest) String

type GetNodeSessionRequest

type GetNodeSessionRequest struct {
	DevAddr string `protobuf:"bytes,1,opt,name=devAddr" json:"devAddr,omitempty"`
}

func (*GetNodeSessionRequest) Descriptor

func (*GetNodeSessionRequest) Descriptor() ([]byte, []int)

func (*GetNodeSessionRequest) ProtoMessage

func (*GetNodeSessionRequest) ProtoMessage()

func (*GetNodeSessionRequest) Reset

func (m *GetNodeSessionRequest) Reset()

func (*GetNodeSessionRequest) String

func (m *GetNodeSessionRequest) String() string

type GetNodeSessionResponse

type GetNodeSessionResponse struct {
	// hex encoded DevAddr
	DevAddr string `protobuf:"bytes,1,opt,name=devAddr" json:"devAddr,omitempty"`
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,2,opt,name=appEUI" json:"appEUI,omitempty"`
	// hex encoded DevEUI
	DevEUI string `protobuf:"bytes,3,opt,name=devEUI" json:"devEUI,omitempty"`
	// hex encoded AppSKey
	AppSKey string `protobuf:"bytes,4,opt,name=appSKey" json:"appSKey,omitempty"`
	// hex encoded NwkSKey
	NwkSKey     string   `protobuf:"bytes,5,opt,name=nwkSKey" json:"nwkSKey,omitempty"`
	FCntUp      uint32   `protobuf:"varint,6,opt,name=fCntUp" json:"fCntUp,omitempty"`
	FCntDown    uint32   `protobuf:"varint,7,opt,name=fCntDown" json:"fCntDown,omitempty"`
	RxDelay     uint32   `protobuf:"varint,8,opt,name=rxDelay" json:"rxDelay,omitempty"`
	Rx1DROffset uint32   `protobuf:"varint,9,opt,name=rx1DROffset" json:"rx1DROffset,omitempty"`
	CFList      []uint32 `protobuf:"varint,10,rep,packed,name=cFList" json:"cFList,omitempty"`
	RxWindow    RXWindow `protobuf:"varint,11,opt,name=rxWindow,enum=api.RXWindow" json:"rxWindow,omitempty"`
	Rx2DR       uint32   `protobuf:"varint,12,opt,name=rx2DR" json:"rx2DR,omitempty"`
}

func (*GetNodeSessionResponse) Descriptor

func (*GetNodeSessionResponse) Descriptor() ([]byte, []int)

func (*GetNodeSessionResponse) ProtoMessage

func (*GetNodeSessionResponse) ProtoMessage()

func (*GetNodeSessionResponse) Reset

func (m *GetNodeSessionResponse) Reset()

func (*GetNodeSessionResponse) String

func (m *GetNodeSessionResponse) String() string

type GetRandomDevAddrRequest

type GetRandomDevAddrRequest struct {
}

func (*GetRandomDevAddrRequest) Descriptor

func (*GetRandomDevAddrRequest) Descriptor() ([]byte, []int)

func (*GetRandomDevAddrRequest) ProtoMessage

func (*GetRandomDevAddrRequest) ProtoMessage()

func (*GetRandomDevAddrRequest) Reset

func (m *GetRandomDevAddrRequest) Reset()

func (*GetRandomDevAddrRequest) String

func (m *GetRandomDevAddrRequest) String() string

type GetRandomDevAddrResponse

type GetRandomDevAddrResponse struct {
	// hex encoded DevAddr
	DevAddr string `protobuf:"bytes,1,opt,name=devAddr" json:"devAddr,omitempty"`
}

func (*GetRandomDevAddrResponse) Descriptor

func (*GetRandomDevAddrResponse) Descriptor() ([]byte, []int)

func (*GetRandomDevAddrResponse) ProtoMessage

func (*GetRandomDevAddrResponse) ProtoMessage()

func (*GetRandomDevAddrResponse) Reset

func (m *GetRandomDevAddrResponse) Reset()

func (*GetRandomDevAddrResponse) String

func (m *GetRandomDevAddrResponse) String() string

type ListApplicationRequest

type ListApplicationRequest struct {
	// max number of results to return
	Limit int64 `protobuf:"varint,1,opt,name=limit" json:"limit,omitempty"`
	// result offset (for pagination)
	Offset int64 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
}

func (*ListApplicationRequest) Descriptor

func (*ListApplicationRequest) Descriptor() ([]byte, []int)

func (*ListApplicationRequest) ProtoMessage

func (*ListApplicationRequest) ProtoMessage()

func (*ListApplicationRequest) Reset

func (m *ListApplicationRequest) Reset()

func (*ListApplicationRequest) String

func (m *ListApplicationRequest) String() string

type ListApplicationResponse

type ListApplicationResponse struct {
	// total number of applications
	TotalCount int64                     `protobuf:"varint,1,opt,name=totalCount" json:"totalCount,omitempty"`
	Result     []*GetApplicationResponse `protobuf:"bytes,2,rep,name=result" json:"result,omitempty"`
}

func (*ListApplicationResponse) Descriptor

func (*ListApplicationResponse) Descriptor() ([]byte, []int)

func (*ListApplicationResponse) GetResult

func (*ListApplicationResponse) ProtoMessage

func (*ListApplicationResponse) ProtoMessage()

func (*ListApplicationResponse) Reset

func (m *ListApplicationResponse) Reset()

func (*ListApplicationResponse) String

func (m *ListApplicationResponse) String() string

type ListChannelListRequest

type ListChannelListRequest struct {
	Limit  int64 `protobuf:"varint,1,opt,name=limit" json:"limit,omitempty"`
	Offset int64 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
}

func (*ListChannelListRequest) Descriptor

func (*ListChannelListRequest) Descriptor() ([]byte, []int)

func (*ListChannelListRequest) ProtoMessage

func (*ListChannelListRequest) ProtoMessage()

func (*ListChannelListRequest) Reset

func (m *ListChannelListRequest) Reset()

func (*ListChannelListRequest) String

func (m *ListChannelListRequest) String() string

type ListChannelListResponse

type ListChannelListResponse struct {
	TotalCount int64                     `protobuf:"varint,1,opt,name=totalCount" json:"totalCount,omitempty"`
	Result     []*GetChannelListResponse `protobuf:"bytes,2,rep,name=result" json:"result,omitempty"`
}

func (*ListChannelListResponse) Descriptor

func (*ListChannelListResponse) Descriptor() ([]byte, []int)

func (*ListChannelListResponse) GetResult

func (*ListChannelListResponse) ProtoMessage

func (*ListChannelListResponse) ProtoMessage()

func (*ListChannelListResponse) Reset

func (m *ListChannelListResponse) Reset()

func (*ListChannelListResponse) String

func (m *ListChannelListResponse) String() string

type ListChannelsByChannelListRequest

type ListChannelsByChannelListRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}

func (*ListChannelsByChannelListRequest) Descriptor

func (*ListChannelsByChannelListRequest) Descriptor() ([]byte, []int)

func (*ListChannelsByChannelListRequest) ProtoMessage

func (*ListChannelsByChannelListRequest) ProtoMessage()

func (*ListChannelsByChannelListRequest) Reset

func (*ListChannelsByChannelListRequest) String

type ListChannelsByChannelListResponse

type ListChannelsByChannelListResponse struct {
	Result []*GetChannelResponse `protobuf:"bytes,2,rep,name=result" json:"result,omitempty"`
}

func (*ListChannelsByChannelListResponse) Descriptor

func (*ListChannelsByChannelListResponse) Descriptor() ([]byte, []int)

func (*ListChannelsByChannelListResponse) GetResult

func (*ListChannelsByChannelListResponse) ProtoMessage

func (*ListChannelsByChannelListResponse) ProtoMessage()

func (*ListChannelsByChannelListResponse) Reset

func (*ListChannelsByChannelListResponse) String

type ListNodeByAppEUIRequest

type ListNodeByAppEUIRequest struct {
	Limit  int64 `protobuf:"varint,1,opt,name=limit" json:"limit,omitempty"`
	Offset int64 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,3,opt,name=appEUI" json:"appEUI,omitempty"`
}

func (*ListNodeByAppEUIRequest) Descriptor

func (*ListNodeByAppEUIRequest) Descriptor() ([]byte, []int)

func (*ListNodeByAppEUIRequest) ProtoMessage

func (*ListNodeByAppEUIRequest) ProtoMessage()

func (*ListNodeByAppEUIRequest) Reset

func (m *ListNodeByAppEUIRequest) Reset()

func (*ListNodeByAppEUIRequest) String

func (m *ListNodeByAppEUIRequest) String() string

type ListNodeRequest

type ListNodeRequest struct {
	Limit  int64 `protobuf:"varint,1,opt,name=limit" json:"limit,omitempty"`
	Offset int64 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
}

func (*ListNodeRequest) Descriptor

func (*ListNodeRequest) Descriptor() ([]byte, []int)

func (*ListNodeRequest) ProtoMessage

func (*ListNodeRequest) ProtoMessage()

func (*ListNodeRequest) Reset

func (m *ListNodeRequest) Reset()

func (*ListNodeRequest) String

func (m *ListNodeRequest) String() string

type ListNodeResponse

type ListNodeResponse struct {
	TotalCount int64              `protobuf:"varint,1,opt,name=totalCount" json:"totalCount,omitempty"`
	Result     []*GetNodeResponse `protobuf:"bytes,2,rep,name=result" json:"result,omitempty"`
}

func (*ListNodeResponse) Descriptor

func (*ListNodeResponse) Descriptor() ([]byte, []int)

func (*ListNodeResponse) GetResult

func (m *ListNodeResponse) GetResult() []*GetNodeResponse

func (*ListNodeResponse) ProtoMessage

func (*ListNodeResponse) ProtoMessage()

func (*ListNodeResponse) Reset

func (m *ListNodeResponse) Reset()

func (*ListNodeResponse) String

func (m *ListNodeResponse) String() string

type NodeClient

type NodeClient interface {
	// Create creates the given node.
	Create(ctx context.Context, in *CreateNodeRequest, opts ...grpc.CallOption) (*CreateNodeResponse, error)
	// Get returns the node for the requested DevEUI.
	Get(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error)
	// Delete deletes the node matching the given DevEUI.
	Delete(ctx context.Context, in *DeleteNodeRequest, opts ...grpc.CallOption) (*DeleteNodeResponse, error)
	// List lists the nodes.
	List(ctx context.Context, in *ListNodeRequest, opts ...grpc.CallOption) (*ListNodeResponse, error)
	// ListByAppEUI lists the nodes by given AppEUI.
	ListByAppEUI(ctx context.Context, in *ListNodeByAppEUIRequest, opts ...grpc.CallOption) (*ListNodeResponse, error)
	// Update updates the node matching the given DevEUI.
	Update(ctx context.Context, in *UpdateNodeRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error)
	// FlushTXPayloadQueue flushes the tx payload queue for the given DevEUI.
	FlushTXPayloadQueue(ctx context.Context, in *FlushTXPayloadQueueRequest, opts ...grpc.CallOption) (*FlushTXPayloadQueueResponse, error)
}

func NewNodeClient

func NewNodeClient(cc *grpc.ClientConn) NodeClient

type NodeServer

type NodeServer interface {
	// Create creates the given node.
	Create(context.Context, *CreateNodeRequest) (*CreateNodeResponse, error)
	// Get returns the node for the requested DevEUI.
	Get(context.Context, *GetNodeRequest) (*GetNodeResponse, error)
	// Delete deletes the node matching the given DevEUI.
	Delete(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error)
	// List lists the nodes.
	List(context.Context, *ListNodeRequest) (*ListNodeResponse, error)
	// ListByAppEUI lists the nodes by given AppEUI.
	ListByAppEUI(context.Context, *ListNodeByAppEUIRequest) (*ListNodeResponse, error)
	// Update updates the node matching the given DevEUI.
	Update(context.Context, *UpdateNodeRequest) (*UpdateNodeResponse, error)
	// FlushTXPayloadQueue flushes the tx payload queue for the given DevEUI.
	FlushTXPayloadQueue(context.Context, *FlushTXPayloadQueueRequest) (*FlushTXPayloadQueueResponse, error)
}

type NodeSessionClient

type NodeSessionClient interface {
	// Create creates the given node-session. The DevAddr must contain the same NwkID as the configured NetID. Node-sessions will expire automatically after the configured TTL.
	Create(ctx context.Context, in *CreateNodeSessionRequest, opts ...grpc.CallOption) (*CreateNodeSessionResponse, error)
	// Get returns the node-session matching the given DevAddr.
	Get(ctx context.Context, in *GetNodeSessionRequest, opts ...grpc.CallOption) (*GetNodeSessionResponse, error)
	// GetByDevEUI returns the node-session matching the given DevEUI.
	GetByDevEUI(ctx context.Context, in *GetNodeSessionByDevEUIRequest, opts ...grpc.CallOption) (*GetNodeSessionResponse, error)
	// Update updates the given node-session.
	Update(ctx context.Context, in *UpdateNodeSessionRequest, opts ...grpc.CallOption) (*UpdateNodeSessionResponse, error)
	// Delete deletes the node-session matching the given DevAddr.
	Delete(ctx context.Context, in *DeleteNodeSessionRequest, opts ...grpc.CallOption) (*DeleteNodeSessionResponse, error)
	// GetRandomDevAddr returns a random DevAddr taking the NwkID prefix into account.
	GetRandomDevAddr(ctx context.Context, in *GetRandomDevAddrRequest, opts ...grpc.CallOption) (*GetRandomDevAddrResponse, error)
}

func NewNodeSessionClient

func NewNodeSessionClient(cc *grpc.ClientConn) NodeSessionClient

type NodeSessionServer

type NodeSessionServer interface {
	// Create creates the given node-session. The DevAddr must contain the same NwkID as the configured NetID. Node-sessions will expire automatically after the configured TTL.
	Create(context.Context, *CreateNodeSessionRequest) (*CreateNodeSessionResponse, error)
	// Get returns the node-session matching the given DevAddr.
	Get(context.Context, *GetNodeSessionRequest) (*GetNodeSessionResponse, error)
	// GetByDevEUI returns the node-session matching the given DevEUI.
	GetByDevEUI(context.Context, *GetNodeSessionByDevEUIRequest) (*GetNodeSessionResponse, error)
	// Update updates the given node-session.
	Update(context.Context, *UpdateNodeSessionRequest) (*UpdateNodeSessionResponse, error)
	// Delete deletes the node-session matching the given DevAddr.
	Delete(context.Context, *DeleteNodeSessionRequest) (*DeleteNodeSessionResponse, error)
	// GetRandomDevAddr returns a random DevAddr taking the NwkID prefix into account.
	GetRandomDevAddr(context.Context, *GetRandomDevAddrRequest) (*GetRandomDevAddrResponse, error)
}

type RXWindow

type RXWindow int32
const (
	RXWindow_RX1 RXWindow = 0
	RXWindow_RX2 RXWindow = 1
)

func (RXWindow) EnumDescriptor

func (RXWindow) EnumDescriptor() ([]byte, []int)

func (RXWindow) String

func (x RXWindow) String() string

type UpdateApplicationRequest

type UpdateApplicationRequest struct {
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,1,opt,name=appEUI" json:"appEUI,omitempty"`
	// name of the application
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*UpdateApplicationRequest) Descriptor

func (*UpdateApplicationRequest) Descriptor() ([]byte, []int)

func (*UpdateApplicationRequest) ProtoMessage

func (*UpdateApplicationRequest) ProtoMessage()

func (*UpdateApplicationRequest) Reset

func (m *UpdateApplicationRequest) Reset()

func (*UpdateApplicationRequest) String

func (m *UpdateApplicationRequest) String() string

type UpdateApplicationResponse

type UpdateApplicationResponse struct {
}

func (*UpdateApplicationResponse) Descriptor

func (*UpdateApplicationResponse) Descriptor() ([]byte, []int)

func (*UpdateApplicationResponse) ProtoMessage

func (*UpdateApplicationResponse) ProtoMessage()

func (*UpdateApplicationResponse) Reset

func (m *UpdateApplicationResponse) Reset()

func (*UpdateApplicationResponse) String

func (m *UpdateApplicationResponse) String() string

type UpdateChannelListRequest

type UpdateChannelListRequest struct {
	Id   int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*UpdateChannelListRequest) Descriptor

func (*UpdateChannelListRequest) Descriptor() ([]byte, []int)

func (*UpdateChannelListRequest) ProtoMessage

func (*UpdateChannelListRequest) ProtoMessage()

func (*UpdateChannelListRequest) Reset

func (m *UpdateChannelListRequest) Reset()

func (*UpdateChannelListRequest) String

func (m *UpdateChannelListRequest) String() string

type UpdateChannelListResponse

type UpdateChannelListResponse struct {
}

func (*UpdateChannelListResponse) Descriptor

func (*UpdateChannelListResponse) Descriptor() ([]byte, []int)

func (*UpdateChannelListResponse) ProtoMessage

func (*UpdateChannelListResponse) ProtoMessage()

func (*UpdateChannelListResponse) Reset

func (m *UpdateChannelListResponse) Reset()

func (*UpdateChannelListResponse) String

func (m *UpdateChannelListResponse) String() string

type UpdateChannelRequest

type UpdateChannelRequest struct {
	Id            int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	ChannelListID int64 `protobuf:"varint,2,opt,name=channelListID" json:"channelListID,omitempty"`
	Channel       int64 `protobuf:"varint,3,opt,name=channel" json:"channel,omitempty"`
	Frequency     int64 `protobuf:"varint,4,opt,name=frequency" json:"frequency,omitempty"`
}

func (*UpdateChannelRequest) Descriptor

func (*UpdateChannelRequest) Descriptor() ([]byte, []int)

func (*UpdateChannelRequest) ProtoMessage

func (*UpdateChannelRequest) ProtoMessage()

func (*UpdateChannelRequest) Reset

func (m *UpdateChannelRequest) Reset()

func (*UpdateChannelRequest) String

func (m *UpdateChannelRequest) String() string

type UpdateChannelResponse

type UpdateChannelResponse struct {
}

func (*UpdateChannelResponse) Descriptor

func (*UpdateChannelResponse) Descriptor() ([]byte, []int)

func (*UpdateChannelResponse) ProtoMessage

func (*UpdateChannelResponse) ProtoMessage()

func (*UpdateChannelResponse) Reset

func (m *UpdateChannelResponse) Reset()

func (*UpdateChannelResponse) String

func (m *UpdateChannelResponse) String() string

type UpdateNodeRequest

type UpdateNodeRequest struct {
	// hex encoded DevEUI
	DevEUI string `protobuf:"bytes,1,opt,name=devEUI" json:"devEUI,omitempty"`
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,2,opt,name=appEUI" json:"appEUI,omitempty"`
	// hex encoded AppKey
	AppKey        string   `protobuf:"bytes,3,opt,name=appKey" json:"appKey,omitempty"`
	RxDelay       uint32   `protobuf:"varint,4,opt,name=rxDelay" json:"rxDelay,omitempty"`
	Rx1DROffset   uint32   `protobuf:"varint,5,opt,name=rx1DROffset" json:"rx1DROffset,omitempty"`
	ChannelListID int64    `protobuf:"varint,6,opt,name=channelListID" json:"channelListID,omitempty"`
	RxWindow      RXWindow `protobuf:"varint,7,opt,name=rxWindow,enum=api.RXWindow" json:"rxWindow,omitempty"`
	Rx2DR         uint32   `protobuf:"varint,8,opt,name=rx2DR" json:"rx2DR,omitempty"`
}

func (*UpdateNodeRequest) Descriptor

func (*UpdateNodeRequest) Descriptor() ([]byte, []int)

func (*UpdateNodeRequest) ProtoMessage

func (*UpdateNodeRequest) ProtoMessage()

func (*UpdateNodeRequest) Reset

func (m *UpdateNodeRequest) Reset()

func (*UpdateNodeRequest) String

func (m *UpdateNodeRequest) String() string

type UpdateNodeResponse

type UpdateNodeResponse struct {
}

func (*UpdateNodeResponse) Descriptor

func (*UpdateNodeResponse) Descriptor() ([]byte, []int)

func (*UpdateNodeResponse) ProtoMessage

func (*UpdateNodeResponse) ProtoMessage()

func (*UpdateNodeResponse) Reset

func (m *UpdateNodeResponse) Reset()

func (*UpdateNodeResponse) String

func (m *UpdateNodeResponse) String() string

type UpdateNodeSessionRequest

type UpdateNodeSessionRequest struct {
	// hex encoded DevAddr
	DevAddr string `protobuf:"bytes,1,opt,name=devAddr" json:"devAddr,omitempty"`
	// hex encoded AppEUI
	AppEUI string `protobuf:"bytes,2,opt,name=appEUI" json:"appEUI,omitempty"`
	// hex encoded DevEUI
	DevEUI string `protobuf:"bytes,3,opt,name=devEUI" json:"devEUI,omitempty"`
	// hex encoded AppSKey
	AppSKey string `protobuf:"bytes,4,opt,name=appSKey" json:"appSKey,omitempty"`
	// hex encoded NwkSKey
	NwkSKey     string   `protobuf:"bytes,5,opt,name=nwkSKey" json:"nwkSKey,omitempty"`
	FCntUp      uint32   `protobuf:"varint,6,opt,name=fCntUp" json:"fCntUp,omitempty"`
	FCntDown    uint32   `protobuf:"varint,7,opt,name=fCntDown" json:"fCntDown,omitempty"`
	RxDelay     uint32   `protobuf:"varint,8,opt,name=rxDelay" json:"rxDelay,omitempty"`
	Rx1DROffset uint32   `protobuf:"varint,9,opt,name=rx1DROffset" json:"rx1DROffset,omitempty"`
	CFList      []uint32 `protobuf:"varint,10,rep,packed,name=cFList" json:"cFList,omitempty"`
	RxWindow    RXWindow `protobuf:"varint,11,opt,name=rxWindow,enum=api.RXWindow" json:"rxWindow,omitempty"`
	Rx2DR       uint32   `protobuf:"varint,12,opt,name=rx2DR" json:"rx2DR,omitempty"`
}

func (*UpdateNodeSessionRequest) Descriptor

func (*UpdateNodeSessionRequest) Descriptor() ([]byte, []int)

func (*UpdateNodeSessionRequest) ProtoMessage

func (*UpdateNodeSessionRequest) ProtoMessage()

func (*UpdateNodeSessionRequest) Reset

func (m *UpdateNodeSessionRequest) Reset()

func (*UpdateNodeSessionRequest) String

func (m *UpdateNodeSessionRequest) String() string

type UpdateNodeSessionResponse

type UpdateNodeSessionResponse struct {
}

func (*UpdateNodeSessionResponse) Descriptor

func (*UpdateNodeSessionResponse) Descriptor() ([]byte, []int)

func (*UpdateNodeSessionResponse) ProtoMessage

func (*UpdateNodeSessionResponse) ProtoMessage()

func (*UpdateNodeSessionResponse) Reset

func (m *UpdateNodeSessionResponse) Reset()

func (*UpdateNodeSessionResponse) String

func (m *UpdateNodeSessionResponse) String() string

Directories

Path Synopsis
simple tool to merge different swagger definition into a single file
simple tool to merge different swagger definition into a single file

Jump to

Keyboard shortcuts

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