We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello Every body, i need to decrease timeout of this command API: deviceService.sendTwoWayRpcCommand(entityId,requestBody)
the default time is about 6 second and for my point is a large time! i tried this method: (but didn't change!)
let entityId = self.ctx.datasources[0].entityId let requestBody = { method: method, params: paramsbodyclr, timeout: '500' } deviceService.sendTwoWayRpcCommand(entityId,requestBody) .subscribe( function success() { console.log("send ok CLR"); }, function fail(rejection) { console.log("timeout detect CLR"); } );
any body can help?
The text was updated successfully, but these errors were encountered:
Ultrazombie
No branches or pull requests
Hello Every body,
i need to decrease timeout of this command API:
deviceService.sendTwoWayRpcCommand(entityId,requestBody)
the default time is about 6 second and for my point is a large time!
i tried this method: (but didn't change!)
let entityId = self.ctx.datasources[0].entityId
let requestBody = {
method: method,
params: paramsbodyclr,
timeout: '500'
}
deviceService.sendTwoWayRpcCommand(entityId,requestBody)
.subscribe(
function success() {
console.log("send ok CLR");
},
function fail(rejection) {
console.log("timeout detect CLR");
}
);
any body can help?
The text was updated successfully, but these errors were encountered: