Commit graph

83 commits

Author SHA1 Message Date
geeksville
b2d8b30d5b add packetid assignment to the phone side 2020-05-30 17:28:00 -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
05776c2593 fix warnings 2020-05-29 14:00:50 -07:00
geeksville
afedd47258 1 one minute boot delay is probably sufficient 2020-05-24 11:42:22 -07:00
geeksville
6d463334a5 fix autobug racecondition that could occur with non gps devices 2020-05-24 10:46:50 -07:00
geeksville
774ab65ece treat radio not connected exception like a remote exception 2020-05-24 09:45:52 -07:00
geeksville
501ca3df9d mark that we want our text transmissions to be reliable 2020-05-21 17:25:04 -07:00
geeksville
3c338aec61 firmware update progress bar kinda works 2020-05-14 11:47:24 -07:00
geeksville
c1388d6bad firmware update button is kinda in 2020-05-13 17:00:23 -07:00
geeksville
6576f5eab5 backend updated to reneable firmware update 2020-05-13 14:47:55 -07:00
geeksville
b4da48beb5 after boot wait even longer - 2 min, we are in no rush anyways
the phone should be quite less busy by then
2020-05-11 15:27:53 -07:00
geeksville
407a38594f workaround for slow booting Samsung phones 2020-05-11 13:12:44 -07:00
geeksville
33265c7c2e fix autobug - if someone runs really old device code with buggy bluetooth
just wait for them to fix their device...

https://console.firebase.google.com/u/0/project/meshutil/crashlytics/app/android:com.geeksville.mesh/issues/1948d9ea376e223f34d7065d1aba39df?time=last-seven-days&sessionId=5EB4DF6800B900016F5DA5AAC26367BE_DNE_1_v2
2020-05-11 11:44:24 -07:00
geeksville
de4cb68930 update to latest protobufs 2020-05-09 21:20:17 -07:00
geeksville
12f7e9a8ce support int based lat/long
for https://github.com/meshtastic/Meshtastic-device/issues/124
2020-05-04 08:05:59 -07:00
geeksville
ee34a7a370 fix missing strings reported by @Mango-sauce 2020-05-01 13:43:57 -07:00
geeksville
d669a06ed7 update protobufs 2020-04-28 18:02:01 -07:00
geeksville
ba91920154 fix autobug: if user has location disabled, warn that we can't provide it to mesh 2020-04-25 07:33:51 -07:00
geeksville
51efde08c0 0.5.6 if we lose connection during initial radio download, fail gracefully 2020-04-24 15:59:01 -07:00
geeksville
3e89510f52 Some phones have buggy race conditions wrt finding services or characteristics
This workaround is: If we fail in that way during initial device connection
we disconnect() and try again 500 ms later.
2020-04-24 15:22:54 -07:00
geeksville
a3db3eca06 We now detect and use the newapi if the device doesn't offer the old one 2020-04-23 12:08:34 -07:00
geeksville
17edf75b95 setting now works using the new ble api 2020-04-23 11:24:57 -07:00
geeksville
a5eaa057a1 new ble api approximately works for reading 2020-04-23 11:24:57 -07:00
geeksville
2ced6f5f6a WIP, begin adding support for the simpler BLE api
https://github.com/meshtastic/Meshtastic-esp32/issues/69
2020-04-23 11:24:57 -07:00
geeksville
b63ebadf72 track # of text messages received/sent 2020-04-22 07:59:07 -07:00
geeksville
35c745d93f track total time connected to mesh 2020-04-21 14:46:52 -07:00
geeksville
bfff5f6215 fix autobug that occurs if the service gets destroyed immediately after creation 2020-04-20 20:44:21 -07:00
geeksville
47ba4f0243 oops I broke from scratch installs - seen on a Z2 Pro 2020-04-20 15:38:53 -07:00
geeksville
428ea596b0 fix autobug: exceptions become RemoteException when crossing service boundary 2020-04-20 10:15:43 -07:00
geeksville
25740c4fe4 don't leak user name in logs 2020-04-20 08:48:42 -07:00
geeksville
8c2d046255 properly show 'disconnected' while changing between radios 2020-04-20 08:27:08 -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
1e47895904 fix a couple of old/rare autobugs 2020-04-19 18:12:11 -07:00
geeksville
39eb6664da we now save node & msg db across service invocations 2020-04-19 17:25:20 -07:00
geeksville
ca1ada085e use parcelize to eliminate boilerplate code 2020-04-19 12:00:41 -07:00
geeksville
613e4f7ec4 make aidl interface strongly typed 2020-04-19 11:56:06 -07:00
geeksville
5784138c96 Fix #11: we now keep a record of past messages in the persistent service state 2020-04-19 11:47:34 -07:00
geeksville
6c0e56920d fix part of #11 - show sender name in notification 2020-04-19 09:33:41 -07:00
geeksville
f13c05862d update protos 2020-04-19 09:23:57 -07:00
geeksville
eff21e6e80 don't leak location data into logs 2020-04-13 15:23:46 -07:00
geeksville
d1afb6fac6 don't leak personal data into logs 2020-04-12 10:56:45 -07:00
geeksville
f2d43332f7 Making app aware of device sleep states, Fix #4 2020-04-04 17:00:38 -07:00
geeksville
83c1bfda69 use coroutines in the mesh service to move processing out of the GUI thread 2020-04-04 14:37:44 -07:00
geeksville
088ba687d4 if we receive packets early in app start, wait to process them till we have a nodedb 2020-03-30 17:35:33 -07:00
geeksville
28f488a394 log device errors via analytics
related to https://github.com/meshtastic/Meshtastic-esp32/issues/53
2020-03-24 13:48:00 -07:00
geeksville
9b2a6f3c92 track region/model/firmware version of running devices
# Conflicts:
#	TODO.md
#	app/src/main/java/com/geeksville/mesh/service/MeshService.kt
2020-03-12 11:58:10 -07:00
geeksville
49567562c0 track hw model so we know how many heltec vs ttgo etc 2020-03-12 11:54:22 -07:00
geeksville
fb2304ba82 track the # of nodes associated with each anonymous user, to know which
users are actually using the hardware vs tire kickers with the app.
2020-03-08 15:22:31 -07:00