deviceinteract

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionRespReq

type ActionRespReq = dm.ActionRespReq

type ActionSendReq

type ActionSendReq = dm.ActionSendReq

type ActionSendResp

type ActionSendResp = dm.ActionSendResp

type CommonSchemaCreateReq

type CommonSchemaCreateReq = dm.CommonSchemaCreateReq

type CommonSchemaIndexReq

type CommonSchemaIndexReq = dm.CommonSchemaIndexReq

type CommonSchemaIndexResp

type CommonSchemaIndexResp = dm.CommonSchemaIndexResp

type CommonSchemaInfo

type CommonSchemaInfo = dm.CommonSchemaInfo

type CommonSchemaUpdateReq

type CommonSchemaUpdateReq = dm.CommonSchemaUpdateReq

type CompareInt64

type CompareInt64 = dm.CompareInt64

type CompareString

type CompareString = dm.CompareString

type CustomTopic

type CustomTopic = dm.CustomTopic

type DeviceCore

type DeviceCore = dm.DeviceCore

type DeviceCountInfo

type DeviceCountInfo = dm.DeviceCountInfo

type DeviceCountReq

type DeviceCountReq = dm.DeviceCountReq

type DeviceCountResp

type DeviceCountResp = dm.DeviceCountResp

type DeviceError

type DeviceError = dm.DeviceError

type DeviceGatewayBindDevice

type DeviceGatewayBindDevice = dm.DeviceGatewayBindDevice

type DeviceGatewayIndexReq

type DeviceGatewayIndexReq = dm.DeviceGatewayIndexReq

type DeviceGatewayIndexResp

type DeviceGatewayIndexResp = dm.DeviceGatewayIndexResp

type DeviceGatewayMultiCreateReq

type DeviceGatewayMultiCreateReq = dm.DeviceGatewayMultiCreateReq

type DeviceGatewayMultiSaveReq

type DeviceGatewayMultiSaveReq = dm.DeviceGatewayMultiSaveReq

type DeviceGatewaySign

type DeviceGatewaySign = dm.DeviceGatewaySign

type DeviceInfo

type DeviceInfo = dm.DeviceInfo

type DeviceInfoBindReq

type DeviceInfoBindReq = dm.DeviceInfoBindReq

type DeviceInfoCanBindReq

type DeviceInfoCanBindReq = dm.DeviceInfoCanBindReq

type DeviceInfoCount

type DeviceInfoCount = dm.DeviceInfoCount

type DeviceInfoCountReq

type DeviceInfoCountReq = dm.DeviceInfoCountReq

type DeviceInfoDeleteReq

type DeviceInfoDeleteReq = dm.DeviceInfoDeleteReq

type DeviceInfoIndexReq

type DeviceInfoIndexReq = dm.DeviceInfoIndexReq

type DeviceInfoIndexResp

type DeviceInfoIndexResp = dm.DeviceInfoIndexResp

type DeviceInfoMultiBindReq

type DeviceInfoMultiBindReq = dm.DeviceInfoMultiBindReq

type DeviceInfoMultiBindResp

type DeviceInfoMultiBindResp = dm.DeviceInfoMultiBindResp

type DeviceInfoMultiUpdateReq

type DeviceInfoMultiUpdateReq = dm.DeviceInfoMultiUpdateReq

type DeviceInfoReadReq

type DeviceInfoReadReq = dm.DeviceInfoReadReq

type DeviceInteract

