interface DeviceCreateInfoBasic {
    active?: boolean;
    configuration_params?: ConfigurationParams[];
    connector: string;
    connector_parse?: boolean;
    description?: string;
    name: string;
    network: string;
    parse_function?: string;
    serie_number?: string;
    tags?: TagsObj[];
    type?: DataStorageType;
    visible?: boolean;
}

Properties

active?: boolean

Set if the device will be active.

configuration_params?: ConfigurationParams[]

An array of configuration params

connector: string

Connector ID.

connector_parse?: boolean

If device will use connector parser

description?: string

Description of the device.

name: string

Device name.

network: string

Network ID.

parse_function?: string

Javascript code for use as payload parser

serie_number?: string

Device serial number.

tags?: TagsObj[]

An array of tags

Device's data storage (bucket) type.

Default

"legacy"
visible?: boolean

Set if the device will be visible.