geeksville
b194659e8a
Fix autobug: some BLE implementations might not be completed
...
with service enumeration by the time they call the discover services
callback. Therefore be careful to not touch "service" until after
the 500ms delay everyone on stackoverflow says these buggy drivers need.
2020-04-22 07:25:07 -07:00
geeksville
671bafa05f
don't leak macaddrs into logs - could be possibly personally identifying
2020-04-21 08:21:42 -07:00
geeksville
c00ca9b3db
move notify later, to see if the autobug is _all_ BLE transactions or just notfiies
2020-04-21 07:57:07 -07:00
geeksville
2a52b707ee
fix autobug: some phones call gatt connected but with an error status code
2020-04-20 10:37:46 -07:00
geeksville
34aa4cde05
if bluetooth was disabled when we started, reattempt device connect later
2020-04-20 09:56:38 -07:00
geeksville
8c2d046255
properly show 'disconnected' while changing between radios
2020-04-20 08:27:08 -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
1e47895904
fix a couple of old/rare autobugs
2020-04-19 18:12:11 -07:00
geeksville
5036cb906b
#14 : not ready - but I need to do other stuff - so disabling for now
2020-04-18 18:45:50 -07:00
geeksville
b4bf682df0
#14 : WIP we now show the new GUI properly
2020-04-18 16:30:30 -07:00
geeksville
54d632eb84
some android stacks are buggy and need 500ms before returning BLE descriptors
2020-04-13 16:28:32 -07:00
geeksville
d1afb6fac6
don't leak personal data into logs
2020-04-12 10:56:45 -07:00
geeksville
2ba398cc51
fix this autobug:
...
https://console.firebase.google.com/u/0/project/meshutil/crashlytics/app/android:com.geeksville.mesh/issues/9ca00f8a87bb62f10c78009f450b13b8
2020-04-10 17:49:43 -07:00
geeksville
69e6b285c6
we now allow changing BLE connection to different meshtastic devices on the fly
2020-04-09 13:28:44 -07:00
geeksville
606dc0fd07
turn off gestures - they are confusing with the map view
2020-04-07 12:32:42 -07:00
geeksville
f2d43332f7
Making app aware of device sleep states, Fix #4
2020-04-04 17:00:38 -07:00
geeksville
1e34e77fe9
only force refresh of the BLE service table the first time we talk
2020-04-04 14:37:13 -07:00
geeksville
ab31542fd8
bootstrap the mesh service if someone sets our radio macaddr late
2020-03-30 17:36:09 -07:00
geeksville
81a1283148
Android can cache BLE service descriptors. But our device descriptors
...
can change still (because 'progress'). So force android to reread those
descriptors while we are in alpha.
2020-03-30 16:44:48 -07:00
geeksville
444485658f
track # of users with radios
2020-03-12 11:54:22 -07:00
geeksville
a506904ed9
set isConnected earlier, so quick calls from clients still work
2020-03-04 13:59:22 -08:00
Kevin Hester
9a2c22d0f6
we now generate real qr codes from the current channel
2020-03-02 07:46:03 -08:00
Kevin Hester
8c185a7718
add received packets binary file logging (to improve simulation)
2020-03-02 06:31:15 -08:00
Kevin Hester
b13e52d2eb
two items from todo list:
...
* startforegroundservice only if we have a valid radio
* when we select a new radio, restart the service
2020-03-02 06:25:17 -08:00
Kevin Hester
6a90881dd6
fix crashlytics auto report. oops error() is now a kotlin stdlib call
...
and therefore I was accidentally calling it instead of my Logging.error()
method. And that made some error logs incorrectly fatal.
2020-02-29 13:21:05 -08:00
geeksville
2c8c7ac8d6
if phone ble stack is hosed restart it
2020-02-25 09:28:47 -08:00
geeksville
dac3610f7d
cleaner way to find ble services
2020-02-25 08:23:26 -08:00
geeksville
674b417c87
BLE software update works again
2020-02-24 18:10:25 -08:00
geeksville
7ed5a3efac
make SafeBluetooth Closable
2020-02-24 15:34:17 -08:00
geeksville
9756c5c5e3
make sending packets to the BT radio async, for better throughput
2020-02-16 13:33:29 -08:00
geeksville
0befe48923
Merge branch 'master' of https://github.com/geeksville/Meshtastic-Android
...
# Conflicts:
# app/src/main/java/com/geeksville/mesh/service/RadioInterfaceService.kt
2020-02-13 20:11:00 -08:00
geeksville
4f75601786
bt scan kinda works
2020-02-13 20:08:10 -08:00
geeksville
53e25967db
bt scan kinda works
2020-02-13 19:54:05 -08:00
geeksville
bd65bfee0a
begin making new bt scan gui
2020-02-13 09:25:39 -08:00
geeksville
4e6d1be954
start mesh service on boot, store device macaddr in prefs
2020-02-12 15:57:35 -08:00
geeksville
10ad07e136
we now fetch any new rxmessages when they arrive at the radio
2020-02-10 15:31:56 -08:00