Skip to content

Commit

Permalink
Changed the Wi-Fi default scan interval to 8 seconds (from 5) and GNS…
Browse files Browse the repository at this point in the history
…S to 20 (from 10)
  • Loading branch information
christianrowlands committed Nov 20, 2023
1 parent 913c900 commit 95d191d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ private NetworkSurveyConstants()
public static final String EXTRA_STARTED_AT_BOOT = "com.craxiom.networksurvey.extra.STARTED_AT_BOOT";

public static final int DEFAULT_CELLULAR_SCAN_INTERVAL_SECONDS = 5;
public static final int DEFAULT_WIFI_SCAN_INTERVAL_SECONDS = 5;
public static final int DEFAULT_WIFI_SCAN_INTERVAL_SECONDS = 8;
public static final int DEFAULT_BLUETOOTH_SCAN_INTERVAL_SECONDS = 30;
public static final int DEFAULT_GNSS_SCAN_INTERVAL_SECONDS = 10;
public static final int DEFAULT_GNSS_SCAN_INTERVAL_SECONDS = 20;
public static final int DEFAULT_DEVICE_STATUS_SCAN_INTERVAL_SECONDS = 120;

public static final String DEFAULT_ROLLOVER_SIZE_MB = "5";
Expand Down
6 changes: 3 additions & 3 deletions networksurvey/src/main/res/xml/app_restrictions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@
android:title="@string/mqtt_password_title" />

<restriction
android:defaultValue="30"
android:defaultValue="5"
android:description="@string/cellular_scan_interval_description"
android:key="cellular_scan_interval_seconds"
android:restrictionType="integer"
android:title="@string/cellular_scan_interval_title" />

<restriction
android:defaultValue="30"
android:defaultValue="8"
android:description="@string/wifi_scan_interval_description"
android:key="wifi_scan_interval_seconds"
android:restrictionType="integer"
Expand All @@ -70,7 +70,7 @@
android:title="@string/bluetooth_scan_interval_title" />

<restriction
android:defaultValue="30"
android:defaultValue="20"
android:description="@string/gnss_scan_interval_description"
android:key="gnss_scan_interval_seconds"
android:restrictionType="integer"
Expand Down
4 changes: 2 additions & 2 deletions networksurvey/src/main/res/xml/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
app:useSimpleSummaryProvider="true" />

<EditTextPreference
app:defaultValue="5"
app:defaultValue="8"
app:dialogMessage="@string/wifi_scan_interval_description"
app:key="wifi_scan_interval_seconds"
app:title="@string/wifi_scan_interval_title"
Expand All @@ -95,7 +95,7 @@
app:useSimpleSummaryProvider="true" />

<EditTextPreference
app:defaultValue="10"
app:defaultValue="20"
app:dialogMessage="@string/gnss_scan_interval_description"
app:key="gnss_scan_interval_seconds"
app:title="@string/gnss_scan_interval_title"
Expand Down

0 comments on commit 95d191d

Please sign in to comment.