type DeviceInteract interface {
	// 调用设备行为
	ActionSend(ctx context.Context, in *ActionSendReq, opts ...grpc.CallOption) (*ActionSendResp, error)
	// 获取异步调用设备行为的结果
	ActionRead(ctx context.Context, in *RespReadReq, opts ...grpc.CallOption) (*ActionSendResp, error)
	// 回复调用设备行为
	ActionResp(ctx context.Context, in *ActionRespReq, opts ...grpc.CallOption) (*Empty, error)
	// 请求设备获取设备最新属性
	PropertyGetReportSend(ctx context.Context, in *PropertyGetReportSendReq, opts ...grpc.CallOption) (*PropertyGetReportSendResp, error)
	// 调用设备属性
	PropertyControlSend(ctx context.Context, in *PropertyControlSendReq, opts ...grpc.CallOption) (*PropertyControlSendResp, error)
	// 批量调用设备属性
	PropertyControlMultiSend(ctx context.Context, in *PropertyControlMultiSendReq, opts ...grpc.CallOption) (*PropertyControlMultiSendResp, error)
	// 获取异步调用设备属性的结果
	PropertyControlRead(ctx context.Context, in *RespReadReq, opts ...grpc.CallOption) (*PropertyControlSendResp, error)
	// 发送消息给设备 -- 调试使用
	SendMsg(ctx context.Context, in *SendMsgReq, opts ...grpc.CallOption) (*SendMsgResp, error)
	// 获取网关拓扑关系
	GatewayGetFoundSend(ctx context.Context, in *GatewayGetFoundReq, opts ...grpc.CallOption) (*Empty, error)
	// 通知网关绑定子设备
	GatewayNotifyBindSend(ctx context.Context, in *GatewayNotifyBindSendReq, opts ...grpc.CallOption) (*Empty, error)
}

func NewDeviceInteract

func NewDeviceInteract(cli zrpc.Client) DeviceInteract

func NewDirectDeviceInteract

func NewDirectDeviceInteract(svcCtx *svc.ServiceContext, svr dm.DeviceInteractServer) DeviceInteract

type DeviceModuleVersion

type DeviceModuleVersion = dm.DeviceModuleVersion

type DeviceModuleVersionIndexReq

type DeviceModuleVersionIndexReq = dm.DeviceModuleVersionIndexReq

type DeviceModuleVersionIndexResp

type DeviceModuleVersionIndexResp = dm.DeviceModuleVersionIndexResp

type DeviceModuleVersionReadReq

type DeviceModuleVersionReadReq = dm.DeviceModuleVersionReadReq

type DeviceMoveReq

type DeviceMoveReq = dm.DeviceMoveReq

type DeviceOnlineMultiFix

type DeviceOnlineMultiFix = dm.DeviceOnlineMultiFix

type DeviceOnlineMultiFixReq

type DeviceOnlineMultiFixReq = dm.DeviceOnlineMultiFixReq

type DeviceProfile

type DeviceProfile = dm.DeviceProfile

type DeviceProfileIndexReq

type DeviceProfileIndexReq = dm.DeviceProfileIndexReq

type DeviceProfileIndexResp

type DeviceProfileIndexResp = dm.DeviceProfileIndexResp

type DeviceProfileReadReq

type DeviceProfileReadReq = dm.DeviceProfileReadReq

type DeviceTransferReq

type DeviceTransferReq = dm.DeviceTransferReq

type DeviceTypeCountReq

type DeviceTypeCountReq = dm.DeviceTypeCountReq

type DeviceTypeCountResp

type DeviceTypeCountResp = dm.DeviceTypeCountResp

type Empty

type Empty = dm.Empty

type EventLogIndexReq

type EventLogIndexReq = dm.EventLogIndexReq

type EventLogIndexResp

type EventLogIndexResp = dm.EventLogIndexResp

type EventLogInfo

type EventLogInfo = dm.EventLogInfo

type Firmware

type Firmware = dm.Firmware

type FirmwareFile

type FirmwareFile = dm.FirmwareFile

type FirmwareInfo

type FirmwareInfo = dm.FirmwareInfo

type FirmwareInfoDeleteReq

type FirmwareInfoDeleteReq = dm.FirmwareInfoDeleteReq

type FirmwareInfoDeleteResp

type FirmwareInfoDeleteResp = dm.FirmwareInfoDeleteResp

type FirmwareInfoIndexReq

type FirmwareInfoIndexReq = dm.FirmwareInfoIndexReq

type FirmwareInfoIndexResp

type FirmwareInfoIndexResp = dm.FirmwareInfoIndexResp

type FirmwareInfoReadReq

type FirmwareInfoReadReq = dm.FirmwareInfoReadReq

type FirmwareInfoReadResp

type FirmwareInfoReadResp = dm.FirmwareInfoReadResp

type FirmwareResp

type FirmwareResp = dm.FirmwareResp

type GatewayCanBindIndexReq

type GatewayCanBindIndexReq = dm.GatewayCanBindIndexReq

type GatewayCanBindIndexResp

