client

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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) 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