def callService()

in leda_python/deviceMbus.py [0:0]


    def callService(self, name, input):
        '''
		:param name[string]: method name
		:param input[string]: formate: key-value json-string ,eg:
			{
				"params":{
					"args1": xxx,
					"args2": yyy
				}
			}
		:return:
			code[int]         : 消息编码和msg对应
			msg[string]        : 返回的执行状态
			output[string]    : 方法返回的输出数据
				 {
					"key1": xxx,
					"key2": yyy,
					 ...
				}
		'''
        raise exception.LedaCallBackException("callService is empty")