diff --git a/config.sample.json b/config.sample.json index b7a5a7d..cd222b5 100644 --- a/config.sample.json +++ b/config.sample.json @@ -15,7 +15,7 @@ "listen_port": "2110" }, - "interval_beetwen_signal_strength_ms": 60000, + "interval_beetwen_signal_strength_ms": 30000, "sleep_after_send_sms_ms": 2000, "disable_delete_inbox_on_startup": false } \ No newline at end of file diff --git a/lib/modem.js b/lib/modem.js index 06977fc..31a66bc 100644 --- a/lib/modem.js +++ b/lib/modem.js @@ -1,7 +1,7 @@ 'use strict'; const DEFAULT_SLEEP_AFTER_SEND_SMS_MS = 2000; -const INTERVAL_BEETWEN_SIGNAL_STRENGTH_MS = 60000; +const INTERVAL_BEETWEN_SIGNAL_STRENGTH_MS = 30000; const MAX_LAST_DATA_AGE_MS = 3 * 60 * 1000; const REGEX_WAIT_FOR_OK_OR_ERROR = /\n(?:OK|ERROR)\r/; // const REGEX_WAIT_FOR_OK_OR_ERROR_USSD = /\n(?:OK|ERROR)\r/;