Commit graph

281 commits

Author SHA1 Message Date
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
43999e3d72 in support of #212 log messages before analytics enabled 2021-01-05 12:01:42 +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
f754a19c95 bug #206 - also add reportException to make non fatal and report bug
via analytics (in case my theory is wrong)
2020-12-12 11:09:17 +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
6e2cb723ea 1.1.9 spiffs firmware update seems to work 2020-11-20 07:51:25 +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
b854c57aa4 fix build warnings 2020-11-16 15:55:07 +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
b90792f4a1 fix lint warning 2020-10-21 20:33:49 +08:00
Kevin Hester
2b3a987f31 turn off firmware update test code 2020-10-21 17:53:37 +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
Kevin Hester
36e96e1811
Merge branch 'master' into message-db 2020-09-27 13:05:33 -07:00
Ludovic Goix
6ec16073c1 Added a debug panel
final
2020-09-26 21:56:52 -04:00
Paul Mandal
1357be5499 Change SafeBluetooth's handler to run on the main thread 2020-09-25 19:44:04 -06:00
Kevin Hester
c1a62097f4
Merge branch 'master' into bluetooth-state-receiver-readability 2020-09-19 07:42:50 -07:00
geeksville
8e4e2f83ec errrmsg 2020-09-17 12:00:45 -07:00
geeksville
bedfe5e3c0 Merge remote-tracking branch 'root/master' into dev 2020-09-17 11:53:10 -07:00
Ken Van Hoeylandt
8219ef42ed improved readability on BluetoothStateReceiver
and renamed `intent` to `intentFilter` to properly reflect type
2020-09-17 20:47:54 +02:00
Ken Van Hoeylandt
f97bc21719 simplified calls to system services
and fixed some code that assumed BluetoothManager to never be NULL
2020-09-17 19:49:50 +02: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
Ludovic Goix
c87d0adc61 Connect to a device without updating any change #119 2020-09-02 20:16:41 -04:00
geeksville
ba8961ef6c oops remove some testing code 2020-08-30 12:09:51 -07:00
geeksville
a5678392f5 fix autobug - if gatt is closed while we are shutting down it is not an error 2020-08-30 12:01:38 -07:00
geeksville
bd29a93a71 fix autobug during software update, treat sync timeouts just like async timeouts 2020-08-30 11:52:46 -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
ad6eb621f6 fix autobug: when USB devices are unpluged wait for them to cleanly shutdown 2020-08-15 12:06:21 -07:00
geeksville
05056fe0fc don't spam autobugs if someone has malformated version strings in their firmware 2020-08-15 11:25:36 -07:00
geeksville
92621e07aa don't spam autobugs if we get an exception reading fromnum when the device is leaving 2020-08-15 11:19:23 -07:00
geeksville
72128d1e39 Merge remote-tracking branch 'root/master' into dev 2020-08-11 19:33:22 -07:00
Kevin Hester
888139d589
Merge pull request #112 from lgoix/timefix
Fix time issue and Toast not showing when notification are disabled
2020-07-31 09:09:09 -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
geeksville
ae117fcd9e add debug output 2020-07-24 13:00:27 -07:00
Ludovic Goix
c56f14a259 Fix last time issue with nodes 2020-07-23 23:12:01 -04:00
geeksville
750855c8d4 begin gradle support for auto play upload 2020-07-20 12:07:55 -07:00
geeksville
6b0e19ea9a remove comment 2020-07-18 14:24:06 -07:00
geeksville
7b46046af6 cancel all jobs when we shutdown interface (an autobug) 2020-07-18 14:23:58 -07:00