Commit graph

568 commits

Author SHA1 Message Date
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
88b1ad5443 remove support for 0.8 version URLs (found while investigating #188) 2020-11-17 19:54:48 +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
f8e6f105e2 fix #197 - let multiple device updates work 2020-10-21 17:52:51 +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
geeksville
25ccba9ab7 fix an autobug
https://console.firebase.google.com/project/meshutil/crashlytics/app/android:com.geeksville.mesh/issues/5777c66e7f3bb28bd2257c5685d9ec68?time=last-seven-days&sessionEventKey=5F7255AB03A80001161E65680B592F8D_1456099387864713143
2020-09-29 16:13:12 -07:00
geeksville
7c93d9b540 Fix unit test for the empty name case 2020-09-27 14:05:10 -07:00
Kevin Hester
36e96e1811
Merge branch 'master' into message-db 2020-09-27 13:05:33 -07:00
Kevin Hester
33f2a126ea
Merge branch 'master' into chat-date-169 2020-09-27 13:05:13 -07:00
Kevin Hester
06801d79b7
Merge branch 'master' into task/run-safebluetooth-handler-on-main-thread 2020-09-27 13:04:22 -07:00
Gunter Tim
bd18a3aadd Always keep first character of long name when making short name from one word long names 2020-09-26 22:21:39 -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
Ludovic Goix
c15e498b08 Add date to message #169 2020-09-23 23:13:35 -04:00
geeksville
83ea33d44b fix a rare (probably harmless) autobug: "meshService was supposed to be null" 2020-09-22 12:52:15 -07:00
Kevin Hester
c1a62097f4
Merge branch 'master' into bluetooth-state-receiver-readability 2020-09-19 07:42:50 -07:00
geeksville
c1cbf1e916 add trim to #162 so " " behavior stays same. 2020-09-17 12:03:27 -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
Kevin Hester
5fff284615
Merge pull request #162 from timgunter/better_shortnames
Make 3 character short names from long name when long name is only one word
2020-09-17 11:52:48 -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
8de116bb01 safeguard for UsbService nullability
because of the Java interface implying it
2020-09-17 19:55:36 +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
Gunter Tim
f413bea618 Make 3 character short names from long name when long name is only one word 2020-09-17 00:37:51 -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
6a1d778552 0.9.90 fix ble scanning on samsung? 2020-09-13 13:22:40 -07:00
geeksville
404efa926c 0.9.81 fix a ANR that could occur (I think) 2020-09-11 16:19:23 -07:00
geeksville
e07847af87 fix #141 don't let extra # into channel name. thx @moxy-bc and @dzaczek 2020-09-08 12:29:28 -07:00
geeksville
2fbd0a7a5e show url prefix for debugging 2020-09-08 12:05:19 -07:00
geeksville
9cea9ce457 fix #123 stop service when disconnected 2020-09-08 12:05:03 -07:00
Ludovic Goix
0768ba086b Show network range setting when locked #138 2020-09-04 07:59:07 -04: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
d2273b8d5b fix an autobug. Someone with a galaxy tab is trying to open the old
version of the URL.

Caused by java.net.MalformedURLException: Not a meshtastic URL
       at com.geeksville.mesh.model.Channel$Companion.urlToSettings(Channel.java:43)
       at com.geeksville.mesh.model.Channel$Companion.access$urlToSettings(Channel.java:19)
       at com.geeksville.mesh.model.Channel.<init>(Channel.java:50)
       at com.geeksville.mesh.MainActivity.perhapsChangeChannel(MainActivity.java:631)
       at com.geeksville.mesh.MainActivity.handleIntent(MainActivity.java:467)
       at com.geeksville.mesh.MainActivity.onNewIntent(MainActivity.java:447)
       at android.app.Activity.performNewIntent(Activity.java:7971)
       at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1407)
       at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1420)
       at android.app.ActivityThread.deliverNewIntents(ActivityThread.java:3838)
       at android.app.ActivityThread.handleNewIntent(ActivityThread.java:3850)
       at android.app.servertransaction.NewIntentItem.execute(NewIntentItem.java:53)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2261)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:237)
       at android.app.ActivityThread.main(ActivityThread.java:8107)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
2020-08-29 19:07:29 -07:00
geeksville
9a73da562c Update to kotlin 1.4 2020-08-18 11:25:16 -07:00