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
7a3cda314e
Fix recent bug where sometimes phone would not auto-reconnect to devices
2020-06-07 18:05:18 -07:00
geeksville
6a5cb0ddc7
Partial #36 : Don't make our service foreground if user hasn't selected radio
2020-06-07 17:51:51 -07:00
geeksville
f4ae325d02
Partial for #36 : Don't start service at boot if unbonded
2020-06-07 17:27:19 -07:00
geeksville
1ddab2693e
update protobufs
2020-06-07 17:11:38 -07:00
geeksville
30137efc68
WIP - cleaned up BLE vs serial interface approximately works
2020-06-07 17:11:30 -07:00
geeksville
e99e8695fe
Move all BLE code into BLE service
2020-06-05 21:22:56 -07:00
geeksville
3d4be477a2
remove old BLE api
2020-06-05 21:12:15 -07:00
geeksville
d1a3d98de4
change to use @mik3y /usb-serial-for-android (WIP)
2020-06-05 20:22:45 -07:00
geeksville
712e034228
Merge branch 'master' into usb
2020-06-05 12:12:04 -07:00
geeksville
38eabf9d70
fix an autobug: We gracefully handle safe being null because this can occur if someone has unpaired from our device - just abandon the reconnect attempt
2020-06-05 12:11:35 -07:00
geeksville
76f3df94df
WIP
2020-06-05 11:53:50 -07:00
geeksville
cecc369598
split out common code for USB and BLE links
2020-06-04 12:34:34 -07:00
geeksville
54c832f591
now in beta
2020-06-04 11:21:24 -07:00
geeksville
b659769136
0.6.8
0.6.8
2020-06-04 10:02:56 -07:00
geeksville
fd100d4492
fix duplicate scan table entries when pairing state changes
2020-06-04 09:58:29 -07:00
geeksville
db43f47f91
handle 133 statuses when direct connect fails
2020-06-04 09:58:06 -07:00
geeksville
d526d11d20
Fix #32
...
+ // Note: To workaround https://issuetracker.google.com/issues/36995652
+ // Always call BluetoothDevice#connectGatt() with autoConnect=false
+ // (the race condition does not affect that case). If that connection times out
+ // you will get a callback with status=133. Then call BluetoothGatt#connect()
+ // to initiate a background connection.
2020-06-04 09:35:25 -07:00
geeksville
88bfc612a9
0.6.7
2020-06-04 08:53:44 -07:00
geeksville
6a3a763f71
workaround a kotlin(?!) bug
...
// FIXME - possible kotlin bug in 1.3.72 - it seems that if we start with the (globally shared) emptyList,
// then adding items are affecting that shared list rather than a copy. This was causing aliasing of
// recentDataPackets with messages.value in the GUI. So if the current list is empty we are careful to make a new list
2020-06-04 08:53:37 -07:00
geeksville
ef61c9acff
add note about https://github.com/meshtastic/Meshtastic-Android/issues/32
2020-06-04 08:02:36 -07:00
geeksville
9254a90774
add a min appVersion check, so devices can tell user when android app needs
...
update
2020-06-03 16:16:51 -07:00
geeksville
ecae22d28d
https://github.com/meshtastic/Meshtastic-device/issues/152
2020-06-03 15:34:03 -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
b2d8b30d5b
add packetid assignment to the phone side
2020-05-30 17:28:00 -07:00
geeksville
b9b565e409
make proto formatting match what platformio does
2020-05-30 16:24:08 -07:00
geeksville
ed4236d8e3
only use the new api now, old device loads have been out a while
2020-05-30 16:23:42 -07:00
geeksville
6031b5eaa0
clean up message API to/from mesh service, to allow clients to get
...
updates on message status
2020-05-30 15:55:47 -07:00
geeksville
67d95039bf
begin support for message status
2020-05-30 14:38:16 -07:00
geeksville
d25223ba71
update libs
2020-05-30 13:34:48 -07:00
geeksville
38e7e8a783
oops - fix build - default channel name should never be localized
2020-05-29 14:16:16 -07:00
geeksville
df1a3d8c3b
update gradle to 6.4
2020-05-29 14:11:43 -07:00
geeksville
65eb859a61
update credits
2020-05-29 14:02:03 -07:00
geeksville
05776c2593
fix warnings
2020-05-29 14:00:50 -07:00
geeksville
85033d5d83
Thanks to @NEKLAN for Japanese translations!
2020-05-29 14:00:25 -07:00
geeksville
3d8fb84b2b
Fix a bunch of autobugs, plus hopefully for @feh123 and @vaderj
2020-05-24 11:46:23 -07:00
geeksville
afedd47258
1 one minute boot delay is probably sufficient
2020-05-24 11:42:22 -07:00
geeksville
4d6ca25caf
autobug, prevent redundant notifcations from onConnectChanged
2020-05-24 11:38:33 -07:00
geeksville
238ae9a06c
fix autobug, if we don't have a gatt currently, treat as a BLEException
2020-05-24 11:15:13 -07:00
geeksville
38f45a9413
fix autobug that showed on a MIX2 (whatever that is), ignore BLE state changes
...
when we don't have a gatt
2020-05-24 11:07:15 -07:00
geeksville
e6abd9d1a5
autobugs - some phones send bougs onMtuChanged when we are not setting mtu
2020-05-24 11:01:13 -07:00
geeksville
8b3817964e
make sync BLE operations timeout a bit shorter
2020-05-24 10:47:02 -07:00
geeksville
6d463334a5
fix autobug racecondition that could occur with non gps devices
2020-05-24 10:46:50 -07:00
geeksville
74449be999
don't spam with autobugs if we just fail because the device is off
2020-05-24 10:46:27 -07:00
geeksville
a191dac0f4
stay with old api for now, because too much change hurts reliaiblity ;-)
2020-05-24 10:12:12 -07:00
geeksville
ae72081917
possible for #30 : native mapbox crash
2020-05-24 10:11:48 -07:00
geeksville
4efd25d009
Possible fix #26 . It seems some phones don't quite have the services
...
list populated at the time they say service discovery has completed.
Make the nasty 500ms delay a 1000ms delay instead
2020-05-24 09:51:25 -07:00
geeksville
774ab65ece
treat radio not connected exception like a remote exception
2020-05-24 09:45:52 -07:00
geeksville
28023b8f42
Fix 27: add timeouts for BLE operations, to protect against buggy drivers
2020-05-24 09:45:39 -07:00