server

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: AGPL-3.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 DeviceInteractServer

type DeviceInteractServer struct {
	dm.UnimplementedDeviceInteractServer
	// contains filtered or unexported fields
}

func NewDeviceInteractServer

func NewDeviceInteractServer(svcCtx *svc.ServiceContext) *DeviceInteractServer

func (*DeviceInteractServer) ActionRead

获取异步调用设备行为的结果

func (*DeviceInteractServer) ActionResp

func (s *DeviceInteractServer) ActionResp(ctx context.Context, in *dm.ActionRespReq) (*dm.Empty, error)

回复调用设备行为

func (*DeviceInteractServer) ActionSend

调用设备行为

func (*DeviceInteractServer) EdgeSend added in v1.0.5

提供给边缘端进行http访问

func (*DeviceInteractServer) GatewayGetFoundSend

func (s *DeviceInteractServer) GatewayGetFoundSend(ctx context.Context, in *dm.GatewayGetFoundReq) (*dm.Empty, error)

获取网关拓扑关系

func (*DeviceInteractServer) GatewayNotifyBindSend

func (s *DeviceInteractServer) GatewayNotifyBindSend(ctx context.Context, in *dm.GatewayNotifyBindSendReq) (*dm.Empty, error)

通知网关绑定子设备

func (*DeviceInteractServer) PropertyControlMultiSend

批量调用设备属性

func (*DeviceInteractServer) PropertyControlRead

func (s *DeviceInteractServer) PropertyControlRead(ctx context.Context, in *dm.RespReadReq) (*dm.PropertyControlSendResp, error)

获取异步调用设备属性的结果

func (*DeviceInteractServer) PropertyControlSend

调用设备属性

func (*DeviceInteractServer) PropertyGetReportSend

请求设备获取设备最新属性

func (*DeviceInteractServer) SendMsg

发送消息给设备 -- 调试使用

Jump to

Keyboard shortcuts

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