@iotize/device-client.js
Version:
IoTize Device client for Javascript
20 lines (19 loc) • 544 B
TypeScript
import { EncoderDecoder } from "../../../core";
import { VariableType } from "../../model";
/**
* size
* type: unsigned int / signed int / double / float ...
*/
export declare type VariableConfigTypes = VariableConfigPredefined<any>;
/**
* Represent a variable that has been configured on the tap
*/
export interface VariableConfigPredefined<T> {
id: number;
name?: string;
converter?: EncoderDecoder<T, Uint8Array>;
unit?: string;
type?: VariableType;
length?: number;
[key: string]: any;
}