1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-09-08 23:50:40 +02:00

1000 Commits

Author SHA1 Message Date
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
Allan Nordhøy
c227077841 Resting metabolic rate, - is 2018-04-13 09:46:42 +02:00
Allan Nordhøy
9cbd0e7091 Language rework 2018-04-13 08:58:03 +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
Erik Johansson
9e8625002a Use help functions for converting bytes to measurement values
Also use the datatime from the scale for the measurement.
2018-04-07 20:56:25 +02:00
Erik Johansson
d132681b0d Add help function for converting uint16 from bytes to int 2018-04-07 20:56:25 +02:00
Erik Johansson
6899abd680 Remove unused method 2018-04-07 20:56:25 +02:00
ssantos
30375651d6 Translated using Weblate (German)
Currently translated at 100.0% (178 of 178 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/de/
2018-04-07 14:45:30 +02:00
Erik Johansson
ee5ea9dd25 Initial support for Beurer BF710
Fixes #237
2018-04-06 01:29:28 +02:00
Erik Johansson
46a10275b2 Create fewer temporary strings 2018-04-06 01:08:33 +02:00
Erik Johansson
ad46f50886 Shorten hint text to make the whole text visible 2018-04-04 21:53:51 +02:00
Erik Johansson
8965a5667a Bump support lib version to 27.1.0 2018-04-04 21:34:43 +02:00
Erik Johansson
12652e7504 Bump simple CSV library to 2.3 2018-04-04 21:22:28 +02:00
Rui Carvalho
abf85652d4 Translated using Weblate (Portuguese)
Currently translated at 100.0% (179 of 179 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-04-01 14:41:31 +02:00
Rui Carvalho
d7865d14f5 Translated using Weblate (Portuguese)
Currently translated at 100.0% (179 of 179 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-31 13:49:50 +02:00
Rui Carvalho
98bcbb1b91 Translated using Weblate (Portuguese)
Currently translated at 100.0% (179 of 179 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-31 13:46:22 +02:00
Rui Carvalho
25176e5cf6 Translated using Weblate (Portuguese)
Currently translated at 100.0% (179 of 179 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-31 13:38:39 +02:00
Rui Carvalho
cb39b5b26e Translated using Weblate (Portuguese)
Currently translated at 100.0% (179 of 179 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-31 13:33:32 +02:00