Enumerations
Enumerations
BLE Services » Weight Scale Service (WSS)

## Enumerations
enum | wss_meas_flag_bits { WSS_MEAS_FLAG_UNIT_SI = 0x00, WSS_MEAS_FLAG_UNIT_IMPERIAL = 0x01, WSS_MEAS_FLAG_DATE_TIME_PRESENT = 0x02, WSS_MEAS_FLAG_USER_ID_PRESENT = 0x04, WSS_MEAS_FLAG_BMI_HEIGHT_PRESENT = 0x08 }
| Weight Scale Measurement Flags. More...
enum | wss_feature_t { WSS_FEAT_TIME_STAMP = 0x00000001, WSS_FEAT_MULTI_USER = 0x00000002, WSS_FEAT_BMI = 0x00000004, WSS_FEAT_MASS_RES_500G = 0x00000008, WSS_FEAT_MASS_RES_200G = 0x00000010, WSS_FEAT_MASS_RES_100G = 0x00000018, WSS_FEAT_MASS_RES_50G = 0x00000020, WSS_FEAT_MASS_RES_20G = 0x00000028, WSS_FEAT_MASS_RES_10G = 0x00000030, WSS_FEAT_MASS_RES_5G = 0x00000038, WSS_FEAT_HEIGHT_RES_10MM = 0x00000080, WSS_FEAT_HEIGHT_RES_5MM = 0x00000100, WSS_FEAT_HEIGHT_RES_1MM = 0x00000180, WSS_FEAT_FULL_BIT = 0x000001BF }
| Weight Scale Feature characteristic bit values. More...
enum | wss_mass_res_t { WSS_MASS_RES_500G, WSS_MASS_RES_200G, WSS_MASS_RES_100G, WSS_MASS_RES_50G, WSS_MASS_RES_20G, WSS_MASS_RES_10G, WSS_MASS_RES_5G }
| WSS Weight Measurement resolutions. More...
enum | wss_height_res_t { WSS_HEIGHT_RES_10MM, WSS_HEIGHT_RES_5MM, WSS_HEIGHT_RES_1MM }
| WSS Height Measurement resolutions. More...
enum | wss_unit_t { WSS_UNIT_SI, WSS_UNIT_IMPERIAL }
| WSS unit types. More...
enum | wss_evt_type_t { WSS_EVT_INVALID, WSS_EVT_MEAS_INDICATION_ENABLE, WSS_EVT_MEAS_INDICATION_DISABLE, WSS_EVT_MEAS_INDICATION_CPLT, WSS_EVT_MEAS_READ_CHARACTERISTIC }
| Weight Scale Service event type. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ wss_evt_type_t

enum wss_evt_type_t

Weight Scale Service event type.

Enumerator
WSS_EVT_INVALID | Indicate that invalid event.
WSS_EVT_MEAS_INDICATION_ENABLE | Indicate that body composition measurement indication has been enabled.
WSS_EVT_MEAS_INDICATION_DISABLE | Indicate that body composition measurement indication has been disabled.
WSS_EVT_MEAS_INDICATION_CPLT | Indicate that BC Measurement has been indicated.
WSS_EVT_MEAS_READ_CHARACTERISTIC | The peer reads the characteristic.

Definition at line 151 of file wss.h.

## ◆ wss_feature_t

enum wss_feature_t

Weight Scale Feature characteristic bit values.

Enumerator
WSS_FEAT_TIME_STAMP | Time Stamp supported.
WSS_FEAT_MULTI_USER | Multiple Users supported.
WSS_FEAT_BMI | BMI supported.
WSS_FEAT_MASS_RES_500G | Resolution of 0.5kg or 1lb.
WSS_FEAT_MASS_RES_200G | Resolution of 0.2kg or 0.5lb.
WSS_FEAT_MASS_RES_100G | Resolution of 0.1kg or 0.2lb.
WSS_FEAT_MASS_RES_50G | Resolution of 0.05kg or 0.1lb.
WSS_FEAT_MASS_RES_20G | Resolution of 0.02kg or 0.05lb.
WSS_FEAT_MASS_RES_10G | Resolution of 0.01kg or 0.02lb.
WSS_FEAT_MASS_RES_5G | Resolution of 0.005kg or 0.01lb.
WSS_FEAT_HEIGHT_RES_10MM | Resolution of 0.01m or 1in.
WSS_FEAT_HEIGHT_RES_5MM | Resolution of 0.005m or 0.5in.
WSS_FEAT_HEIGHT_RES_1MM | Resolution of 0.001m or 0.1in.
WSS_FEAT_FULL_BIT |

Definition at line 99 of file wss.h.

## ◆ wss_height_res_t

enum wss_height_res_t

WSS Height Measurement resolutions.

Enumerator
WSS_HEIGHT_RES_10MM | Resolution of 0.01m or 1in.
WSS_HEIGHT_RES_5MM | Resolution of 0.005m or 0.5in.
WSS_HEIGHT_RES_1MM | Resolution of 0.001m or 0.1in.

Definition at line 136 of file wss.h.

## ◆ wss_mass_res_t

enum wss_mass_res_t

WSS Weight Measurement resolutions.

Enumerator
WSS_MASS_RES_500G | Resolution of 0.5kg or 1lb.
WSS_MASS_RES_200G | Resolution of 0.2kg or 0.5lb.
WSS_MASS_RES_100G | Resolution of 0.1kg or 0.2lb.
WSS_MASS_RES_50G | Resolution of 0.05kg or 0.1lb.
WSS_MASS_RES_20G | Resolution of 0.02kg or 0.05lb.
WSS_MASS_RES_10G | Resolution of 0.01kg or 0.02lb.
WSS_MASS_RES_5G | Resolution of 0.005kg or 0.01lb.

Definition at line 124 of file wss.h.

## ◆ wss_meas_flag_bits

enum wss_meas_flag_bits

Weight Scale Measurement Flags.

Enumerator
WSS_MEAS_FLAG_UNIT_SI | Flag bit for SI Measurement Units Present.
WSS_MEAS_FLAG_UNIT_IMPERIAL | Flag bit for Imperial Measurement Units Present.
WSS_MEAS_FLAG_DATE_TIME_PRESENT | Flag bit for Time Stamp Present.
WSS_MEAS_FLAG_USER_ID_PRESENT | Flag bit for User ID Present.
WSS_MEAS_FLAG_BMI_HEIGHT_PRESENT | Flag bit for BMI and Height Present.

Definition at line 89 of file wss.h.

## ◆ wss_unit_t

enum wss_unit_t

WSS unit types.

Enumerator
WSS_UNIT_SI | Weight in kilograms and height in meters
WSS_UNIT_IMPERIAL | Weight in pounds and height in inches

Definition at line 144 of file wss.h.