Weight Scale Service
- group WSS
Weight Scale Service.
The Weight Scale (WS) Service exposes weight and related data from a weight scale (Server) intended for consumer healthcare as well as sports/fitness applications.
Weight Scale Feature and Weight Measurement are exposed in the Weight Scale Service. Only one instance of each characteristic is permitted within this service. The Weight Scale Feature characteristic shall be used to describe the supported features of the Server. When read, the Weight Scale Feature characteristic returns a value that is used by a Client to determine the supported features of the Server. The Weight Measurement characteristic is used to send weight-related data to the Client. Included in the characteristic value are a Flags field (for showing the presence of optional fields and measurement units), a Weight field, and depending upon the contents of the Flags field, may include one or more optional fields.
Applications shall register weight scale service during initialization through wss_add_service function.
Applications can set the weight scale service parameters through wss_set_parameter function.
Applications can send the weight-related data of WSS to the client through wss_measurement_indicate function.