type GatewayCanBindIndexResp = dm.GatewayCanBindIndexResp

type GatewayGetFoundReq

type GatewayGetFoundReq = dm.GatewayGetFoundReq

type GatewayNotifyBindSendReq

type GatewayNotifyBindSendReq = dm.GatewayNotifyBindSendReq

type GroupDeviceIndexReq

type GroupDeviceIndexReq = dm.GroupDeviceIndexReq

type GroupDeviceIndexResp

type GroupDeviceIndexResp = dm.GroupDeviceIndexResp

type GroupDeviceMultiDeleteReq

type GroupDeviceMultiDeleteReq = dm.GroupDeviceMultiDeleteReq

type GroupDeviceMultiSaveReq

type GroupDeviceMultiSaveReq = dm.GroupDeviceMultiSaveReq

type GroupInfo

type GroupInfo = dm.GroupInfo

type GroupInfoCreateReq

type GroupInfoCreateReq = dm.GroupInfoCreateReq

type GroupInfoIndexReq

type GroupInfoIndexReq = dm.GroupInfoIndexReq

type GroupInfoIndexResp

type GroupInfoIndexResp = dm.GroupInfoIndexResp

type GroupInfoUpdateReq

type GroupInfoUpdateReq = dm.GroupInfoUpdateReq

type HubLogIndexReq

type HubLogIndexReq = dm.HubLogIndexReq

type HubLogIndexResp

type HubLogIndexResp = dm.HubLogIndexResp

type HubLogInfo

type HubLogInfo = dm.HubLogInfo

type IDPath

type IDPath = dm.IDPath

type IDPathWithUpdate

type IDPathWithUpdate = dm.IDPathWithUpdate

type OtaFirmwareDeviceCancelReq

type OtaFirmwareDeviceCancelReq = dm.OtaFirmwareDeviceCancelReq

type OtaFirmwareDeviceConfirmReq

type OtaFirmwareDeviceConfirmReq = dm.OtaFirmwareDeviceConfirmReq

type OtaFirmwareDeviceIndexReq

type OtaFirmwareDeviceIndexReq = dm.OtaFirmwareDeviceIndexReq

type OtaFirmwareDeviceIndexResp

type OtaFirmwareDeviceIndexResp = dm.OtaFirmwareDeviceIndexResp

type OtaFirmwareDeviceInfo

type OtaFirmwareDeviceInfo = dm.OtaFirmwareDeviceInfo

type OtaFirmwareDeviceRetryReq

type OtaFirmwareDeviceRetryReq = dm.OtaFirmwareDeviceRetryReq

type OtaFirmwareFile

type OtaFirmwareFile = dm.OtaFirmwareFile

type OtaFirmwareFileIndexReq

type OtaFirmwareFileIndexReq = dm.OtaFirmwareFileIndexReq

type OtaFirmwareFileIndexResp

type OtaFirmwareFileIndexResp = dm.OtaFirmwareFileIndexResp

type OtaFirmwareFileInfo

type OtaFirmwareFileInfo = dm.OtaFirmwareFileInfo

type OtaFirmwareFileReq

type OtaFirmwareFileReq = dm.OtaFirmwareFileReq

type OtaFirmwareFileResp

type OtaFirmwareFileResp = dm.OtaFirmwareFileResp

type OtaFirmwareInfo

type OtaFirmwareInfo = dm.OtaFirmwareInfo

type OtaFirmwareInfoCreateReq

type OtaFirmwareInfoCreateReq = dm.OtaFirmwareInfoCreateReq

type OtaFirmwareInfoIndexReq

type OtaFirmwareInfoIndexReq = dm.OtaFirmwareInfoIndexReq

type OtaFirmwareInfoIndexResp

type OtaFirmwareInfoIndexResp = dm.OtaFirmwareInfoIndexResp

type OtaFirmwareInfoUpdateReq

type OtaFirmwareInfoUpdateReq = dm.OtaFirmwareInfoUpdateReq

type OtaFirmwareJobIndexReq

type OtaFirmwareJobIndexReq = dm.OtaFirmwareJobIndexReq

type OtaFirmwareJobIndexResp

type OtaFirmwareJobIndexResp = dm.OtaFirmwareJobIndexResp

type OtaFirmwareJobInfo

