util

package
v0.0.0-...-5346409 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeviceNameForPrefixGenertor

func DeviceNameForPrefixGenertor(prefix string, length int64) map[int64]string

func DeviceNameGenertor

func DeviceNameGenertor(length int64) map[int64]string

func IoT_BatchCheckDeviceNames

func IoT_BatchCheckDeviceNames(ProductKey string, DeviceName []string) string

调用该接口在指定产品下批量自定义设备名称。IoT平台将检查名称的合法性。

func IoT_BatchGetDeviceState

func IoT_BatchGetDeviceState(ProductKey string, DeviceName []string) string

该接口用于查看一个产品下多个设备的运行状态,单次最多可查询50个设备

func IoT_BatchRegisterDeviceWithApplyId

func IoT_BatchRegisterDeviceWithApplyId(ProductKey, ApplyId string) string

调用该接口根据申请批次ID(ApplyId)批量注册设备.

func IoT_CreateProduct

func IoT_CreateProduct(ProductName, NodeType, DataFormat string) string

* * 设备管理相关 API

创建产品

func IoT_QueryPageByApplyId

func IoT_QueryPageByApplyId(ApplyId, PageSize, CurrentPage string) string

调用该接口查询批量注册的设备信息

func IoT_RegisterDevice

func IoT_RegisterDevice(ProductKey, DeviceName string) string

注册设备

func ProductNameGenerator

func ProductNameGenerator() string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL