Commit graph

66 commits

Author SHA1 Message Date
Kevin Hester
b854c57aa4 fix build warnings 2020-11-16 15:55:07 +08:00
Kevin Hester
f8e6f105e2 fix #197 - let multiple device updates work 2020-10-21 17:52:51 +08: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
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
6a1d778552 0.9.90 fix ble scanning on samsung? 2020-09-13 13:22:40 -07:00
Ludovic Goix
c87d0adc61 Connect to a device without updating any change #119 2020-09-02 20:16:41 -04:00
geeksville
f3be13f0fb don't leak macaddrs into logs 2020-07-29 16:16:29 -07:00
geeksville
384bb3759e fix autobug - location callback might come after activty is dead
https://console.firebase.google.com/u/0/project/meshutil/crashlytics/app/android:com.geeksville.mesh/issues/714e0b9e232289ddc9162fd3aebc1510?time=last-seven-days&sessionId=5F1C562E03E2000142C73D26354B80BF_DNE_0_v2
2020-07-25 20:40:00 -07:00
geeksville
87c272f784 Don't rely on android filtering for BLE scan, because NRF52 2020-07-15 17:19:36 -07:00
geeksville
4c51e9c8e9 Make google-play optional 2020-07-15 15:58:53 -07:00
geeksville
677b221503 show a toast if Play tells us any location problems exist (autobug) 2020-07-07 10:01:43 -07:00
geeksville
7faf4d2d79 fix software update button 2020-07-02 10:37:35 -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
773e81d25f print scan errors to log 2020-06-28 16:09:56 -07:00
geeksville
89258646b0 Fix autobug if service goes away while we are changing devices 2020-06-17 13:59:32 -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
03af1f1de7 Fix #55 - warn user if they have location disabled 2020-06-16 10:30:18 -07:00
geeksville
764366a82b #172 don't set radio button if the radio is not paired 2020-06-12 13:00:26 -07:00
geeksville
cba3e85d03 Fix #38: USB host mode now fully supported
thanks @sexycyborg for the idea!
2020-06-11 11:30:29 -07:00
geeksville
a69560d056 #38: Don't warn about bluetooth so much - just on the settings page 2020-06-10 13:01:32 -07:00
geeksville
c57704013f #38: USB device pairing now works across reboots 2020-06-10 12:16:54 -07:00
geeksville
c0bea24942 show placeholder entries for disconnected USB devices #38 2020-06-09 10:09:25 -07:00
geeksville
1cd0e1692d clear the device list anytime we restart the BLE scan 2020-06-09 09:11:10 -07:00
geeksville
aa5cd9baf8 fix upaired warning update when user changes radio buttons 2020-06-09 08:09:01 -07:00
geeksville
e3a082c168 Soyes XS phone doesn't properly filter BLE addresses, so add an extra
check for devices that aren't for us
2020-06-09 07:45:53 -07:00
geeksville
0c8e2ca1ac USB device port support WIP
https://github.com/meshtastic/Meshtastic-Android/issues/38
2020-06-08 18:24:36 -07:00
geeksville
c99f5cf342 Merge branch 'master' into usb
# Conflicts:
#	app/src/main/java/com/geeksville/mesh/ui/SettingsFragment.kt
2020-06-08 14:32:26 -07:00
geeksville
e05a445a34 fix autobug: if app is shutting down, the activtity might be killed
while the BLE scan is still happening
2020-06-08 14:30:07 -07:00
geeksville
c0ada64653 0.7.2 hotfixes for autobugs 2020-06-08 14:19:49 -07:00
geeksville
420b718b11 USB WIP 2020-06-08 14:04:56 -07:00
geeksville
6a71e6c414 0.7.0 my robotester script found a bug in my previous change!
properly map bluetooth addresses to the new transport independent address
2020-06-07 20:39:51 -07:00
geeksville
ce14fde33b Fix #36 - allow users to select 'none' for the preferred radio
If none is selected, we do not leave our service running.  And we do
not start it on boot.
2020-06-07 18:55:08 -07:00
geeksville
30137efc68 WIP - cleaned up BLE vs serial interface approximately works 2020-06-07 17:11:30 -07:00
geeksville
cecc369598 split out common code for USB and BLE links 2020-06-04 12:34:34 -07:00
geeksville
fd100d4492 fix duplicate scan table entries when pairing state changes 2020-06-04 09:58:29 -07:00
geeksville
67d95039bf begin support for message status 2020-05-30 14:38:16 -07:00
geeksville
05776c2593 fix warnings 2020-05-29 14:00:50 -07:00
geeksville
c06f5f1c39 set aside ble sw update for now 2020-05-15 10:18:15 -07:00
geeksville
3c338aec61 firmware update progress bar kinda works 2020-05-14 11:47:24 -07:00
geeksville
5044c5393f firmware update wip 2020-05-13 17:34:15 -07:00
geeksville
c1388d6bad firmware update button is kinda in 2020-05-13 17:00:23 -07:00
geeksville
913a0b56fd don't show progress animation once we have a node listed, re #25 2020-05-03 17:58:11 -07:00
geeksville
f4e96b936f fix an autobug that occurred on a Droid Turbo (whatever that is) 2020-04-29 11:04:15 -07:00
geeksville
4c39d9e3f9 don't let users edit their name when not connected to radio 2020-04-23 11:24:10 -07:00
geeksville
5e57fd69e1 also show failure to bond in the GUI 2020-04-23 09:03:44 -07:00
geeksville
ca2cae7003 Don't claim we have bluetooth access until the user grants location
permissions.  This fixes an ugly behavior when for when the user does
a from scratch install and first runs the app (and the dialog comes up
to grant access).

Previously we were starting our BLE scan for devices before that dialog
has been approved by the user, which Android doesn't return an error for
it instead just silently refuses to show devices.  If the user switched
away from the app and came back, we'd restart our scan and they could see
their device.

This fixes things so that the user doesn't have to switch away from our
app once before the devices appear.
2020-04-23 08:52:25 -07:00
geeksville
7d76f99731 wait for bonding complete before telling service to connect 2020-04-23 08:22:54 -07:00
geeksville
671bafa05f don't leak macaddrs into logs - could be possibly personally identifying 2020-04-21 08:21:42 -07:00
geeksville
99b66b3396 0.4.9 make app not crash when people try to run this on an emulator ;-) 2020-04-20 21:06:58 -07:00
geeksville
34aa4cde05 if bluetooth was disabled when we started, reattempt device connect later 2020-04-20 09:56:38 -07:00