Hi everybody
I need to reduce the timeout in a RPC message send to a several devices , but the "sendTwoWayRpcCommand" doesn't have the timeout parameter.
I try to reduce the timeout in the root rulechain and doesn't work: always send 2 or 3 messages to IOT devices with a timeout of 10seconds (total: 30 seconds).
Where can i configure the timeout and the quantity of messages that thingsboard send?
Thanks in advanced!
====CODE INIT==========
var $scope = self.ctx.$scope;
var deviceService = $scope.$injector.get('deviceService');
for (var i = 0; i < arrayDevices.length; i++){
deviceService.sendTwoWayRpcCommand(arrayDevices[i], requestBody).then(
function success(responseBody) { console.log("100%"); },
function fail() {console.log("FAIL);}
);
}


Hi everybody
I need to reduce the timeout in a RPC message send to a several devices , but the "sendTwoWayRpcCommand" doesn't have the timeout parameter.
I try to reduce the timeout in the root rulechain and doesn't work: always send 2 or 3 messages to IOT devices with a timeout of 10seconds (total: 30 seconds).
Where can i configure the timeout and the quantity of messages that thingsboard send?
Thanks in advanced!
====CODE INIT==========
var $scope = self.ctx.$scope;
var deviceService = $scope.$injector.get('deviceService');
for (var i = 0; i < arrayDevices.length; i++){
deviceService.sendTwoWayRpcCommand(arrayDevices[i], requestBody).then(
function success(responseBody) { console.log("100%"); },
function fail() {console.log("FAIL);}
);
}