Commit graph

137 commits

Author SHA1 Message Date
James Rich
139a17f22f
fix: Distinguish between an empty response and a network error (#1938) 2025-05-26 01:41:49 +00:00
James Rich
d091e549a1
feat(mqtt): Generate more specific client ID for MQTT proxy (#1912) 2025-05-22 14:32:28 -05:00
James Rich
02bb3f02e4
feat: network module (#1905) 2025-05-22 08:30:08 -05:00
James Rich
38b9515fca
refactor: Move "provide location" preference to DataStore (#1877) 2025-05-19 21:23:29 +00:00
James Rich
4cba13ea14
feat: material3 (#1862) 2025-05-17 11:39:53 -05:00
James Rich
5d5a4938a2
fix: clear local DB after reset (#1746) 2025-04-21 13:52:41 -05:00
Andre K
6720764ed4
feat: support custom ports in TCP interface (#1534) 2025-03-17 18:13:27 -05:00
renovate[bot]
559b47355d
chore(deps): update com.github.mik3y:usb-serial-for-android to v3.9.0 - abandoned (#1666)
* chore(deps): update com.github.mik3y:usb-serial-for-android to v3.9.0

* fix: Use SerialInputOutputManager.start() according to change https://github.com/mik3y/usb-serial-for-android/releases/tag/v3.9.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-03-14 06:14:24 -05:00
andrekir
13b615a470 chore: update license header 2025-01-02 07:00:51 -03:00
Andre K
60e7e18116
feat(config): implement excluded modules validation (#1460)
* feat(config): implement excluded modules validation

* feat: hide excluded configs from metadata

* refactor: save local metadata from WantConfig

* refactor: delete metadata from deleted nodes

* fix: always request metadata for admin routes

* feat: show node firmware when metadata is available

* refactor: rename filter function

* feat: add `ServiceAction` request metadata
2025-01-02 06:38:33 -03:00
andrekir
193ee727b5 feat(serial): send heartbeat to keep connection alive
closes #456
2024-12-14 05:59:41 -03:00
andrekir
174a4d0771 refactor: ensure node database flows on IO thread 2024-11-26 09:57:23 -03:00
andrekir
1219d3037e chore: add GPL-3.0 license headers to source files 2024-11-26 08:54:18 -03:00
andrekir
80f8f2a591 refactor: implement repository pattern replacement for AIDL methods 2024-11-21 20:30:25 -03:00
andrekir
4855576248 refactor: ensure NetworkRepository flows on IO thread 2024-11-19 10:53:27 -03:00
Andre K
a6e7a0ef4f
feat: add meshtastic service type to mDNS service discovery (#1401) 2024-11-12 17:14:58 -03:00
andrekir
5cf9741b13 refactor: unified getUser repository call for convention 2024-10-25 07:50:34 -03:00
andrekir
fe56d257f5 chore: add detekt formatting rule set
https://detekt.dev/docs/next/rules/formatting/
2024-10-14 07:56:29 -03:00
andrekir
aa84d47375 feat: add fixed_position to config import/export 2024-10-10 10:54:14 -03:00
andrekir
c0692b80ec refactor: remove legacy BLE characteristic 2024-10-02 20:00:02 -03:00
andrekir
ffb402acde feat: add demo mode for testing and review purposes
- Activates by tapping "None (disable)" 7 times.
- Displays a confirmation message when `Demo Mode` is enabled.
- Simulates a connection to a Meshtastic device and allows the app to function without requiring real hardware.
2024-10-02 19:58:11 -03:00
Andre K
c30ee2f55f
refactor: replace MyNodeInfo with MyNodeEntity (#1277) 2024-10-02 06:18:30 -03:00
andrekir
8c07532995 fix(MeshService): revert nodeDBbyNodeNum to local variable
avoids performance issues causing data loss by reverting `nodeDBbyNodeNum` to a local `ConcurrentHashMap`
2024-09-19 18:17:30 -03:00
Andre K
396195a1b8
refactor: introduce NodeEntity protobuf-based database entity (#1250) 2024-09-16 17:57:30 -03:00
andrekir
a98d3899e6 refactor(MeshService): remove discardNodeDB and simplify logic 2024-09-13 19:03:28 -03:00
andrekir
39a18e6418 refactor: replace service local node db with Room NodeDB 2024-09-13 00:19:21 -03:00
andrekir
84939a74d2 refactor: replace nodeDBbyID with getUser() function 2024-09-11 20:01:16 -03:00
andrekir
3a97e6dbcb refactor: remove BACKGROUND_LOCATION permission 2024-08-29 08:10:09 -03:00
andrekir
f85bcac5aa feat: add MQTT client proxy PKI topic 2024-08-25 10:44:18 -03:00
andrekir
0b7718f8d5 refactor: write to proto DataStore using dynamic field updates 2024-08-25 06:54:32 -03:00
James Rich
acbae6d93d
feat: Add position precision indicator to map (#1177) 2024-08-03 13:08:22 -03:00
andrekir
9f4f919fe1 refactor: remove ClientProxy MQTT status topic
ref: https://github.com/meshtastic/firmware/pull/4305
2024-07-28 07:11:10 -03:00
andrekir
921ef709d6 refactor: use PendingIntentCompat for UsbManager 2024-07-25 18:24:03 -03:00
andrekir
e31b7d4911 chore: update targetSdk to API 34 2024-07-21 10:43:01 -03:00
Andre K
001b18be95
feat: implement MSL altitude using AltitudeConverterCompat (#1094)
- Added `androidx.core:core-location-altitude:1.0.0-alpha02`;
- Implemented `AltitudeConverterCompat.addMslAltitudeToLocation(context, location)` to convert `altitude` (above the WGS84 reference ellipsoid) to Mean Sea Level (MSL) and add MSL altitude and accuracy to the location object.

Reference:
- https://issuetracker.google.com/issues/195660815
- Brian Julian and Michael Angermann. "Resource efficient and accurate altitude conversion to Mean Sea Level." [2023 IEEE/ION Position, Location and Navigation Symposium (PLANS)](https://www.ion.org/plans/abstracts.cfm?paperID=12011).
2024-06-13 07:26:56 -03:00
andrekir
814cf41f90 refactor: simplify wantConfig feedback 2024-06-03 10:17:20 -03:00
andrekir
4ceb4c5199 feat: add nodelist sort options 2024-06-02 09:24:22 -03:00
andrekir
a12c5052bc refactor: improve connection status feedback using new wantConfig state 2024-05-05 06:57:04 -03:00
andrekir
c15c3d8c09 refactor(config): pass destNum via setFragmentResultListener 2024-04-15 17:56:47 -03:00
andrekir
5b43089392 refactor: simplify RadioConfigViewModel packet processing 2024-04-07 19:50:27 -03:00
andrekir
76151e153f refactor: move error message handling to ServiceRepository 2024-04-07 16:44:45 -03:00
andrekir
cf239e3634 refactor: move tracerouteResponse logic to service 2024-04-07 16:26:47 -03:00
andrekir
6e3e173096 refactor: add fixed position admin messages 2024-04-01 19:32:28 -03:00
andrekir
0948f8e042 fix: don't mix MQTT topics 2024-03-19 08:39:35 -03:00
andrekir
d21e735ae7 fix: missing ModuleConfig handling 2024-03-18 08:17:35 -03:00
andrekir
6b8814cd87 refactor: update client proxy MQTT topic
reference: https://github.com/meshtastic/firmware/pull/3353
2024-03-11 22:24:05 -03:00
andrekir
6a0d9b523b refactor: handle closing NsdManager service discovery if already stopped 2024-02-25 08:29:39 -03:00
andrekir
5a1b355b66 fix: replace MutableList with CopyOnWriteArrayList 2024-02-08 17:22:27 -03:00
Andre K
c8f93db00d
refactor: implement repository pattern for NodeDB (#835)
- enforce Unidirectional Data Flow removing nodeDB updates via `MainActivity`/`UIState`
- merge `MyNodeInfoDao` into `NodeInfoDao`
- move node list re-indexing to database
2024-02-06 20:03:15 -03:00
andrekir
f8a7596219 feat: add JSON topic subscription to MQTT client 2024-01-28 07:51:58 -03:00