type OtaFirmwareJobInfo = dm.OtaFirmwareJobInfo

type OtaJobByDeviceIndexReq

type OtaJobByDeviceIndexReq = dm.OtaJobByDeviceIndexReq

type OtaJobDynamicInfo

type OtaJobDynamicInfo = dm.OtaJobDynamicInfo

type OtaJobStaticInfo

type OtaJobStaticInfo = dm.OtaJobStaticInfo

type OtaModuleInfo

type OtaModuleInfo = dm.OtaModuleInfo

type OtaModuleInfoIndexReq

type OtaModuleInfoIndexReq = dm.OtaModuleInfoIndexReq

type OtaModuleInfoIndexResp

type OtaModuleInfoIndexResp = dm.OtaModuleInfoIndexResp

type PageInfo

type PageInfo = dm.PageInfo

type PageInfo_OrderBy

type PageInfo_OrderBy = dm.PageInfo_OrderBy

type Point

type Point = dm.Point

type ProductCategory

type ProductCategory = dm.ProductCategory

type ProductCategoryIndexReq

type ProductCategoryIndexReq = dm.ProductCategoryIndexReq

type ProductCategoryIndexResp

type ProductCategoryIndexResp = dm.ProductCategoryIndexResp

type ProductCategorySchemaIndexReq

type ProductCategorySchemaIndexReq = dm.ProductCategorySchemaIndexReq

type ProductCategorySchemaIndexResp

type ProductCategorySchemaIndexResp = dm.ProductCategorySchemaIndexResp

type ProductCategorySchemaMultiSaveReq

type ProductCategorySchemaMultiSaveReq = dm.ProductCategorySchemaMultiSaveReq

type ProductCustom

type ProductCustom = dm.ProductCustom

type ProductCustomReadReq

type ProductCustomReadReq = dm.ProductCustomReadReq

type ProductCustomUi

type ProductCustomUi = dm.ProductCustomUi

type ProductInfo

type ProductInfo = dm.ProductInfo

type ProductInfoDeleteReq

type ProductInfoDeleteReq = dm.ProductInfoDeleteReq

type ProductInfoIndexReq

type ProductInfoIndexReq = dm.ProductInfoIndexReq

type ProductInfoIndexResp

type ProductInfoIndexResp = dm.ProductInfoIndexResp

type ProductInfoReadReq

type ProductInfoReadReq = dm.ProductInfoReadReq

type ProductInitReq

type ProductInitReq = dm.ProductInitReq

type ProductRemoteConfig

type ProductRemoteConfig = dm.ProductRemoteConfig

type ProductSchemaCreateReq

type ProductSchemaCreateReq = dm.ProductSchemaCreateReq

type ProductSchemaDeleteReq

type ProductSchemaDeleteReq = dm.ProductSchemaDeleteReq

type ProductSchemaIndexReq

type ProductSchemaIndexReq = dm.ProductSchemaIndexReq

type ProductSchemaIndexResp

type ProductSchemaIndexResp = dm.ProductSchemaIndexResp

type ProductSchemaInfo

type ProductSchemaInfo = dm.ProductSchemaInfo

type ProductSchemaMultiCreateReq

type ProductSchemaMultiCreateReq = dm.ProductSchemaMultiCreateReq

type ProductSchemaTslImportReq

type ProductSchemaTslImportReq = dm.ProductSchemaTslImportReq

type ProductSchemaTslReadReq

type ProductSchemaTslReadReq = dm.ProductSchemaTslReadReq

type ProductSchemaTslReadResp

type ProductSchemaTslReadResp = dm.ProductSchemaTslReadResp

type ProductSchemaUpdateReq

type ProductSchemaUpdateReq = dm.ProductSchemaUpdateReq

type PropertyControlMultiSendReq

type PropertyControlMultiSendReq = dm.PropertyControlMultiSendReq

type PropertyControlMultiSendResp

type PropertyControlMultiSendResp = dm.PropertyControlMultiSendResp

type PropertyControlSendMsg

type PropertyControlSendMsg = dm.PropertyControlSendMsg

type PropertyControlSendReq

type PropertyControlSendReq = dm.PropertyControlSendReq

type PropertyControlSendResp

type PropertyControlSendResp = dm.PropertyControlSendResp

