Commit graph

1151 commits

Author SHA1 Message Date
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
andrekir
1bc843897d use keyboard capitalization settings 2022-04-07 23:21:12 -03:00
Wojciech Kawecki
eed53cb714
Merge branch 'meshtastic:master' into master 2022-04-07 15:34:36 +02: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
wkawecki
bcbe36009f Correct pt_BR translation 2022-04-01 23:58:52 +02:00
wkawecki
f0cd86b7a5 #13 add an option to force language X 2022-03-30 23:14:02 +02:00
andrekir
7c1c449dd3 insert sent messages in Packet 2022-03-29 10:58:34 -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
143bb255d1 update nodelist to telemetry deviceMetrics 2022-03-28 15:52:32 -03:00
andrekir
0c135c4502 handle received telemetry portnums 2022-03-28 15:50:33 -03:00
andrekir
d8a5fff86e fix NodeInfo telemetry proto 2022-03-28 15:48:27 -03:00
andrekir
a6fb214852 remove isAlwaysPowered 2022-03-28 09:11:06 -03:00
andrekir
373500ae8e point telemetry to new proto reference 2022-03-27 18:43:24 -03:00
andrekir
472f989b65 tag telemetry in NodeInfo 2022-03-26 23:38:58 -03:00
andrekir
11bbf02bf9 add batteryLevel from Telemetry 2022-03-26 18:10:40 -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
Jackson Rosenthal
b42149de05 Merge branch 'master' into feature/offline-maps 2022-03-12 17:10:59 -05:00
Jackson Rosenthal
448fe99cf5 setup "dev option" for offline maps 2022-03-12 17:09:20 -05:00
PWRxPSYCHO
0ebcf185a8 More tweaks 2022-03-11 10:08:21 -05:00
andrekir
b8b2a8a86c improve firmware update 2022-03-11 00:12:48 -03:00
PWRxPSYCHO
262808e952 Looking into why boolean is not being set 2022-03-10 09:38:56 -05:00
PWRxPSYCHO
e58e12ad5e Added hard-coded strings to translations 2022-03-10 08:52:23 -05:00
PWRxPSYCHO
58a20dc326 Updating UI flow 2022-03-10 08:17:00 -05:00
PWRxPSYCHO
0df9f8f587 Removed un-used UI layout & related code. 2022-03-09 10:24:03 -05:00
PWRxPSYCHO
0cb30171c1 Trying to keep layers persistent across multiple styles 2022-03-09 10:12:53 -05:00
Jackson Rosenthal
85140e486f syncing changes 2022-03-08 14:05:12 -05:00
Jackson Rosenthal
2f945545e5 syncing changes 2022-03-08 13:58:21 -05:00
PWRxPSYCHO
71724a6fd2 Cleaning up some code 2022-03-08 13:49:34 -05: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
PWRxPSYCHO
3fde01588c Working on "view region" flow 2022-03-07 09:44:29 -05:00
PWRxPSYCHO
cc295d0fb3 Simplified some logic 2022-03-07 08:10:06 -05:00
Jackson Rosenthal
217806f93e Simplifying offline flow 2022-03-06 19:52:49 -05:00
Jackson Rosenthal
cee1b0e9f3 Testing map with custom style pack 2022-03-02 18:46:50 -05:00
Jackson Rosenthal
a1a9bb1740 Merge branch 'master' into feature/offline-maps 2022-03-02 18:01:09 -05:00
Jackson Rosenthal
a19b24842f Merge branch 'master' into feature/offline-maps 2022-03-02 17:59:31 -05:00
PWRxPSYCHO
c622b72a53 Fixed some logic paths with the menu 2022-03-02 15:29:14 -05:00
andrekir
0b0d82dc76 deleteMessage index by packet id 2022-03-02 11:21:43 -03:00
PWRxPSYCHO
ee68c98e98 added logic to validate map naming window 2022-03-02 09:04:31 -05:00
PWRxPSYCHO
50c762d5c8 removed unused imports 2022-03-02 08:15:39 -05:00