client

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IotcoreClient

type IotcoreClient struct {
	core.JDCloudClient
}

func NewIotcoreClient

func NewIotcoreClient(credential *core.Credential) *IotcoreClient

func (*IotcoreClient) AddDevice

注册单个设备并返回秘钥信息

建立设备间的父子关系

func (*IotcoreClient) CreateProduct

新建产品

func (*IotcoreClient) CreateProductTopic added in v1.13.0

新建产品自定义Topic

func (*IotcoreClient) DeleteProduct

删除产品

func (*IotcoreClient) DescribeProduct

查看产品

func (*IotcoreClient) DescribeProductTopic added in v1.20.0

查看产品自定义Topic

func (*IotcoreClient) DescribeProductTopics added in v1.20.0

查看产品自定义Topic列表

func (*IotcoreClient) DescribeThingShadow

查看设备影子

func (*IotcoreClient) DisableLogger added in v1.13.0

func (c *IotcoreClient) DisableLogger()

func (*IotcoreClient) ExportThingModel

导出物模型

func (*IotcoreClient) ImportThingModel

导入物模型

func (*IotcoreClient) InvokeThingService

设备服务调用

func (*IotcoreClient) InvokeThingTopic added in v1.13.0

设备Topic调用

func (*IotcoreClient) ListProductAbilities

查看产品功能列表接口

func (*IotcoreClient) ListProducts

查看产品列表接口

func (*IotcoreClient) QueryDeviceDetail

查询设备详情

func (*IotcoreClient) QueryDevicePage

分页查询设备信息,支持一个或多个条件

func (*IotcoreClient) RemoveDevice

删除设备

func (*IotcoreClient) SetConfig

func (c *IotcoreClient) SetConfig(config *core.Config)

func (*IotcoreClient) SetLogger

func (c *IotcoreClient) SetLogger(logger core.Logger)

func (*IotcoreClient) UpdateDevice

修改设备详情

func (*IotcoreClient) UpdateProduct

修改产品

func (*IotcoreClient) UpdateThingShadow

更新设备影子的期望值

Jump to

Keyboard shortcuts

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