Commit graph

701 commits

Author SHA1 Message Date
geeksville
8ea949a437 fix autobug with old samsung phones 2020-07-02 09:53:52 -07:00
geeksville
103b21aafd Add stress tester that simulates super high chance of BLE failures
and fix bug that it revealed (missing handling of error during discovery)
2020-07-02 09:38:08 -07:00
geeksville
e5d6ffc4bd fix #77, see below:
root cause in log:
the problem is that we are running dropAndReconnect (because of an error diduing writec) at the same time as handleSendToRadio called scheduleReconnect because of the exception

fix is: now that BluetoothInterface is smart enough to do its own reconnections, do not auto reconnect in SafeBluetooth.  Instead just throw a BLEException and assume the client will reconnect if it wants.
2020-07-02 08:46:25 -07:00
geeksville
6182879d98 0.7.86 test build for https://github.com/meshtastic/Meshtastic-Android/issues/76 2020-07-02 08:11:09 -07:00
geeksville
4333f775f9 0.7.85 2020-07-01 18:10:44 -07:00
geeksville
37a909e65d include firmware bins only in release builds 2020-07-01 18:10:30 -07:00
geeksville
c0e58391a3 Fix problem of old messages not being remembered 2020-07-01 18:00:28 -07:00
geeksville
800060a991 Fix #77: when shutting down interfaces, cancel any retry attempts 2020-07-01 16:31:23 -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
2520a5e69d fix new autobugs 2020-07-01 15:43:01 -07:00
geeksville
b7d0b7fca4 0.7.84 2020-07-01 15:42:46 -07:00
geeksville
4172b221f0 autobug: failure to start should be treated like any other BLE exception 2020-06-30 12:35:58 -07:00
geeksville
fed418dae2 better debug output for the next time an autobug occurs 2020-06-30 12:18:49 -07:00
geeksville
0349e823f8 don't spam crashlytics with non-bug reports 2020-06-30 12:02:12 -07:00
geeksville
4571eeea2a get logs from oneplus devices 2020-06-30 12:01:48 -07:00
geeksville
e6fd79f477 fix another autobug - clear gatt first, because close() can fail 2020-06-30 11:39:04 -07:00
geeksville
17faecc170 fix autobug 2020-06-30 11:13:18 -07:00
geeksville
010d63d2db Revert "Create codeql-analysis.yml"
This reverts commit 5da86129fa.
2020-06-30 10:56:27 -07:00
geeksville
fdf8c195bf Merge remote-tracking branch 'mine/master' into dev 2020-06-30 10:55:17 -07:00
Kevin Hester
5da86129fa
Create codeql-analysis.yml 2020-06-30 09:32:35 -07:00
geeksville
cfd6823120 0.7.82 2020-06-28 18:07:01 -07:00
geeksville
fb422006b6 lib fixes 2020-06-28 18:05:29 -07:00
geeksville
549b1e8d7c fix #68 - workaround a disconnect bug in old androids
https://github.com/don/cordova-plugin-ble-central/issues/473#issuecomment-396790239
2020-06-28 18:04:52 -07:00
geeksville
c896a2f8c8 lib deps 2020-06-28 16:10:48 -07:00
geeksville
773e81d25f print scan errors to log 2020-06-28 16:09:56 -07:00
geeksville
68cc494021 autobug - don't fail if the gatt goes away while we are connecting 2020-06-28 16:09:37 -07:00
geeksville
3246bd6505 Add screenshots showing required location settings #68 2020-06-28 14:55:41 -07:00
geeksville
40055f603d Don't include firmware in development builds (speeds install time) 2020-06-28 14:55:02 -07:00
geeksville
c7c89aeb71 Merge remote-tracking branch 'root/master' into dev 2020-06-28 14:23:32 -07:00
Kevin Hester
f7249a221e
Merge pull request #69 from tuxphone german fixes
Update strings.xml
2020-06-28 11:52:20 -07:00
tuxphone
dee4e31c97
Update strings.xml
username_unset - look to "unset", normally not translated to "ungesetzt" instead use "nicht gesetzt"
Translated "cancel" to "Abbrechen".  Expected standard for most users. If you want to use "Rückgängig" please fix the typo ("Rückgänig")
looking_for_meshtastic_devices - corrected wrong case
new_channel_rcvd - corrected wrong case
2020-06-28 20:47:41 +02:00
geeksville
90961ba217 Minor Japanese fixes from @Neklan. 2020-06-27 15:30:35 -07:00
geeksville
d18319f16f @jinks17 contributed Slovenian 2020-06-27 15:30:07 -07:00
Kevin Hester
3017308aad
Merge pull request #66 from geeksville/dev
Dev
2020-06-25 17:59:21 -07:00
geeksville
d75f7d3721 0.7.81 2020-06-25 17:58:48 -07:00
geeksville
6cbce279c5 Merge remote-tracking branch 'root/master' into dev 2020-06-25 17:56:54 -07:00
geeksville
1fd80c06d8 Fix #67, see that issue for writeup. gatt needs to be @Volatile 2020-06-25 17:56:31 -07:00
geeksville
2780a08931 The android Gatt caching bug on old phones (based on my reading of
the android C code) needs a small delay after calling refresh() because
otherwise the (stale) BLE handles are not discarded until _after_
we start using the connected service.
2020-06-25 15:53:17 -07:00
Kevin Hester
55dab4b1db
Merge pull request #62 from geeksville/dev
Dev
2020-06-24 16:18:11 -07:00
geeksville
8e0ceb6661 Merge remote-tracking branch 'root/master' into dev 2020-06-24 14:59:43 -07:00
Kevin Hester
d326f3604d
Merge pull request #63 from slavino/patch-1
Update strings.xml
2020-06-24 14:59:29 -07:00
geeksville
ca6de33943 Allow user to enter only a very restricted list of channel name chars
(for now - possibly loosen in the future - someone reported the device
code didn't like odd characters, and we definitely don't want anything
>127).  Also, shrink length to 11 chars (which is 12 including the nul
terminator on the device side (current limit in mesh.options).
2020-06-24 14:58:56 -07:00
Slavomir Hustaty
a9fa63f4df
Update strings.xml
Synced via Android Studio Translations Editor with current default/English values.
2020-06-23 15:24:28 +02:00
geeksville
d78932d6da Proper version checking and enable BLE software update for new devices 2020-06-22 17:14:29 -07:00
geeksville
6001d22837 @zone added Turkish translations! 2020-06-22 16:30:40 -07:00
geeksville
97961f274f Japanese tweak from @neklan 2020-06-21 13:08:35 -07:00
Kevin Hester
c1678d9b87
Merge pull request #61 from geeksville/dev
Dev
2020-06-20 15:06:17 -07:00
geeksville
c212604010 0.7.80 2020-06-20 14:51:52 -07:00
geeksville
1e1433ec13 oops -forgot to pull in latest shared lib 2020-06-20 14:51:40 -07:00
geeksville
b3f0ef6b09 now that BLE and UART are equal peers, much cleaner to look for
BLE disable/enable in the general RadioInterfaceService
2020-06-20 14:50:15 -07:00