UNPKG

@iotize/device-client.js

Version:

IoTize Device client for Javascript

86 lines (85 loc) 2.53 kB
/** * This file has been generated * DO NOT EDIT, IT MAY BE OVERWRITTEN */ import { Client, Response, ApiConfig } from "../import-adapter"; import { AbstractService, ServiceCallType } from '../abstract-service'; import { LoraConfig } from '../../all-models'; export declare class LoraService extends AbstractService { constructor(client: Client, apiConfig: ApiConfig); resources: { [key: string]: ServiceCallType; }; /** * Get LoRa configuration * LoRa IDs to connect to gateway (b0-7 : DevEui, b8-15 : AppEui, b16_31 : AppKey) * LWM2M path: /1024//91 * @tapVersion(">=1.0") * @return LoraConfig api call */ getConfig(): Promise<Response<LoraConfig>>; /** * Get LoRa configuration * LoRa IDs to connect to gateway (b0-7 : DevEui, b8-15 : AppEui, b16_31 : AppKey) * LWM2M path: /1024//91 * @tapVersion(">=1.0") * @return call options */ getConfigCall(): ServiceCallType; /** * Get LoRa IDs * LoRa IDs to connect to gateway (b0-7 : DevEui, b8-15 : AppEui, b16_31 : AppKey) * LWM2M path: /1024//90 * @tapVersion(">=1.0") * @return Uint8Array api call */ getIds(): Promise<Response<Uint8Array>>; /** * Get LoRa IDs * LoRa IDs to connect to gateway (b0-7 : DevEui, b8-15 : AppEui, b16_31 : AppKey) * LWM2M path: /1024//90 * @tapVersion(">=1.0") * @return call options */ getIdsCall(): ServiceCallType; /** * Write LoRa configuration * * LWM2M path: /1024//91 * Body converter id: "LoraConfig" * @tapVersion(">=1.0") * @param value input * @return void api call */ putConfig(value: LoraConfig): Promise<Response<void>>; /** * Write LoRa configuration * * LWM2M path: /1024//91 * Body converter id: "LoraConfig" * @tapVersion(">=1.0") * @param value input * @return call options */ putConfigCall(value: LoraConfig): ServiceCallType; /** * Write LoRa IDs * * LWM2M path: /1024//90 * Body converter id: "Bytes" * @tapVersion(">=1.0") * @param value input * @return void api call */ putIds(value: Uint8Array): Promise<Response<void>>; /** * Write LoRa IDs * * LWM2M path: /1024//90 * Body converter id: "Bytes" * @tapVersion(">=1.0") * @param value input * @return call options */ putIdsCall(value: Uint8Array): ServiceCallType; }