Commit graph

355 commits

Author SHA1 Message Date
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
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
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
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
andrekir
9869a9208b refactor: improve service admin channel index logic 2023-05-21 19:46:40 -03:00
andrekir
8151aceea4 fix: ensure proper channel updates to ChannelSetRepository 2023-05-21 06:04:53 -03:00
Andre K
a2388d1d12
refactor: combine config data stores into RadioConfigRepository (#636) 2023-05-20 11:42:15 -03:00
Andre K
c3ab3c5ae9
feat: implement PacketResponseState.Success (#634) 2023-05-15 17:49:13 -03:00
andrekir
6297cf2b62 fix: set fixed position for local node only 2023-05-12 18:34:29 -03:00
andrekir
2502bee55f fix: update handleReceivedPosition
ignore received Position packets with `wantResponse = true` (position requests). set `destNum` for remote nodes (fixed position). also reverts 24e5454fae
2023-05-10 22:17:09 -03:00
andrekir
41d0315b63 fix: handle deleted channels in ChannelSet DataStore
adds `removeSettings` method to delete channels with `Role.DISABLED`
2023-05-06 08:08:17 -03:00
Andre K
e5a860cb36
feat: add channel editor (#627) 2023-04-29 07:14:30 -03:00
andrekir
34eac6af18 fix: change MeshPacket default hopLimit to match LoRa config instead of 0 2023-04-25 19:18:03 -03:00
Andre K
85e62eaab4
feat: add remote node configuration (#626) 2023-04-22 12:06:25 -03:00
Andre K
da5f1d529d
feat: add traceroute (#620) 2023-04-16 06:16:41 -03:00
andrekir
a560555a01 fix: add synchronized() to service numOnlineNodes
to avoid `ConcurrentModificationException` from nodeDBbyNodeNum changes
2023-04-07 11:28:17 -03:00
andrekir
5d90584734 fix: add synchronized() to avoid concurrent modifications
between saveSettings() and discardNodeDB()
2023-04-03 18:12:24 -03:00
andrekir
e6d19d9e6d fix: add nodeDBbyNodeNum temp var to avoid concurrent modifications 2023-04-01 06:43:41 -03:00
andrekir
da1988bbf9 fix: add back hwModel to setOwner 2023-03-28 22:31:36 -03:00
andrekir
fb8a640873 refactor: use Position object as requestPosition parameter 2023-03-27 15:51:23 -03:00
andrekir
2d9f0a56f2 refactor: use MeshUser object as setOwner parameter 2023-03-27 15:30:42 -03:00
andrekir
bee08a0bb4 fix: use MeshPacketQueue 2023-03-10 07:01:15 -03:00
andrekir
566fdd3344 feat: add getChannelSet method to IMeshService 2023-02-20 21:48:55 -03:00
andrekir
603cd85ca4 refactor: improve message status handling in queueJob 2023-02-18 08:20:36 -03:00
andrekir
8a6361d72c feat: drop packet from queue after 3 failed attempts 2023-02-13 18:38:22 -03:00
andrekir
6e82affb98 fix: replace CompletableFuture lib 2023-02-03 19:41:30 -03:00
andrekir
62420132f1 feat: waypoints 2023-02-01 12:49:30 -03:00
andrekir
1fc99b8bb4 feat: enforce waypoints locked_to 2023-01-27 16:13:49 -03:00
andrekir
b4e8852961 fix: always broadcast MessageStatus updates 2023-01-22 21:45:45 -03:00
Andre K
620100b0d3
feat: add packet transmit queue (#566) 2023-01-17 18:46:04 -03:00
andrekir
24e5454fae feat: improve handleReceivedPosition validation 2023-01-15 17:49:59 -03:00
andrekir
d23584c283 feat: get queued packets from database 2023-01-12 17:47:59 -03:00
andrekir
5a07998b73 fix: move Packet log after radioInterfaceService.sendToRadio() 2023-01-12 17:34:17 -03:00
andrekir
17a6e8cbc6 refactor: clean up meshservice 2023-01-12 17:32:20 -03:00
andrekir
b8ee4152a3 use ServiceCompat.stopForeground() for API < 24 compatibility 2023-01-03 21:02:31 -03:00