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
Mike Cumings
7cd1e7fc96
Mesh service needs to collect on Flow instances
2022-05-06 12:17:17 -07: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
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
andrekir
89811d4aa4
cleanup actionmode
2022-04-19 15:10:17 -03: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
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
andrekir
bcc46f36e6
only consider device sleep when isPowerSaving enabled
2022-04-07 23:31:43 -03:00
andrekir
78f7477c85
promote device metrics
2022-04-04 19:10:15 -03:00
andrekir
ba2a6e0573
add contacts
2022-04-03 11:25:50 -03:00
andrekir
7c1c449dd3
insert sent messages in Packet
2022-03-29 10:58:34 -03:00
andrekir
0c135c4502
handle received telemetry portnums
2022-03-28 15:50:33 -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
andrekir
b8b2a8a86c
improve firmware update
2022-03-11 00:12:48 -03:00
Andre Kirchhoff
b6d90685c2
Merge pull request #389 from meshtastic/release
...
1.3.3
2022-03-08 10:35:52 -03:00
andrekir
5bb7b49241
Merge remote-tracking branch 'origin/release' into release
2022-03-08 10:18:02 -03:00
andrekir
0b0d82dc76
deleteMessage index by packet id
2022-03-02 11:21:43 -03:00
andrekir
27994ba2dd
anonymize sendPosition
2022-02-28 16:54:16 -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
andrekir
2e55a178f2
update minFirmwareVersion to 1.3.0
2022-02-27 12:20:00 -03:00
Mike Cumings
b3878a4240
Issue #369 - Use repository pattern for bluetooth state
2022-02-26 22:59:20 -08:00
andrekir
141a0c67af
update minFirmwareVersion to 1.3.0
2022-02-20 19:33:52 -03:00
andrekir
d016271d79
remove comment
2022-02-15 20:49:03 -03:00
andrekir
88b0415180
remove legacy MyNodeInfo.region
2022-02-15 20:47:54 -03:00
andrekir
c46039bb04
Remove hw_model_deprecated
2022-02-15 20:12:04 -03:00
andrekir
c97ebb6637
Remove mynodeinfo.num_bands
2022-02-15 19:58:11 -03:00
andrekir
eb5abb4be9
only consider BLE pairing for addressValid
2022-02-12 19:33:30 -03:00
andrekir
c04c1b4add
move disassociate to SettingsFragment
2022-02-12 19:28:49 -03:00
Andre Kirchhoff
9cd1856bb9
Merge pull request #372 from meshtastic/release
...
1.2.57
2022-02-09 23:15:27 -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
andrekir
4abd8b8ab7
anonymize address log
2022-02-08 00:22:45 -03:00
andrekir
45895cdcf6
use same CompanionDeviceManager method
2022-02-07 21:46:47 -03:00
andrekir
c362f08ec3
disassociate old CompanionDeviceManager address
2022-02-02 23:28:23 -03:00
Andre Kirchhoff
88a4825b28
Merge pull request #357 from meshtastic/companion-pairing
...
1.2.55
2022-01-31 23:42:48 -03:00
andrekir
084c16bfe9
clean up and reformat
2022-01-31 21:55:24 -03: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
andrekir
a2f5d74bfc
fix companion pairing
2022-01-29 10:41:24 -03:00
Andre Kirchhoff
852cd2ddc7
Merge pull request #354 from meshtastic/release
...
1.2.54
2022-01-26 22:58:46 -03:00
andrekir
10886a9c98
add MyNodeInfo channelUtilization & airUtilTx
2022-01-26 22:26:35 -03:00
andrekir
7a316928be
update provideLocation feedback
2022-01-26 16:27:16 -03:00
andrekir
a097cc2f25
send position to local node (without broadcast)
2022-01-26 02:35:37 -03:00
Andre Kirchhoff
12f864bae3
fix restrictions to provide location to mesh
2022-01-14 18:49:08 -03:00
andrekir
2bc12fe9d6
update play-services-location
2022-01-09 23:22:47 -03:00
andrekir
4bd5ea5aa4
enable hasCompanionDeviceApi
2022-01-09 00:26:19 -03:00
andrekir
2441e1bada
add provideLocation service start/stop
2022-01-03 21:59:30 -03:00
Jm Casler
b91c54f8b6
Merge pull request #330 from meshtastic/processQueued
...
fix processing queued packets
2021-12-26 13:39:40 -08:00