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

2040 Commits

Author SHA1 Message Date
Martin Nowack
3933f59a69 Enhanced support for Sanitas SBF 70
* Refactoring to use state-machine-based BluetoothCommunication class approach
* Add support for user detection/creation (age, height, sex, activity level)
* Add support for baseline measurement
* Add support to set date/time of scale
* Add support to retrieve history measurements of currently selected user
* Add support to warn user if too many scale users are registered
* Add/Fix support for impedance, fat, water, muscle, bonemass, bmr, amr, bmi results
* Fix support to delete user-specific measurements
* Add support to show active measurement as Toast
* Enhanced robustness of scale communication
2017-08-04 10:11:04 +02:00
Martin Nowack
9cfd8c8da3 Add support to send arbitrary messages to openScale user.
This can be used to send any string with an argument which will be string.format() replaced.
2017-08-04 10:11:04 +02:00
Martin Nowack
f5d03b8446 Use command queue approach for sequential invocation of bluetooth commands
Issuing commands to a bluetooth device might not be successful in case the device is still busy from a previous command.
With this patch, new commands are enqueued and executed sequentially after the previous step finished executing.

The new implementation is transparent to the previous one.
2017-08-04 10:11:04 +02:00
Martin Nowack
b2a54b30aa Fix typos 2017-08-04 09:23:02 +02:00
Martin Nowack
5c1184e671 Refactor: Move scale-specific descriptor UUID into subclasses 2017-08-04 09:20:39 +02:00
Sebastian Lobinger
85b478632e add hwAddress DB2FF6 for Medisana BS 444 Connect 2017-08-02 09:26:18 +02:00
OliE
b1cb0a3b8f get tuple data entries only from the selected user. 2017-07-29 21:03:39 +02:00
OliE
e713562ba6 fixed typo for ignoreOutOfRange option 2017-07-29 20:52:22 +02:00
OliE
fd8020cf61 fix waist and hip default visible option. 2017-07-29 20:31:21 +02:00
Milena May
ba3957e585 Fix measurement typo 2017-07-29 20:03:27 +02:00
Milena May
de77bbb330 Upgrade gradle to 2.3.3 2017-07-29 20:03:27 +02:00
vogan
e07584aa5f added HW address of my bs444 2017-07-24 22:38:23 +02:00
OliE
217bd7a5df add new hw address for Medisana BS444 scale 2017-07-12 17:15:19 +02:00
OliE
b36e37872f update version code and version name for openScale 1.5.3 release 2017-07-07 15:52:33 +02:00
Jochen Scheib
d68c5a24dd Fix millisecs to secs 2017-07-01 19:14:19 +02:00
Jochen Scheib
ff4aa2a142 Bugfix: Wrong time. Magic Bytes contain timestamp 2017-07-01 17:34:34 +02:00
Jochen Scheib
688edb8b10 Add new HW address for Medisana BS444 2017-07-01 09:34:09 +02:00
OliE
973442a044 add special hw address FFFFFF to skip hw address check 2017-06-30 16:53:36 +02:00
OliE
c97ae5376d change Bluetooth device name to default name only if user select a different device type 2017-06-23 15:03:20 +02:00
Jerome Flesch
b020ee6423 Sanitas SBF-70: Add BT address prefix reported by @nykroy
Signed-off-by: Jerome Flesch <jflesch@kwain.net>
2017-06-21 21:21:39 +02:00
Jerome Flesch
276ea608f0 History downloading is not supported with the Sanitas SBF-70
Signed-off-by: Jerome Flesch <jflesch@kwain.net>
2017-06-21 21:08:32 +02:00
OliE
c601033e36 set default value index of device type 2017-06-18 18:21:29 +02:00
OliE
1f874d0f34 delete static BT_STATUS_CODE imports 2017-06-18 17:01:40 +02:00
OliE
18a84570e4 refactoring existing Bluetooth classes for easy programming new Bluetooth classes. 2017-06-18 16:54:57 +02:00
OliE
490061f7b8 refactoring bluetooth communication class for more abstraction and to load dynamically all available devices. 2017-06-18 13:56:48 +02:00
OliE
cadedb9a60 add option to average data points in the diagram for one day/month
make time and date editable on new measurement dialog
2017-06-18 08:37:34 +02:00
OliE
55ac184889 update apk path 2017-06-10 18:42:30 +02:00
OliE
a10f397cd0 change apk path 2017-06-10 17:24:43 +02:00
OliE
3ba46642f6 update japanese translation 2017-06-10 17:10:44 +02:00
OliE
8b62c73308 update japanese translation 2017-06-10 17:05:05 +02:00
OliE
b5e9665377 setting up travis CI config files 2017-06-10 16:55:48 +02:00
OliE
13f45072fd for smart assigning to the correct user if no weight data is available an initial weight field has been added. 2017-06-10 13:58:50 +02:00
OliE
870d6ed08e ignore weight data that are out of range 2017-06-10 13:34:29 +02:00
OliE
64afdb0ff9 reset unique number after clearing all data of an user 2017-06-10 12:56:31 +02:00
OliE
da60317da6 convert received bluetooth weight automatically to scale unit
avoid null pointer exception if selected subpage is not avaiable
2017-06-10 12:46:29 +02:00
OliE
d36cc0ed1b don't show the last day in the overview diagram to reduce space
calculate days between two dates with DAY_OF_YEAR function
2017-06-04 16:39:05 +02:00
OliE
88def160b7 set maximum y-axis label size to 5 2017-06-04 16:23:48 +02:00
OliE
4a34cdc6db change user order from old to new user 2017-06-04 16:17:38 +02:00
OliE
29e67659a5 added support for Medisana BS 444 Connect scale
set default device name on Bluetooth type change
2017-06-04 16:03:05 +02:00
OliE
6c6737f424 create local unique identifier for every mi scale user 2017-06-04 09:38:27 +02:00
OliE
354a76a978 update openScale to version 1.5.2 2017-05-23 18:19:17 +02:00
OliE
f02130a61e add database backup function 2017-05-23 18:06:09 +02:00
OliE
b03f58f66b fix that global rotating lock works 2017-05-21 17:46:17 +02:00
OliE
7d08b98c49 get only last measurements of the mi scale
use another up and down symbol to avoid using bitmaps in android version > 6.x
2017-05-21 17:30:51 +02:00
Jerome Flesch
b7bb08bc96 Sanitas SBF-70: The fat pourcentage appears to be in big endianness instead of little endianness
Signed-off-by: Jerome Flesch <jflesch@kwain.net>
2017-05-14 13:07:16 +02:00
OliE
185051da84 fix bug for android 4.4 (LinearLayout$LayoutParams cannot be cast to AbsListView$LayoutParams)
check if month and date is correct on the mi scale if not initialize mi scale again
2017-05-10 18:31:17 +02:00
OliE
937c22c096 don't abort build process if a translation is missing 2017-05-07 11:05:42 +02:00
OliE
8a874c9e41 increase version code to 14 and version name to 1.5.1 2017-05-07 10:59:27 +02:00
OliE
b08a07c19a fix various minor bugs 2017-05-07 10:56:43 +02:00
OliE
53492b2bc4 show Bluetooth information what is supported and what is not 2017-05-07 09:52:45 +02:00