diff --git a/main.js b/main.js index a6c64ca..b69d2cb 100644 --- a/main.js +++ b/main.js @@ -250,7 +250,7 @@ function prepareConfig(config) { let options = { config: { - type: params.type || 'tcp', + type: 'tcp', round: parseInt(params.round, 10) || 0, timeout: parseInt(params.timeout, 10) || 5000, defaultDeviceId: (params.deviceId === undefined || params.deviceId === null) ? 1 : (parseInt(params.deviceId, 10) || 0),