client

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2018 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) DeviceActivate

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

func (*IothubClient) DeviceCommand

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

func (*IothubClient) DeviceState

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

func (*IothubClient) DevicesEnroll

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

func (*IothubClient) ModuleEnroll

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

func (*IothubClient) ModuleState

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

func (*IothubClient) OmEnroll

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

物模型注册接口

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