Commit Graph

1143 Commits

Author SHA1 Message Date
andrekir
4784e8d14b disable sleep prefs for non-ESP32 devices 2022-06-10 19:22:34 -03:00
andrekir
6184e9f30c improve location permission check 2022-06-07 00:33:24 -03:00
andrekir
9b45ba84f7 improve location enabled check 2022-06-07 00:33:24 -03:00
andrekir
14110d433f add shutdown & reboot strings 2022-06-06 17:36:40 -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
Mike Cumings
5546e74b46 Extract RadioInterfaceService companion object functions
In preparation for replacing the `InterfaceFactory` with an
injectable form we need to convert static methods that call
`InterfaceFactory` into non-static, injected forms.

Also:
- Updated kotlin `-Xopt-in` to `-opt-in` to remove build
  time warnings.
- Removed some unused `RadioInterfaceService` code.
2022-05-20 14:27:39 -07:00
andrekir
2389c222a0 move LocationUtils into utils 2022-05-20 11:20:13 -03:00
andrekir
6bda993851 move location service to repository 2022-05-20 09:13:59 -03:00
andrekir
d50e9e1644 meshservice cleanup 2022-05-20 09:12:55 -03:00
andrekir
a4e1f0de77 add mlkit barcode scanner 2022-05-17 17:29:21 -03:00
andrekir
c0a22cdc3a add network service discovery 2022-05-17 00:41:41 -03:00
andrekir
841ea515ba expand interface options beyond BLE 2022-05-16 23:32:49 -03:00
Andre Kirchhoff
5fb2be0591 Merge pull request #420 from mcumings/de-radio-service
`RadioInterfaceService` is no longer an Android `Service`
2022-05-06 23:29:18 -03:00
andrekir
99dfc8014a use standard IM text input convention 2022-05-06 17:25:35 -03:00
Mike Cumings
7cd1e7fc96 Mesh service needs to collect on Flow instances 2022-05-06 12:17:17 -07:00
Mike Cumings
0acf037000 Merge remote-tracking branch 'remotes/origin/master' 2022-05-06 11:19:11 -07:00
Mike Cumings
678a0358a5 Fix local props being uninitialized prior to constructor execution 2022-05-06 11:18:24 -07:00
Andre Kirchhoff
4b3427fe8c Merge pull request #428 from andrekir/ble-scan
bluetooth scan & connect UI rework
2022-05-03 18:14:59 -03:00
andrekir
9e3bab8367 update deprecated IntentIntegrator 2022-05-03 17:32:01 -03:00
andrekir
ef9114ddc1 bluetooth scan & connect UI rework 2022-05-03 12:16:44 -03:00
andrekir
0294da844b update UI when started with BLE disabled 2022-04-30 00:06:49 -03:00
andrekir
b6410dd162 disassociate devices when not bonded 2022-04-29 23:34:03 -03:00
andrekir
0950e12bd0 add BLE associations to devices list 2022-04-28 23:09:06 -03:00
andrekir
aaa5c1cf04 move hasCompanionDeviceApi out of BluetoothInterface 2022-04-28 21:40:34 -03:00
andrekir
eaff87eed3 update debug message reference 2022-04-28 11:54:04 -03:00
andrekir
34e240d7fa update deprecated intent method 2022-04-28 11:53:32 -03:00
andrekir
27c1817a59 rename isConnected --> connectionState 2022-04-24 12:12:13 -03:00
Mike Cumings
9687fb7370 RadioInterfaceService is no longer an Android Service
Removes the AIDL and associated support for the `IRadioInterfaceService`.
This should give some performance benefit since radio data no longer
has to round-trip through the platform.
2022-04-22 17:40:01 -07:00
andrekir
8bde3d2ba4 make MutableLiveData private 2022-04-22 17:22:06 -03:00
Andre Kirchhoff
25a67ec4b3 Merge pull request #418 from meshtastic/users
improve users fragment
2022-04-22 17:04:57 -03:00
andrekir
9227ce3ba5 improve users fragment 2022-04-22 16:56:27 -03:00
Andre Kirchhoff
dbea9fbbe7 Merge pull request #416 from wkawecki/master
#413 Add Satellite Map Layers
2022-04-22 16:47:30 -03:00
Mike Cumings
4f6357103b Move radio service code verbatim into repository/radio 2022-04-22 10:22:03 -07:00
Mike Cumings
166a56a75d Extract RadioNotConnectedException out of RadioInterfaceService 2022-04-22 10:09:30 -07:00
wkawecki
c997440f75 meshtastic#413 Add Satellite Map Layers - correct after remove offline regions 2022-04-22 15:00:17 +02:00
wkawecki
8b5b33bcd5 meshtastic#413 Add Satellite Map Layers 2022-04-22 12:28:04 +02:00
andrekir
def08cde75 include resendButton in changes 2022-04-19 16:15:47 -03:00
andrekir
89811d4aa4 cleanup actionmode 2022-04-19 15:10:17 -03:00
wkawecki
7e1e78fb64 meshtastic#73 change icon, bugfixes 2022-04-19 16:01:01 +02:00
wkawecki
6f9f2c4b04 meshtastic#73 'Resend Button' on message selection 2022-04-12 17:00:49 +02:00
Mike Cumings
15f0e3bd5b Extract USB serial communication into USB repository
This separates the USB serial connectivity implementation
out of the radio service.  `SerialInterface` now only deals with
radio service concerns.
2022-04-08 15:41:58 -07:00
andrekir
bcf0d5be97 remove crashlytics report 2022-04-08 18:37:22 -03:00
Mike Cumings
dd41527bbc Initial step in refactoring RadioInterfaceService for dependency injection
Extracts USB device management into a `UsbRepository`.

In order for `SerialInterface to gain access to this prior to
the `RadioInterfaceService` being fully natively dependency
injected, all `InterfaceFactory` implementations needed
to be modified to accept the `UsbRepository` via argument.  This
will go away in a future PR.

Changed `assumePermission` constant to `false` as it was preventing
the request for permission from occurring, breaking serial connectivity.

Minor improvement: SerialInterface re-bonding by device name is
now supported.
2022-04-08 11:34:44 -07:00
Andre Kirchhoff
26b6081e9c Merge pull request #409 from mcumings/mapfragment
MapFragment crashes if analytics are not allowed
2022-04-08 14:41:47 -03:00
Mike Cumings
df47169997 MapFragment crashes is analytics are not allowed
`binding` is only set in `onCreateView` when analytics are
enabled, leading to a crash in `onViewCreated` when
`binding` - a lateinit var - is attempted to be accessed.
2022-04-08 08:56:30 -07:00
Andre Kirchhoff
caae04c2ff Merge pull request #408 from meshtastic/connection-sleep
Issue #392 - fix connected but sleeping text to reflect actual device state
2022-04-07 23:53:05 -03:00
Andre Kirchhoff
850aa0a491 Merge pull request #407 from meshtastic/text-input
use keyboard capitalization settings
2022-04-07 23:40:33 -03:00
andrekir
bcc46f36e6 only consider device sleep when isPowerSaving enabled 2022-04-07 23:31:43 -03:00