Commit graph

412 commits

Author SHA1 Message Date
andrekir
0b0d82dc76 deleteMessage index by packet id 2022-03-02 11:21:43 -03:00
Mike Cumings
9592fd68de Issue #369 - Expand bluetooth repository use cases
Changes:
- Adds support for obtaining bonded devices
- Adds support for obtaining BLE scanner
- Consolidates state into a single, immutable data class instance
- Simplified and renamed broadcast receiver
- Renamed view model permissionsUpdated fun to identify the intended use
2022-02-27 11:46:30 -08:00
Mike Cumings
b3878a4240 Issue #369 - Use repository pattern for bluetooth state 2022-02-26 22:59:20 -08:00
andrekir
d016271d79 remove comment 2022-02-15 20:49:03 -03:00
andrekir
88b0415180 remove legacy MyNodeInfo.region 2022-02-15 20:47:54 -03:00
andrekir
c46039bb04 Remove hw_model_deprecated 2022-02-15 20:12:04 -03:00
andrekir
c97ebb6637 Remove mynodeinfo.num_bands 2022-02-15 19:58:11 -03:00
andrekir
eb5abb4be9 only consider BLE pairing for addressValid 2022-02-12 19:33:30 -03:00
andrekir
c04c1b4add move disassociate to SettingsFragment 2022-02-12 19:28:49 -03:00
Andre Kirchhoff
9cd1856bb9
Merge pull request #372 from meshtastic/release
1.2.57
2022-02-09 23:15:27 -03:00
Mike Cumings
654a32c01c Introduce Hilt dependency injection
Uses Hilt to get the database initialization off of the
main thread.

The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.

The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00
andrekir
4abd8b8ab7 anonymize address log 2022-02-08 00:22:45 -03:00
andrekir
45895cdcf6 use same CompanionDeviceManager method 2022-02-07 21:46:47 -03:00
andrekir
c362f08ec3 disassociate old CompanionDeviceManager address 2022-02-02 23:28:23 -03:00
Andre Kirchhoff
88a4825b28
Merge pull request #357 from meshtastic/companion-pairing
1.2.55
2022-01-31 23:42:48 -03:00
andrekir
084c16bfe9 clean up and reformat 2022-01-31 21:55:24 -03:00
Jackson Rosenthal
93e81e4639 Added delete all messages into the AlertDialog. 2022-01-31 19:11:32 -05:00
Jackson Rosenthal
e27a76633c Delete messages from view by long clicking. Looking into clearing "all messages" & menu for deleting individual messages 2022-01-29 14:31:08 -05:00
andrekir
a2f5d74bfc fix companion pairing 2022-01-29 10:41:24 -03:00
Andre Kirchhoff
852cd2ddc7
Merge pull request #354 from meshtastic/release
1.2.54
2022-01-26 22:58:46 -03:00
andrekir
10886a9c98 add MyNodeInfo channelUtilization & airUtilTx 2022-01-26 22:26:35 -03:00
andrekir
7a316928be update provideLocation feedback 2022-01-26 16:27:16 -03:00
andrekir
a097cc2f25 send position to local node (without broadcast) 2022-01-26 02:35:37 -03:00
Andre Kirchhoff
12f864bae3
fix restrictions to provide location to mesh 2022-01-14 18:49:08 -03:00
andrekir
2bc12fe9d6 update play-services-location 2022-01-09 23:22:47 -03:00
andrekir
4bd5ea5aa4 enable hasCompanionDeviceApi 2022-01-09 00:26:19 -03:00
andrekir
2441e1bada add provideLocation service start/stop 2022-01-03 21:59:30 -03:00
Jm Casler
b91c54f8b6
Merge pull request #330 from meshtastic/processQueued
fix processing queued packets
2021-12-26 13:39:40 -08:00
andrekir
e093a29191 fix processing queued packets 2021-12-25 19:30:45 -03:00
Andre Kirchhoff
6a5fcbe9db
add lastHeard to installNodeInfo 2021-12-25 18:37:18 -03:00
Kevin Hester
091f8d8acf work with newer emulator images 2021-07-26 10:11:17 -07:00
Kevin Hester
e186abce79 fix autobug 2021-06-11 09:48:20 -07:00
Kevin Hester
5b069f93bc remove concept of "early received packets" we no longer need it 2021-06-11 09:45:04 -07:00
Kevin Hester
9c1316ea09 WIP - work with background location being optional 2021-06-10 10:58:45 -07:00
Kevin Hester
793b75b67b less logspam 2021-05-10 08:46:11 +08:00
Kevin Hester
1eb4bf43d4 fix leakage of (slightly) possibly PII data 2021-05-10 08:37:39 +08:00
Kevin Hester
59e430d30d WIP color fixes 2021-05-09 09:02:53 +08:00
Kevin Hester
c74ee428ed fix position overide problem with fixedPosition nodes thx @havealoha 2021-04-15 12:16:56 +08:00
Kevin Hester
384cb5cdc0 stop autobug spam about misformatted spiffs partitions 2021-04-03 09:05:11 +08:00
Kevin Hester
0f384fc62f fix autobug with channels being only one entry long 2021-04-03 08:27:07 +08:00
Kevin Hester
28fec09a54 fix message not allowed to be queued while sleeping (I think) 2021-04-02 13:56:09 +08:00
Kevin Hester
d9a2a469bc TCP link basically works 2021-03-30 23:19:05 +08:00
Kevin Hester
04f4a2a342 TCPInterface (for accessing the native-simulator) kinda works 2021-03-29 21:09:27 +08:00
Kevin Hester
9e42634402 cleanup mockinterface detection 2021-03-29 20:45:11 +08:00
Kevin Hester
5b653d29f8 reformat per coding conventions 2021-03-29 20:33:06 +08:00
Kevin Hester
2c75d0dee7 WIP add concept of interface factories 2021-03-29 20:29:38 +08:00
Kevin Hester
2ec15bf7b1 remove support for the old address prefs key (deprecated pre 1.0) 2021-03-29 19:56:32 +08:00
Kevin Hester
8b70bf1a14 add WIP TCPInterface 2021-03-29 19:47:24 +08:00
Kevin Hester
1ebc710006 Split StreamInterface from SerialInterface, so it can be a TCPInterface baseclass 2021-03-29 19:10:52 +08:00
Kevin Hester
bfd9b65cc8 oops typos 2021-03-28 11:05:39 +08:00