Struct chirpstack_api::ns::network_server_service_client::NetworkServerServiceClient[][src]

pub struct NetworkServerServiceClient<T> { /* fields omitted */ }
Expand description

NetworkServerService provides the network-server API methods.

Implementations

Attempt to create a new client by connecting to a given endpoint.

CreateServiceProfile creates the given service-profile.

GetServiceProfile returns the service-profile matching the given id.

UpdateServiceProfile updates the given service-profile.

DeleteServiceProfile deletes the service-profile matching the given id.

CreateRoutingProfile creates the given routing-profile.

GetRoutingProfile returns the routing-profile matching the given id.

UpdateRoutingProfile updates the given routing-profile.

DeleteRoutingProfile deletes the routing-profile matching the given id.

CreateDeviceProfile creates the given device-profile.

GetDeviceProfile returns the device-profile matching the given id.

UpdateDeviceProfile updates the given device-profile.

DeleteDeviceProfile deletes the device-profile matching the given id.

CreateDevice creates the given device.

GetDevice returns the device matching the given DevEUI.

UpdateDevice updates the given device.

DeleteDevice deletes the device matching the given DevEUI.

ActivateDevice activates a device (ABP).

DeactivateDevice de-activates a device.

GetDeviceActivation returns the device activation details.

CreateDeviceQueueItem creates the given device-queue item.

FlushDeviceQueueForDevEUI flushes the device-queue for the given DevEUI.

GetDeviceQueueItemsForDevEUI returns all device-queue items for the given DevEUI.

GetNextDownlinkFCntForDevEUI returns the next FCnt that must be used. This also takes device-queue items for the given DevEUI into consideration.

GetRandomDevAddr returns a random DevAddr taking the NwkID prefix into account.

CreateMACCommandQueueItem adds the downlink mac-command to the queue.

SendProprietaryPayload send a payload using the ‘Proprietary’ LoRaWAN message-type.

CreateGateway creates the given gateway.

GetGateway returns data for a particular gateway.

UpdateGateway updates an existing gateway.

DeleteGateway deletes a gateway.

GenerateGatewayClientCertificate returns TLS certificate gateway authentication / authorization. This endpoint can ony be used when ChirpStack Network Server is configured with a gateway CA certificate and key, which is used for signing the TLS certificate. The returned TLS certificate will have the Gateway ID as Common Name.

CreateGatewayProfile creates the given gateway-profile.

GetGatewayProfile returns the gateway-profile given an id.

UpdateGatewayProfile updates the given gateway-profile.

DeleteGatewayProfile deletes the gateway-profile matching a given id.

GetGatewayStats returns stats of an existing gateway. Deprecated (stats are forwarded to Application Server API).

StreamFrameLogsForGateway returns a stream of frames seen by the given gateway.

StreamFrameLogsForDevice returns a stream of frames seen by the given device.

CreateMulticastGroup creates the given multicast-group.

GetMulticastGroup returns the multicast-group given an id.

UpdateMulticastGroup updates the given multicast-group.

DeleteMulticastGroup deletes a multicast-group given an id.

AddDeviceToMulticastGroup adds the given device to the given multicast-group.

RemoveDeviceFromMulticastGroup removes the given device from the given multicast-group.

EnqueueMulticastQueueItem enqueues the given multicast queue-item and increments the frame-counter after enqueueing.

FlushMulticastQueueForMulticastGroup flushes the multicast device-queue given a multicast-group id.

GetMulticastQueueItemsForMulticastGroup returns the queue-items given a multicast-group id.

GetVersion returns the ChirpStack Network Server version.

GetADRAlgorithms returns the available ADR algorithms.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more