OliE
7485163eec
upgrade openScale version to 1.7.2
v1.7.2
2018-04-16 17:16:43 +02:00
Erik Johansson
aa0d0c0497
Fix crash while granting BT permission
...
Revert b3508ac1
and fix it proper. Fixes #244 .
2018-04-15 21:15:29 +02:00
Weblate
fc93286815
Merge remote-tracking branch 'origin/master'
2018-04-15 12:00:49 +02:00
Erik Johansson
3277e0d58e
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (180 of 180 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sv/
2018-04-15 12:00:49 +02:00
Erik Johansson
b3508ac13a
Quick-and-dirty workaround for #244
...
until I get some time to look into.
2018-04-15 11:59:43 +02:00
OliE
9d934c1281
Translated using Weblate (German)
...
Currently translated at 100.0% (180 of 180 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/de/
2018-04-15 11:28:16 +02:00
Erik Johansson
80f2f5e172
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (180 of 180 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sv/
2018-04-15 10:53:38 +02:00
Erik Johansson
8116ec4247
Use radio button to indicate selected user in preference
...
And group all users in a preference category.x
2018-04-15 01:03:09 +02:00
Erik Johansson
b663137ca0
Simplify reminder preference a bit
2018-04-14 23:21:56 +02:00
Erik Johansson
69e35cbe2f
Simplify graph preferences
2018-04-14 23:12:50 +02:00
Erik Johansson
ef77bc0b5d
Make language default value non-empty
2018-04-14 23:03:27 +02:00
Erik Johansson
b3f7fbd61e
Refactor backup preference slightly
...
Removed some code and fixed updating of exportDir summary after change.
2018-04-14 22:57:25 +02:00
Erik Johansson
8969166150
Minor cleanup
2018-04-14 22:53:21 +02:00
Erik Johansson
e269ede462
Convert some class members to local variables
2018-04-14 22:00:57 +02:00
Erik Johansson
7e81de663d
Add picture of Beurer BF710
2018-04-14 21:34:13 +02:00
Erik Johansson
a0269ccd08
Merge Beurer and Sanitas driver classes
...
As suggested in #237
2018-04-14 21:13:56 +02:00
Erik Johansson
20411a69e8
deviceName() -> driverName()
2018-04-14 20:33:18 +02:00
Erik Johansson
1bdec6a164
Perform explicit bond to classic devices
...
and refactor handling of connection to classic devices.
2018-04-14 20:25:48 +02:00
Erik Johansson
be330c7141
Upgrade build tools to 3.1.1
2018-04-14 19:49:32 +02:00
Erik Johansson
8d7d1157c7
Don't crash if screen is rotated during scan
...
For simplicity the scan result is lost if screen is rotated. Hopefully
not a big issue.
2018-04-13 19:19:38 +02:00
Allan Nordhøy
0e7376a678
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 100.0% (180 of 180 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/nb/
2018-04-13 10:31:15 +02:00
Erik Johansson
61ce04fea1
Wait for hello ack from scale before continuing
2018-04-13 00:50:52 +02:00
Erik Johansson
ede4672f9e
Continue scanning/connecting after user enables bluetooth
2018-04-13 00:50:52 +02:00
Erik Johansson
ef11372ee0
Connect directly to the bluetooth device found in scan
...
Instead of always performing a scan before connecting, use the address
stored in the scan to connect directly to the scale. This also means
that the location is permission is only needed during the scan and can
be revoked afterwards.
2018-04-13 00:50:52 +02:00
Erik Johansson
a90a70b134
Do BLE scan in addition to bluetooth discovery
...
After running the old school bluetooth discovery, start a 10 second
BLE scan. This is a better way to find BLE devices and at least for me
always find my scale (something that the discovery doesn't always do).
Also add a simple progress bar that is shown while the discovery is in
progress.
Finally add a link to the wiki for users with unsupported scales.
2018-04-13 00:50:52 +02:00
Erik Johansson
8ff4e1e945
Improve bluetooth connection sequence
...
By adding a sleep after the service discovery I can now connect every
time to the scale, something that didn't work before.
2018-04-13 00:50:52 +02:00
R3dThek
cd766701ff
Translated using Weblate (French)
...
Currently translated at 78.6% (140 of 178 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/fr/
2018-04-11 23:37:15 +02:00
Weblate
b82df82a34
Merge remote-tracking branch 'origin/master'
2018-04-10 20:46:15 +02:00
Red
603e6fb5f2
Translated using Weblate (French)
...
Currently translated at 65.1% (116 of 178 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/fr/
2018-04-10 20:46:15 +02:00
Erik Johansson
02677b2722
Revert "Test to see if BF600 works as 700 and 800"
...
More work is needed to get it to work, reverting for now.
This reverts commit 6c365296c9
.
2018-04-10 20:42:44 +02:00
Erik Johansson
167aaf8588
Add Norwegian Bokmål to list of languages
2018-04-10 18:30:32 +02:00
Weblate
866d2b1426
Merge remote-tracking branch 'origin/master'
2018-04-10 17:02:16 +02:00
Petter Reinholdtsen
3d042d2097
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 16.8% (30 of 178 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/nb/
2018-04-10 17:02:15 +02:00
Erik Johansson
6c365296c9
Test to see if BF600 works as 700 and 800
...
See #219
2018-04-10 17:01:06 +02:00
Petter Reinholdtsen
9e39b6ccbe
Added translation using Weblate (Norwegian Bokmål)
2018-04-10 06:30:30 +02:00
Erik Johansson
96e52cf168
Use help methods for converting to/from big-endian
...
Also fixes a problem where the time sent was incorrectly converted
(MSB was always 0).
2018-04-09 22:21:40 +02:00
Erik Johansson
d38c5e8d55
Merge Yunmai SE and Mini into one class
2018-04-09 22:11:02 +02:00
Erik Johansson
dad5f59d4a
Add method to convert to uint16 big-endian
2018-04-09 22:02:30 +02:00
Erik Johansson
b7b67b0f08
Add methods for converting to/from uint32 big-endian
2018-04-09 21:02:29 +02:00
Erik Johansson
1c5b13b7eb
Rename byte[] to int converters
2018-04-09 21:01:50 +02:00
Erik Johansson
009ef67e2d
Remove unused methods
2018-04-08 23:48:35 +02:00
Erik Johansson
cbca4a5037
Simplify bluetooth preference screen somewhat
2018-04-08 22:42:43 +02:00
Erik Johansson
1150bdbfed
Revert "Try to connect to BLE device directly"
...
Will have to rethink this. Perhaps try to connect to device directly
first, and if that fails fall back to autoconnect.
This reverts commit d5c701b69f
.
2018-04-08 13:17:28 +02:00
Erik Johansson
c8312907c3
Add Beurer BF710 to list of supported scales
2018-04-08 12:21:56 +02:00
OliE
76cb5aa1bd
set default expand evolution to false
2018-04-08 11:11:55 +02:00
Erik Johansson
896663983b
Stop searching for device before doing new discovery
2018-04-08 00:22:19 +02:00
Erik Johansson
d5c701b69f
Try to connect to BLE device directly
...
instead of waiting for the device to become available. Should speed up
connecting to the device.
2018-04-08 00:11:48 +02:00
Erik Johansson
c5431dfa2c
Make it possible to disconnect bluetooth
...
by clicking on the bluetooth button when bluetooth is connected. As
requested in #235 .
2018-04-08 00:09:55 +02:00
Erik Johansson
d95976c7fe
Move bluetooth device creation to factory class
2018-04-08 00:00:57 +02:00
Erik Johansson
2699d63a51
Minor cleanup
2018-04-07 20:56:25 +02:00