Commit graph

143 commits

Author SHA1 Message Date
Kevin Hester
a0160cadf9 WIP to improve simulator 2021-02-01 10:31:39 +08:00
Kevin Hester
1d41a48274 Conditionalize message receive broadcast, so apps can subscribe to JUST their messages 2021-01-11 17:18:04 +08:00
Kevin Hester
a20fffcc2c don't send BLE commands to meshservice while updating 2021-01-08 15:19:39 +08:00
Kevin Hester
518e2438e8 fix autobug: don't fail updates (for now) if the spiffs has problems 2021-01-06 11:10:01 +08:00
Kevin Hester
89fd3e16d8 1.1.33 fix #211 properly set GUI state when during a firmware update and the view gets rebuilt 2021-01-05 15:52:18 +08:00
Kevin Hester
1eb63e4f1c fix autobug warning
com.geeksville.mesh.service.MeshService.getConnectedRadio (MeshService.java:223)
com.geeksville.mesh.service.MeshService.sendToRadio (MeshService.java:230)
com.geeksville.mesh.service.MeshService.sendToRadio (MeshService.java:237)
com.geeksville.mesh.service.MeshService.sendPosition (MeshService.java:1255)
com.geeksville.mesh.service.MeshService.access$getNodeDBbyID$p (MeshService.java:47)
com.geeksville.mesh.service.MeshService$sendPositionScoped$1.invokeSuspend (MeshService.java:1265)
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (BaseContinuationImpl.java:33)
kotlinx.coroutines.DispatchedTask.run (DispatchedTask.java:56)
kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely (CoroutineScheduler.java:571)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask (CoroutineScheduler.java:738)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker (CoroutineScheduler.java:678)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run (CoroutineScheduler.java:665)
2021-01-05 14:01:45 +08:00
Kevin Hester
3d18e5d597 update libs and protos 2021-01-03 10:22:41 +08:00
Kevin Hester
1cfe180402 debug message fix 2020-12-16 12:24:37 +08:00
Kevin Hester
c4439eb34c WIP use new position api 2020-12-10 09:23:02 +08:00
Kevin Hester
2e30dbcdd0 switching away from kotlin-android-extensions 2020-12-07 20:44:17 +08:00
Kevin Hester
cc2b99fdfc WIP for new protobufs 2020-12-07 19:50:06 +08:00
Kevin Hester
5007019a2e fix #204 - throw error if sent message is too long 2020-11-21 08:41:26 +08:00
Kevin Hester
31e0136b2a support spiffs updates over OTA (not yet tested)
for https://github.com/meshtastic/Meshtastic-device/issues/496
2020-11-16 15:57:40 +08:00
Kevin Hester
46f283c630 1.1.7 2020-10-29 19:50:57 +08:00
Kevin Hester
52a2f40b1b Preserve region info across software updates 2020-10-29 13:14:10 +08:00
Kevin Hester
1bebdf8689 move to new esp32 firmware build tree (regionless/universal ROMs) 2020-10-21 17:52:02 +08:00
Kevin Hester
ab06798430
Merge branch 'master' into refactor_mesh_service 2020-10-08 17:19:29 -07:00
Ludovic Goix
336d283c82 fix packet display in debug panel
make the test work with any non US default Locale


remove java-lite usage


fix a test
2020-10-01 17:00:33 -04:00
Ken Van Hoeylandt
3610f0b53e refactored MeshService
- moved MeshService start-related code to `MeshServiceStarter`
- moved `LocationCallback` to `MeshServiceLocationCallback`
  - coroutine scope is now handled in `MeshService` positio ncallback.
  - refactored `onLocationResult()` to be easier to read
