Commit graph

171 commits

Author SHA1 Message Date
Ludovic Goix
45273f5a7d Make Channel options available 2020-06-14 00:11:08 -04:00
geeksville
6195874982 If user changes back to default channel, use the standard key 2020-06-12 20:38:43 -07:00
geeksville
aa3a8bf089 Add back AES256 key assignment (from TODO list) 2020-06-12 20:26:10 -07:00
geeksville
e0b2cda229 stop background geojson updates - it crashes mapbox native 2020-06-12 15:29:42 -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
b4687b0a2f fix build 2020-06-10 17:19:17 -07:00
geeksville
7c54b897ac oops - my fix for the native mapbox crash was looking at the wrong view 2020-06-10 17:12:57 -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
12c5edb0b7 Attempt to fix native crash in mapbox
I bet they don't like the view going away
2020-06-10 13:00:55 -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
0b66d813ef message status icons approximately work - still a problem on first send though 2020-05-31 11:23:25 -07:00
geeksville
7506d712ff message status updates are coded but not yet tested. 2020-05-30 19:58:36 -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
ae72081917 possible for #30: native mapbox crash 2020-05-24 10:11:48 -07:00
geeksville
6e261fa35e don't let the user send empty messages 2020-05-15 11:55:32 -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
5abb56ec3f a better fix for the problem of sending messages while device is asleep
Better just to Observe myId and wait for it to be !null
2020-04-21 20:48:44 -07:00
geeksville
2dd37e791d don't let users try to send texts if we haven't received our node ID
I wanted an and not an or ;-)

Based on the autobug and the great report inhttps://github.com/meshtastic/Meshtastic-esp32/issues/102

I think this should fix the crash described in the messages screen.
2020-04-21 20:29:34 -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
geeksville
848fcbe53b Fix #16: Show currently selected radio even if it is sleeping 2020-04-20 08:12:51 -07:00
geeksville
62a64dd782 new cleaner approach of not whacking services seems to aprox work 2020-04-20 07:46:06 -07:00
geeksville
cde3f2dec2 WIP - doesn't yet build, but changing to set the device addresses the correct way 2020-04-19 20:06:11 -07:00
geeksville
fdd3b48364 don't let users try to send texts if we don't have a node id 2020-04-19 12:31:27 -07:00