Commit graph

571 commits

Author SHA1 Message Date
Andre K
ecaf35d7f3
feat: add ActionMenu option to mute contacts (#1003) 2024-04-28 16:18:16 -03:00
andrekir
0187bc4c72 refactor: simplify position requests 2024-04-21 08:49:09 -03:00
andrekir
d7812c5777 fix #973: ignore data from traceroute requests 2024-04-21 08:48:40 -03:00
Dayle Drinkwater
47b2ecc8aa
Hops Away implementation (#966)
* Initial Hops Away feature

* Generate our own hopsAway, comparing hopStart to hopLimit

* Remove import of hopsAway from device nodeInfo, as this only shows 0 when hopStart isn't included on packets (with this info, we can't differentiate between a node which is Hops Away but on old firmware, or nodes which are on new firmware but direct. Both are 0)

Check if hopStart is 0 but hopLimit is not 0, if true set hopsAway to -1.

Show nodes with hopsAway with -1 with a (!) appended to the RSSI details, to show this probably isn't true. (eg they are using old firmware)

Change the default of hopsAway to -1, until we know it is direct (0) or hops away (1+)

* tidy up: move from nested if else to when

* Revert Project_Default.xml

* Move hopsAway when block in to updateNodeInfo() block above it.

Move hopsAway var to end of NodeInfo Class.

Schema update due to change above.

* hopsAway now follows firmware implementation.
hopsAway now imported from radio (installNodeInfo)

* reformat

---------

Co-authored-by: andrekir <andrekir@pm.me>
2024-04-21 08:14:35 -03:00
andrekir
c15c3d8c09 refactor(config): pass destNum via setFragmentResultListener 2024-04-15 17:56:47 -03:00
Jonathan Bennett
828696aca7
Add option to delete single node from nodeDB (#958) 2024-04-09 07:18:38 -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
6afd20b874 refactor: remove assert for NodeDB max size of 256 nodes 2024-04-01 17:48:29 -03:00
andrekir
c3eb80bcfc feat: tag node names in installNodeInfo using viaMqtt 2024-03-10 08:18:25 -03:00
andrekir
85dacaf53b feat: tag node names when NodeInfo is received via MQTT 2024-02-28 17:52:49 -03:00
andrekir
dec48b155e refactor: temporary disable processPacketQueue 2024-02-25 07:45:48 -03:00
andrekir
570a26b413 fix: parsing StoreAndForward text messages 2024-02-25 07:42:22 -03:00
Davis
2de49c143b
Remove UI for firmware update (button and progress) and accompanying logic (#870)
Use non-deprecated method for checking IP address format
2024-02-25 07:38:51 -03:00
andrekir
05b88e617c feat: add basic StoreAndForward handling 2024-02-18 07:37:18 -03:00
andrekir
6aa1b70274 feat: add client-side NodeInfo channel routing 2024-01-17 19:34:55 -03:00
andrekir
ed649470f9 refactor: remove deprecated RECEIVED_DATA broadcast 2024-01-10 12:24:18 -03:00
andrekir
dcb19da723 refactor: remove deprecated MeshPacket.Delayed 2024-01-10 12:18:12 -03:00
andrekir
505ba8a7d3 refactor: nodeDBbyNodeNum to ConcurrentHashMap 2024-01-10 05:30:02 -03:00
andrekir
f73e7fd301 refactor: add user.id as unique mqtt client identifier 2023-12-27 19:48:40 -03:00
andrekir
121376201d refactor: add wantAck to traceroute requests 2023-10-24 15:56:56 -03:00
andrekir
13c76f49ee refactor: implement repository pattern for ConnectionState 2023-10-21 07:24:46 -03:00
andrekir
c489717ad1 refactor: convert NodeDB to repository 2023-10-20 19:38:18 -03:00
andrekir
b87257a663 refactor: catch exception when starting service in the background 2023-10-19 17:17:17 -03:00
andrekir
f0f4f44915 refactor: handle QueueStatus not responding under load
workaround for when the mesh is busy, radios fail to respond with `QueueStatus` and acknowledge sent packets.
- wait until radio queue is free or timeout, always assume sent packets went through;
- never resend, just timeout and move on to the next packet when there is no `QueueStatus` response.
2023-10-19 17:12:08 -03:00
andrekir
7b3f71ae32 feat: warn user when MqttClientProxy fails 2023-10-12 22:57:45 -03:00
andrekir
8d22a23fe1 feat: warn user when duty cycle limit reached
closes #540
2023-10-12 22:52:54 -03:00
andrekir
e3b96f4bd4 feat: implement MQTT client proxy 2023-10-12 18:24:15 -03:00
andrekir
85564cae2a fix: ignore range test messages when module disabled 2023-10-08 23:38:28 -03:00
andrekir
57e29b23a3 refactor: optimize database storage for specific Portnums 2023-10-08 19:24:13 -03:00
andrekir
37dad9b6fa refactor: move IMeshService instance to repository 2023-10-06 17:54:37 -03:00
andrekir
7c30d86e39 feat: add feedback for configuration changes 2023-10-03 18:32:44 -03:00
andrekir
2dd0e1f1e2 refactor: reduce coupling in Parcelables 2023-10-03 17:27:16 -03:00
andrekir
e8b0f1584b refactor: replace enum values() with entries property
https://kotlinlang.org/docs/whatsnew19.html#stable-replacement-of-the-enum-class-values-function
2023-09-16 08:27:01 -03:00
andrekir
e20e66b7f7 refactor: handle range test messages when module enabled 2023-09-11 19:39:49 -03:00
Andre K
83722159be
refactor: migrate nodeDB to Room database (#717) 2023-09-05 08:19:26 -03:00
andrekir
e72b046c53 refactor: convert gpsString to Position extension 2023-09-04 18:40:21 -03:00
andrekir
afce253514 refactor: lock configs when device or app is too old 2023-08-31 15:47:11 -03:00
andrekir
c3ec67a9ba feat: add waypoint notifications
closes #665
2023-08-25 17:19:39 -03:00
andrekir
5b350aecf9 chore: add debug log for DeviceMetadata 2023-08-25 17:00:56 -03:00
Ben Meadors
f68e112c32
refactor: Convert detection sensor portnum payloads to text message (#688) 2023-08-22 22:49:36 -03:00
andrekir
e9ae0c66d9 refactor: updates for 2.2 release
reference https://github.com/meshtastic/protobufs/pull/368
2023-08-05 07:04:37 -03:00
andrekir
cdc76155d9 style: replace Pair() usage with explicit values 2023-07-31 23:07:27 -03:00
andrekir
952bca3b14 refactor: replace lowercase() with equals() 2023-06-20 08:35:08 -03:00
Andre K
bb3b1eaa85
fix: replace duplicate packet IDs before sending queue (#646) 2023-06-20 08:22:10 -03:00
andrekir
07c847ea68 refactor: update startForeground() with explicit service type
from Android Q (API level 29) foreground services require an explicit service type to be specified.
2023-06-18 17:33:06 -03:00
Andre K
271124dc9c
refactor: implement CompatExtensions (#641)
updates deprecated methods, classes, and flags introduced in Android SDK 33, while ensuring compatibility with previous Android versions
2023-05-30 18:30:46 -03:00
andrekir
93ac0186fe fix: incorrect admin channel index retrieval logic
was returning -1 instead of 0 when no admin channel configured.
2023-05-24 06:17:32 -03:00