- created `MeshServiceNotifications` for creating and updating of notifications
- moved `SavedSettings` to `MeshServiceSettingsData`
2020-10-01 22:20:19 +02:00
Ludovic Goix
6ec16073c1 Added a debug panel
final
2020-09-26 21:56:52 -04:00
geeksville
8e4e2f83ec errrmsg 2020-09-17 12:00:45 -07:00
geeksville
ae687f5cfe don't send autobug if the user has (foolishly) disabled location access 2020-09-15 10:04:35 -07:00
geeksville
9cea9ce457 fix #123 stop service when disconnected 2020-09-08 12:05:03 -07:00
geeksville
8f3745c71b don't send autobugs if the user is a dummy that refuses location access 2020-08-29 19:22:12 -07:00
geeksville
9a73da562c Update to kotlin 1.4 2020-08-18 11:25:16 -07:00
geeksville
72128d1e39 Merge remote-tracking branch 'root/master' into dev 2020-08-11 19:33:22 -07:00
geeksville
6306d19f6d low memory samsung phones that have lots of boot receiver can run real slow
Thus exposing the google startup bug: https://issuetracker.google.com/issues/76112072#comment56

https://console.firebase.google.com/u/0/project/meshutil/crashlytics/app/android:com.geeksville.mesh/issues/78d68909d65bf62fa9d4d3b5b42cddc6?time=last-seven-days&sessionId=5F203DB903DC000146028E3DAF71631D_DNE_0_v2
2020-07-29 15:48:21 -07:00
Ludovic Goix
c56f14a259 Fix last time issue with nodes 2020-07-23 23:12:01 -04:00
geeksville
4c51e9c8e9 Make google-play optional 2020-07-15 15:58:53 -07:00
geeksville
979c7f407f fix a couple of places where we were leaking macaddrs into logs (kinda PII) 2020-07-07 10:44:06 -07:00
geeksville
bae1a124d2 Don't bounce the interface if the UI changes to a device we are already using 2020-07-04 16:54:48 -07:00
geeksville
0006858469 Fix autobug, don't show update button if we can't find the filename 2020-07-02 10:21:14 -07:00
geeksville
c0e58391a3 Fix problem of old messages not being remembered 2020-07-01 18:00:28 -07:00
geeksville
41bd082296 don't spam crashreport server if the device sent a corrupted protobuf 2020-07-01 15:50:07 -07:00
geeksville
17faecc170 fix autobug 2020-06-30 11:13:18 -07:00
geeksville
40055f603d Don't include firmware in development builds (speeds install time) 2020-06-28 14:55:02 -07:00
geeksville
2819ec5629 0.7.78 We do this painful process because LocationManager.isEnabled is only SDK28 or latet 2020-06-16 15:53:18 -07:00
geeksville
3cf7d97dcf Fix #54. Thanks @slavino for the report! 2020-06-16 10:09:22 -07:00
geeksville
abe0665d03 less debug output 2020-06-13 17:02:32 -07:00
geeksville
7ee4aff64c don't generate redundant set User packets 2020-06-13 16:02:57 -07:00
geeksville
8e8ac93904 better error reporting for protobuf errors 2020-06-12 17:02:21 -07:00
geeksville
98d5f3a7be remove deprecated lat/long float encodings 2020-06-11 21:25:45 -07:00
geeksville
6baae70125 prevent concurrent modification exception when deleting old msgs 2020-06-11 16:22:44 -07:00
geeksville
73c2c8def1 Fix #39: If unlucky device could be beginning sleep when we try to send 2020-06-11 14:03:10 -07:00
geeksville
e4223d6476 prevent race condition if meshservice starts running before radiointerface 2020-06-11 11:20:51 -07:00
geeksville
cff90c5bd7 never let getMyNodeInfo ever return null. fixes an autobug for device removal 2020-06-09 18:56:34 -07:00
geeksville
e3ad6b153a don't log stuff that might contain PII 2020-06-09 10:21:54 -07:00
geeksville
005ab16283 except for dynamic device probing USB serial works pretty good now #38 2020-06-09 09:53:32 -07:00
geeksville
c0ada64653 0.7.2 hotfixes for autobugs 2020-06-08 14:19:49 -07:00
geeksville
f16d0d8cf5 work with old devices that still use 8 bit addresses 2020-06-07 22:15:47 -07:00