Commit graph

126 commits

Author SHA1 Message Date
andrekir
54f6112908 create LocalConfig DataStore 2022-06-11 18:36:57 -03:00
andrekir
ce83c84723 update configs to LocalConfig 2022-06-10 21:55:26 -03:00
andrekir
d939f9784b fix isESP32 logic 2022-06-10 20:22:06 -03:00
andrekir
4784e8d14b disable sleep prefs for non-ESP32 devices 2022-06-10 19:22:34 -03:00
andrekir
47793a2086 add shutdown & reboot admin commands 2022-06-06 17:29:09 -03:00
andrekir
875939931e add localonly & update apponly protobufs 2022-05-30 17:43:05 -03:00
andrekir
48fd657d8a update protobufs 2022-05-26 16:23:47 -03:00
andrekir
2389c222a0 move LocationUtils into utils 2022-05-20 11:20:13 -03:00
andrekir
a4e1f0de77 add mlkit barcode scanner 2022-05-17 17:29:21 -03:00
andrekir
27c1817a59 rename isConnected --> connectionState 2022-04-24 12:12:13 -03:00
andrekir
8bde3d2ba4 make MutableLiveData private 2022-04-22 17:22:06 -03:00
andrekir
9227ce3ba5 improve users fragment 2022-04-22 16:56:27 -03:00
andrekir
89811d4aa4 cleanup actionmode 2022-04-19 15:10:17 -03:00
andrekir
ba2a6e0573 add contacts 2022-04-03 11:25:50 -03:00
Andre Kirchhoff
8de9a90c8f
Merge pull request #396 from meshtastic/refactor-protos
add telemetry.protos
2022-03-28 15:59:15 -03:00
andrekir
a6fb214852 remove isAlwaysPowered 2022-03-28 09:11:06 -03:00
andrekir
a79470b018 remove batteryLevel from Position 2022-03-26 17:44:59 -03:00
andrekir
291e54c275 use locationShareDisabled boolean 2022-03-26 17:09:05 -03:00
Andre Kirchhoff
536c918e22
remove is_router 2022-03-15 22:43:03 -03:00
andrekir
0b0d82dc76 deleteMessage index by packet id 2022-03-02 11:21:43 -03:00
Mike Cumings
9592fd68de Issue #369 - Expand bluetooth repository use cases
Changes:
- Adds support for obtaining bonded devices
- Adds support for obtaining BLE scanner
- Consolidates state into a single, immutable data class instance
- Simplified and renamed broadcast receiver
- Renamed view model permissionsUpdated fun to identify the intended use
2022-02-27 11:46:30 -08:00
Mike Cumings
b3878a4240 Issue #369 - Use repository pattern for bluetooth state 2022-02-26 22:59:20 -08:00
Mike Cumings
16d2b2e5f3 CSV export improvements to make it more reliable 2022-02-25 14:14:50 -08:00
andrekir
63d6881458 Update with new default modem configurations 2022-02-15 15:49:14 -03:00
andrekir
161af395a4 Change the default pre shared key to break backward compatibility of default channel 2022-02-15 15:13:33 -03:00
andrekir
12cb8f070c catch file write exception 2022-02-13 08:09:26 -03:00
Mike Cumings
654a32c01c Introduce Hilt dependency injection
Uses Hilt to get the database initialization off of the
main thread.

The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.

The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00
Mike Cumings
6012bddbdc Fixes #340 Improve CSV file export 2022-02-03 18:15:06 -08:00
Jackson Rosenthal
93e81e4639 Added delete all messages into the AlertDialog. 2022-01-31 19:11:32 -05:00
Jackson Rosenthal
e27a76633c Delete messages from view by long clicking. Looking into clearing "all messages" & menu for deleting individual messages 2022-01-29 14:31:08 -05:00
Jackson Rosenthal
c08c652d97 Testing click deletion of messages. (Messages still stored after sending new message or connecting to radio) 2022-01-28 21:40:05 -05:00
Andre Kirchhoff
c483a488bb
update location_share default to LocUnset 2022-01-27 18:30:18 -03:00
andrekir
11e6332d5d add switches to advanced settings 2022-01-24 18:23:09 -03:00
andrekir
460288d99f add isAlwaysPowered 2021-12-21 16:28:57 -03:00
andrekir
41e4c12842 fix typo & cap minBroadcastPeriodSecs 30s 2021-12-10 18:37:02 -03:00
andrekir
8e5eabec29 add LoRa channels (MediumFast, MediumSlow) 2021-12-10 15:55:44 -03:00
Kevin Hester
74a34cd9b6 store background location pref 2021-06-23 12:41:44 -07:00
Kevin Hester
18d526166f fix device version parsing and confirm it works with SHAs 2021-04-16 10:14:45 +08:00
Kevin Hester
0c70ae860e If we are unable to generate a barcode, just show nothing 2021-04-05 15:52:26 +08:00
Kevin Hester
395bc59c9c ChannelSettings.defaultInstance is garbage, do not use it 2021-04-04 17:44:25 +08:00
Kevin Hester
5b653d29f8 reformat per coding conventions 2021-03-29 20:33:06 +08:00
Kevin Hester
10d6537972 Disable the "set default channel" button if already on the default channel 2021-03-24 14:28:11 +08:00
Kevin Hester
ad7a189c51 add default channel button 2021-03-24 13:48:26 +08:00
Kevin Hester
c9d18b00a4 don't let user update firmware without setting a region. 2021-03-20 17:47:02 +08:00
Kevin Hester
699d5076b5 use unmock to test and fix the channel suffix generation to match device 2021-03-19 17:42:26 +08:00
Kevin Hester
c405cdc200 try to notice when user wants to go back to default settings 2021-03-19 17:09:35 +08:00
Kevin Hester
98356b9205 fix autobug crash when primary channel is null 2021-03-17 15:37:09 +08:00
Kevin Hester
483bd878ab untested change to use new hwmodel 2021-03-14 11:42:04 +08:00
Kevin Hester
bd1885aaf2 region setting from android now kinda works 2021-03-04 10:28:56 +08:00
Kevin Hester
81e76bfc51 fix bugs found via simulator 2021-03-04 09:08:29 +08:00