Commit Graph

492 Commits

Author SHA1 Message Date
Ludovic Goix 7e49395a0e Fix the crash from unrecognized ModemConfig #50 2020-06-15 22:28:25 -04:00
Kevin Hester 208cbd2a1c @tomasbrincil added Czech translation!
Czech localisation
2020-06-15 12:56:57 -07:00
geeksville 44e084c999 fix dead object exception 2020-06-15 07:09:21 -07:00
Tomas B. / OK1BT 0dfcc9e3fd Czech localisation
This one is based on slovak version (Jo, bylo to jednodušší ;)) and some tags are missing: modem_config_short, modem_config_medium, modem_config_long, modem_config_very_long, modem_config_unrecognized. What is recent source of these tags? I will update it later.
2020-06-15 13:13:06 +02:00
geeksville 7cca69be0d properly mark when we are disconnected 2020-06-14 16:43:36 -07:00
geeksville 822e771a96 fix missing import 2020-06-14 09:33:15 -07:00
geeksville 1ba8e4e1f6 Merge remote-tracking branch 'root/master' into dev 2020-06-14 09:25:07 -07:00
geeksville 65294fd638 Return "n" if user has selected device none - fixes autoselect of
the first BLE device that shows up
2020-06-14 09:24:51 -07:00
Ludovic Goix 45273f5a7d Make Channel options available 2020-06-14 00:11:08 -04:00
geeksville abe0665d03 less debug output 2020-06-13 17:02:32 -07:00
geeksville f9c1ac8cd2 Fix back to back writes to not overwrite BLE characterstic. Fixes
the "sending while device was asleep bug"
2020-06-13 16:21:26 -07:00
geeksville 7ee4aff64c don't generate redundant set User packets 2020-06-13 16:02:57 -07:00
geeksville 68ed9d5333 ESP32 BLE handles are not stable across sleep - force refresh 2020-06-13 16:02:25 -07:00
geeksville 75576efabe ESP32 code does not generate "service changed" indications 2020-06-13 08:43:22 -07: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 8e8ac93904 better error reporting for protobuf errors 2020-06-12 17:02:21 -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 a81edbf646 Fix #37, show a Toast every time the app launches about missing permissions 2020-06-12 11:17:52 -07:00
Ludovic Goix ef8003bd0e add missing translation in french 2020-06-12 07:58:35 -04:00
geeksville 98d5f3a7be remove deprecated lat/long float encodings 2020-06-11 21:25:45 -07:00
geeksville eb5a492ade OMG - we were accidentally leaving two GATTs alive - which is super bad 2020-06-11 17:34:22 -07:00
geeksville d282c7911e immediately fail bluetooth links if we get a read or write error 2020-06-11 16:32:33 -07:00
geeksville 6baae70125 prevent concurrent modification exception when deleting old msgs 2020-06-11 16:22:44 -07:00
geeksville e20f7c5943 use only async io when talking to the radio 2020-06-11 16:22:20 -07:00
geeksville 73c2c8def1 Fix #39: If unlucky device could be beginning sleep when we try to send 2020-06-11 14:03:10 -07:00
geeksville b0e006ce6e @slavino contributed this WIP for Slovak translation! #41 2020-06-11 11:37:54 -07:00
geeksville 1523a6ad9e Merge remote-tracking branch 'root/master' 2020-06-11 11:30:43 -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 c747cecc31 better printing of serial debug output 2020-06-11 11:21:11 -07:00
geeksville e4223d6476 prevent race condition if meshservice starts running before radiointerface 2020-06-11 11:20:51 -07:00
Ludovic Goix ac94f3b276 fix label 2020-06-11 13:04:21 -04:00
Ludovic Goix 672fc6f481 Add tooltip to status image icon 2020-06-10 21:50:34 -04: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 96a28afb8f fix autobug: old notifies might come in from devices we are reconnecting to 2020-06-10 12:03:31 -07:00
geeksville 1be402d771 fix autobug - discovery can now occur after mtu 2020-06-10 11:42:11 -07:00
geeksville cff90c5bd7 never let getMyNodeInfo ever return null. fixes an autobug for device removal 2020-06-09 18:56:34 -07:00
geeksville 5d9648f602 fix autobug in case device goes away at a bad time 2020-06-09 18:46:23 -07:00
geeksville 3be44439ab #38: add USB hotplug support (but android doesn't yet remember accross reboots) 2020-06-09 17:10:49 -07:00
geeksville 590e76731f One more fix for Soyes XS phones (but see disclaimer below)
The bluetooth implementation of this phone calls the gatt callbacks
*before* the connect call returns to the client.  This is incorrect because
the client won't have a reference to the gatt at that time.

Fortunately, we only need to check gatt on disconnect, so I moved that later.

But one problem I've noticed in my testing.  Sometimes this phone stops
being able to scan for BLE devices.  The only fix I've found is to click to
turn bluetooth off briefly and then back on.

A major problem with this phone is that if you reboot the phone it seems
the time the phone has forgotten its paring data and devices must
be re-paired.  This is a huge bummer and I don't think my app can fix this.
2020-06-09 12:25:05 -07:00
geeksville 2568f00762 ignore failures delivering close exceptions (autobug) 2020-06-09 10:22:19 -07:00
geeksville e3ad6b153a don't log stuff that might contain PII 2020-06-09 10:21:54 -07:00
geeksville c0bea24942 show placeholder entries for disconnected USB devices #38 2020-06-09 10:09:25 -07:00
geeksville 005ab16283 except for dynamic device probing USB serial works pretty good now #38 2020-06-09 09:53:32 -07:00
geeksville 1cd0e1692d clear the device list anytime we restart the BLE scan 2020-06-09 09:11:10 -07:00