Commit graph

289 commits

Author SHA1 Message Date
andrekir
e18b1a9a4a check Telemetry oneOf to update Nodeinfo 2022-11-06 08:39:05 -03:00
andrekir
ce140383bb install channels from wantConfig 2022-10-16 19:19:03 -03:00
andrekir
d29c86ee74 admin channel not case-sensitive 2022-10-16 12:36:21 -03:00
andrekir
22671a73db detect UUID to warn firmware is too old 2022-10-12 23:40:54 -03:00
Andre K
3174b53c36
Merge pull request #497 from meshtastic/set-channel
move ChannelSet out of MeshService
2022-10-12 09:47:07 -03:00
andrekir
88b94bd018 move ChannelSet out of service 2022-10-12 09:02:25 -03:00
andrekir
07ac4f8392 bump minDeviceVersion to 1.3.43 2022-10-11 19:21:03 -03:00
andrekir
d9eb113b12 add remote node admin 2022-10-10 18:09:20 -03:00
andrekir
213164e95b requestConfig refactor 2022-10-10 18:06:19 -03:00
andrekir
b2f15337be use explicit DELAYED_BROADCAST enum 2022-10-07 23:26:00 -03:00
andrekir
856e704dd1 use gps time in position sent from phone 2022-10-07 21:38:53 -03:00
andrekir
bf2cf7bd3b bump minDeviceVersion to 1.3.41 2022-10-05 22:09:00 -03:00
andrekir
736d526b51 add router role to lsEnabled 2022-10-05 22:06:46 -03:00
andrekir
b401c8bac3 move admin messages to nodes tab 2022-09-30 15:57:04 -03:00
andrekir
5382fdae49 update for proto changes 2022-09-18 18:35:13 -03:00
andrekir
68558e4078 remove DataPacket storage from MeshService 2022-09-16 18:17:19 -03:00
andrekir
65e982ddd5 refactor messages to Room database 2022-09-15 22:24:04 -03:00
andrekir
ab7bf4922b create Room database for DataPacket 2022-09-14 01:54:13 -03:00
andrekir
9427eec72f add module config fromRadio 2022-09-13 22:59:50 -03:00
andrekir
a93d4e1dcd rename Packet to MeshLog 2022-09-13 22:49:38 -03:00
andrekir
2ed5548abb create ChannelSet datastore 2022-09-12 19:07:30 -03:00
andrekir
fd0c8ef9b8 refactor config get and set methods 2022-09-12 00:26:12 -03:00
andrekir
d2140b13cb add EnvironmentMetrics to NodeInfo 2022-09-08 19:09:36 -03:00
andrekir
188d1fddaa remove play services 2022-09-05 00:14:08 -03:00
andrekir
5eb5cd1421 incorporate androidlib 2022-09-04 22:52:40 -03:00
andrekir
e90b856524 move DELAYED_BROADCAST logic to service 2022-09-03 07:38:36 -03:00
andrekir
6e6b1b8ab6 improve handling minAppVersion 2022-08-29 12:50:29 -03:00
andrekir
e1ad213a01 tag hasWifi to MyNodeInfo 2022-08-28 07:54:47 -03:00
andrekir
e043a3aa9a amend max channels reference 2022-08-15 22:05:10 -03:00
andrekir
6678a82578 add Channel response to debug log 2022-07-29 19:46:04 -03:00
andrekir
1f60c4ddf4 move region logic out of service 2022-07-26 23:01:28 -03:00
andrekir
a598b50d40 handle updated wantConfig 2022-06-21 09:51:11 -03:00
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
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
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
andrekir
89811d4aa4 cleanup actionmode 2022-04-19 15:10:17 -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
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