type PropertyGetReportSendReq

type PropertyGetReportSendReq = dm.PropertyGetReportSendReq

type PropertyGetReportSendResp

type PropertyGetReportSendResp = dm.PropertyGetReportSendResp

type PropertyLogIndexReq

type PropertyLogIndexReq = dm.PropertyLogIndexReq

type PropertyLogIndexResp

type PropertyLogIndexResp = dm.PropertyLogIndexResp

type PropertyLogInfo

type PropertyLogInfo = dm.PropertyLogInfo

type PropertyLogLatestIndexReq

type PropertyLogLatestIndexReq = dm.PropertyLogLatestIndexReq

type ProtocolConfigField

type ProtocolConfigField = dm.ProtocolConfigField

type ProtocolConfigInfo

type ProtocolConfigInfo = dm.ProtocolConfigInfo

type ProtocolInfo

type ProtocolInfo = dm.ProtocolInfo

type ProtocolInfoIndexReq

type ProtocolInfoIndexReq = dm.ProtocolInfoIndexReq

type ProtocolInfoIndexResp

type ProtocolInfoIndexResp = dm.ProtocolInfoIndexResp

type RemoteConfigCreateReq

type RemoteConfigCreateReq = dm.RemoteConfigCreateReq

type RemoteConfigIndexReq

type RemoteConfigIndexReq = dm.RemoteConfigIndexReq

type RemoteConfigIndexResp

type RemoteConfigIndexResp = dm.RemoteConfigIndexResp

type RemoteConfigLastReadReq

type RemoteConfigLastReadReq = dm.RemoteConfigLastReadReq

type RemoteConfigLastReadResp

type RemoteConfigLastReadResp = dm.RemoteConfigLastReadResp

type RemoteConfigPushAllReq

type RemoteConfigPushAllReq = dm.RemoteConfigPushAllReq

type RespReadReq

type RespReadReq = dm.RespReadReq

type RootCheckReq

type RootCheckReq = dm.RootCheckReq

type SdkLogIndexReq

type SdkLogIndexReq = dm.SdkLogIndexReq

type SdkLogIndexResp

type SdkLogIndexResp = dm.SdkLogIndexResp

type SdkLogInfo

type SdkLogInfo = dm.SdkLogInfo

type SendLogIndexReq

type SendLogIndexReq = dm.SendLogIndexReq

type SendLogIndexResp

type SendLogIndexResp = dm.SendLogIndexResp

type SendLogInfo

type SendLogInfo = dm.SendLogInfo

type SendMsgReq

type SendMsgReq = dm.SendMsgReq

type SendMsgResp

type SendMsgResp = dm.SendMsgResp

type SendOption

type SendOption = dm.SendOption

type ShadowIndex

type ShadowIndex = dm.ShadowIndex

type ShadowIndexResp

type ShadowIndexResp = dm.ShadowIndexResp

type SharePerm

type SharePerm = dm.SharePerm

type StatusLogIndexReq

type StatusLogIndexReq = dm.StatusLogIndexReq

type StatusLogIndexResp

type StatusLogIndexResp = dm.StatusLogIndexResp

type StatusLogInfo

type StatusLogInfo = dm.StatusLogInfo

type TimeRange

type TimeRange = dm.TimeRange

type UserDeviceCollectSave

type UserDeviceCollectSave = dm.UserDeviceCollectSave

type UserDeviceShareIndexReq

type UserDeviceShareIndexReq = dm.UserDeviceShareIndexReq

type UserDeviceShareIndexResp

type UserDeviceShareIndexResp = dm.UserDeviceShareIndexResp

type UserDeviceShareInfo

type UserDeviceShareInfo = dm.UserDeviceShareInfo

type UserDeviceShareMultiDeleteReq

type UserDeviceShareMultiDeleteReq = dm.UserDeviceShareMultiDeleteReq

type UserDeviceShareReadReq

type UserDeviceShareReadReq = dm.UserDeviceShareReadReq

type WithID

type WithID = dm.WithID

type WithIDChildren

type WithIDChildren = dm.WithIDChildren

type WithIDCode

type WithIDCode = dm.WithIDCode

type WithProfile

type WithProfile = dm.WithProfile

Jump to

Keyboard shortcuts

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