client

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 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 IothubClient

type IothubClient struct {
	core.JDCloudClient
}

func NewIothubClient

func NewIothubClient(credential *core.Credential) *IothubClient

func (*IothubClient) CheckDeviceId added in v1.8.0

验证DeviceId是否可用

func (*IothubClient) DeleteDevice added in v1.6.0

删除设备

func (*IothubClient) DeviceActivate

激活一个设备,包括Edge、Dragon和普通设备

func (*IothubClient) DeviceCommand

客户用该接口可以对设备下发命令

func (*IothubClient) DeviceState

客户用该接口可以修改设备预期状态

func (*IothubClient) DevicesEnroll

客户用该接口可以批量登记设备

func (*IothubClient) GetOMPrivateURL added in v1.6.0

获取下载物模型的外链地址

func (*IothubClient) ModuleEnrollment added in v1.8.0

客户用该接口可以登记模块

func (*IothubClient) ModuleState

客户用该接口可以修改模块预期状态

func (*IothubClient) OmEnroll

func (c *IothubClient) OmEnroll(request *iothub.OmEnrollRequest) (*iothub.OmEnrollResponse, error)

物模型注册接口

func (*IothubClient) OmEnrollbyFile added in v1.6.0

物模型通过文件上传注册接口

func (*IothubClient) QueryDeviceCommands added in v1.6.0

客户用该接口可以查询设备命令列表

func (*IothubClient) QueryDeviceOnlineInfos added in v1.6.0

查询设备在线信息

func (*IothubClient) QueryDeviceStates added in v1.6.0

客户用该接口可以查询设备预期状态

func (*IothubClient) SetConfig

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

func (*IothubClient) SetLogger

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

Jump to

Keyboard shortcuts

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