Struct chirpstack_api::as_pb::external::api::device_service_client::DeviceServiceClient[][src]

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

DeviceService is the service managing the devices.

Implementations

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

Compress requests with gzip.

This requires the server to support it otherwise it might respond with an error.

Enable decompressing responses with gzip.

Create creates the given device.

Get returns the device matching the given DevEUI.

List returns the available devices.

Delete deletes the device matching the given DevEUI.

Update updates the device matching the given DevEUI.

CreateKeys creates the given device-keys.

GetKeys returns the device-keys for the given DevEUI.

UpdateKeys updates the device-keys.

DeleteKeys deletes the device-keys for the given DevEUI.

Activate (re)activates the device with the given parameters (for ABP or for importing OTAA activations).

Deactivate de-activates the device.

GetActivation returns the current activation details of the device (OTAA and ABP).

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

GetStats returns the device stats.

StreamFrameLogs streams the uplink and downlink frame-logs for the given DevEUI.

  • These are the raw LoRaWAN frames and this endpoint is intended for debugging only.
  • This endpoint does not work from a web-browser.

StreamEventLogs stream the device events (uplink payloads, ACKs, joins, errors).

  • This endpoint is intended for debugging only.
  • This endpoint does not work from a web-browser.

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

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.