XDK API  3.6.0
Documentation
Data Structures | Macros | Typedefs
BleWeightScale_Service.h File Reference
#include "bleTypes.h"
+ Include dependency graph for BleWeightScale_Service.h:

Data Structures

struct  BleWeightScaleServiceMeasurement
 
union  BleWeightScaleServiceMeasurementFlags
 

Macros

#define BLE_SUPPORT_WEIGHTSCALE_SERVICE   0
 
#define BLE_WEIGHTSCALESERVICE_SUPPORT_BMI_AND_HEIGHT   1
 
#define BLE_WEIGHTSCALESERVICE_SUPPORT_USER_ID   1
 
#define BLEINFOTYPE_WEIGHTSCALESERVICE_MEASUREMENT_CLIENTCONFIG   0x55
 
#define BLEWEIGHTSCALESERVICE_FLAGBITMASK_BMIANDHEIGHTPRESENT   (0x08u)
 
#define BLEWEIGHTSCALESERVICE_FLAGBITMASK_MEASUREMENTUNITS   (0x01u)
 
#define BLEWEIGHTSCALESERVICE_FLAGBITMASK_TIMESTAMPPRESENT   (0x02u)
 
#define BLEWEIGHTSCALESERVICE_FLAGBITMASK_USERIDPRESENT   (0x04u)
 

Typedefs

typedef U8 BleWeightScaleServiceFlags
 

Macro Definition Documentation

#define BLE_SUPPORT_WEIGHTSCALE_SERVICE   0

BLE_SUPPORT_WEIGHTSCALE_SERVICE Defines if the BLE local device enables access to the local WEIGHT SCALE service and characteristic.

If enabled ( set to 1 ) it enables Profiles or directly an Application to get access to the WEIGHT SCALE Service and characteristic

The default value for this option is disabled (0).

#define BLE_WEIGHTSCALESERVICE_SUPPORT_BMI_AND_HEIGHT   1

BLE_WEIGHTSCALESERVICE_SUPPORT_BMI_AND_HEIGHT Define if the the WEIGHT SCALE Service supports (1) or not (0) to get or update BMI and HEIGHT values in a measurement. The default value is supported (1)

#define BLE_WEIGHTSCALESERVICE_SUPPORT_USER_ID   1

BLE_WEIGHTSCALESERVICE_SUPPORT_TIME_STAMP The Time Stamp field is optional, but shall be included in the Weight Measurement characteristic if the Server supports the Time Stamp feature The Time Stamp feature shall be supported if the device supports the storing of data. The Time Stamp field is defined to use the same format as the Date Time characteristic defined in [2]. However, a value of 0 for the year, month or day fields (meaning unknown) shall not be used for this service. It is left to the implementation to ensure the user sets the correct date and time before the Server is used. Define if the the WEIGHT SCALE Server supports (1) or not (0) to get or update Time values in a measurement. The default value is supported (0) BLE_WEIGHTSCALESERVICE_SUPPORT_USER_ID Define if the the WEIGHT SCALE Service supports (1) or not (0) to get or update User ID values in a measurement. The default value is supported (1)

#define BLEINFOTYPE_WEIGHTSCALESERVICE_MEASUREMENT_CLIENTCONFIG   0x55
#define BLEWEIGHTSCALESERVICE_FLAGBITMASK_BMIANDHEIGHTPRESENT   (0x08u)
#define BLEWEIGHTSCALESERVICE_FLAGBITMASK_MEASUREMENTUNITS   (0x01u)
#define BLEWEIGHTSCALESERVICE_FLAGBITMASK_TIMESTAMPPRESENT   (0x02u)
#define BLEWEIGHTSCALESERVICE_FLAGBITMASK_USERIDPRESENT   (0x04u)

Typedef Documentation

BleWeghtScaleServiceFlags type Bitfield defining the available flags values.


All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:42 by doxygen 1.8.8