Documentation ¶
Index ¶
- type DeviceInteractServer
- func (s *DeviceInteractServer) ActionRead(ctx context.Context, in *dm.RespReadReq) (*dm.ActionSendResp, error)
- func (s *DeviceInteractServer) ActionResp(ctx context.Context, in *dm.ActionRespReq) (*dm.Empty, error)
- func (s *DeviceInteractServer) ActionSend(ctx context.Context, in *dm.ActionSendReq) (*dm.ActionSendResp, error)
- func (s *DeviceInteractServer) GatewayGetFoundSend(ctx context.Context, in *dm.GatewayGetFoundReq) (*dm.Empty, error)
- func (s *DeviceInteractServer) GatewayNotifyBindSend(ctx context.Context, in *dm.GatewayNotifyBindSendReq) (*dm.Empty, error)
- func (s *DeviceInteractServer) PropertyControlMultiSend(ctx context.Context, in *dm.PropertyControlMultiSendReq) (*dm.PropertyControlMultiSendResp, error)
- func (s *DeviceInteractServer) PropertyControlRead(ctx context.Context, in *dm.RespReadReq) (*dm.PropertyControlSendResp, error)
- func (s *DeviceInteractServer) PropertyControlSend(ctx context.Context, in *dm.PropertyControlSendReq) (*dm.PropertyControlSendResp, error)
- func (s *DeviceInteractServer) PropertyGetReportSend(ctx context.Context, in *dm.PropertyGetReportSendReq) (*dm.PropertyGetReportSendResp, error)
- func (s *DeviceInteractServer) SendMsg(ctx context.Context, in *dm.SendMsgReq) (*dm.SendMsgResp, error)
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 (s *DeviceInteractServer) ActionRead(ctx context.Context, in *dm.RespReadReq) (*dm.ActionSendResp, error)
获取异步调用设备行为的结果
func (*DeviceInteractServer) ActionResp ¶
func (s *DeviceInteractServer) ActionResp(ctx context.Context, in *dm.ActionRespReq) (*dm.Empty, error)
回复调用设备行为
func (*DeviceInteractServer) ActionSend ¶
func (s *DeviceInteractServer) ActionSend(ctx context.Context, in *dm.ActionSendReq) (*dm.ActionSendResp, error)
调用设备行为
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 (s *DeviceInteractServer) PropertyControlMultiSend(ctx context.Context, in *dm.PropertyControlMultiSendReq) (*dm.PropertyControlMultiSendResp, error)
批量调用设备属性
func (*DeviceInteractServer) PropertyControlRead ¶
func (s *DeviceInteractServer) PropertyControlRead(ctx context.Context, in *dm.RespReadReq) (*dm.PropertyControlSendResp, error)
获取异步调用设备属性的结果
func (*DeviceInteractServer) PropertyControlSend ¶
func (s *DeviceInteractServer) PropertyControlSend(ctx context.Context, in *dm.PropertyControlSendReq) (*dm.PropertyControlSendResp, error)
调用设备属性
func (*DeviceInteractServer) PropertyGetReportSend ¶
func (s *DeviceInteractServer) PropertyGetReportSend(ctx context.Context, in *dm.PropertyGetReportSendReq) (*dm.PropertyGetReportSendResp, error)
请求设备获取设备最新属性
func (*DeviceInteractServer) SendMsg ¶
func (s *DeviceInteractServer) SendMsg(ctx context.Context, in *dm.SendMsgReq) (*dm.SendMsgResp, error)
发送消息给设备 -- 调试使用
Click to show internal directories.
Click to hide internal directories.