<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright 2011 Bluetooth SIG, Inc. All rights reserved.-->
<Characteristic xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/characteristic.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="CSC Measurement" type="org.bluetooth.characteristic.csc_measurement" uuid="2A5B" last-modified="2012-04-12" approved="Yes">
    <InformativeText>
        <Summary>
            The CSC Measurement characteristic (CSC refers to Cycling Speed and Cadence) is a variable length structure containing a Flags field and, based on the contents of the Flags field, may contain one or more additional fields as shown in the tables below.
        </Summary>
    </InformativeText>
    <Value>
        <Field name="Flags">
            <InformativeText>These flags define which data fields are present in the Characteristic value.</InformativeText>
            <Requirement>Mandatory</Requirement>
            <Format>8bit</Format>
            <BitField>
                <Bit index="0" size="1" name="Wheel Revolution Data Present">
                    <Enumerations>
                        <Enumeration key="0" value="False" />
                        <Enumeration key="1" value="True" requires="C1" />
                    </Enumerations>
                </Bit>
                <Bit index="1" size="1" name="Crank Revolution Data Present">
                    <Enumerations>
                        <Enumeration key="0" value="False" />
                        <Enumeration key="1" value="True" requires="C2" />
                    </Enumerations>
                </Bit>
                <ReservedForFutureUse index="2" size="6" />
            </BitField>
        </Field>
        <Field name="Cumulative Wheel Revolutions">
            <InformativeText>
                C1: Field exists if the key of bit 0 of the Flags field is set to 1.
            </InformativeText>
            <Requirement>C1</Requirement>
            <Format>uint32</Format>
            <Unit>org.bluetooth.unit.unitless</Unit>
        </Field>
        <Field name="Last Wheel Event Time">
            <InformativeText>
                Unit has a resolution of 1/1024s.
            <br>C1: Field exists if the key of bit 0 of the Flags field is set to 1.</br>
            </InformativeText>
            <Requirement>C1</Requirement>
            <Format>uint16</Format>
            <Unit>org.bluetooth.unit.time.second</Unit>
            <BinaryExponent>-10</BinaryExponent>
        </Field>
        <Field name="Cumulative Crank Revolutions">
            <InformativeText>
                C2: Field exists if the key of bit 1 of the Flags field is set to 1.
            </InformativeText>
            <Requirement>C2</Requirement>
            <Format>uint16</Format>
            <Unit>org.bluetooth.unit.unitless</Unit>
        </Field>
        <Field name="Last Crank Event Time">
            <InformativeText>C2: Field exists if the key of bit 1 of the Flags field is set to 1.
            <br>Unit has a resolution of 1/1024s.</br>
                </InformativeText>
            <Requirement>C2</Requirement>
            <Format>uint16</Format>
            <Unit>org.bluetooth.unit.time.second</Unit>
            <BinaryExponent>-10</BinaryExponent>
        </Field>
    </Value>
    <Note>
        The fields in the above table are in the order of LSO to MSO. Where LSO = Least Significant Octet and MSO = Most Significant Octet.
    </Note>
</Characteristic>
