1<!-- HFP Offload Codec Capability Schema --> 2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> 3 <xs:element name="hfpOffloadSetting"> 4 <xs:complexType> 5 <xs:element ref="pathConfiguration" minOccurs="1" maxOccurs="unbounded"/> 6 <xs:element ref="transportConfiguration" minOccurs="1" maxOccurs="unbounded"/> 7 <xs:element ref="configuration" minOccurs="1" maxOccurs="unbounded"/> 8 </xs:complexType> 9 </xs:element> 10 <xs:element name="pathConfiguration"> 11 <xs:complexType> 12 <xs:attribute name="name" type="xs:string"/> 13 <xs:attribute name="bandwidth" type="xs:unsignedInt"/> 14 <xs:attribute name="codec" type="codecType"/> 15 <xs:attribute name="codedDataSize" type="xs:unsignedShort"/> 16 <xs:attribute name="pcmDataFormat" type="xs:unsignedByte"/> 17 <xs:attribute name="pcmPayloadMsbPosition" type="xs:unsignedByte"/> 18 <xs:attribute name="dataPath" type="xs:unsignedByte"/> 19 <xs:attribute name="transportUnitSize" type="xs:unsignedByte"/> 20 </xs:complexType> 21 </xs:element> 22 <xs:element name="transportConfiguration"> 23 <xs:complexType> 24 <xs:attribute name="name" type="xs:string"/> 25 <xs:attribute name="bandwidth" type="xs:unsignedInt"/> 26 <xs:attribute name="codec" type="codecType"/> 27 <xs:attribute name="codedFrameSize" type="xs:unsignedShort"/> 28 </xs:complexType> 29 </xs:element> 30 <xs:element name="configuration"> 31 <xs:complexType> 32 <xs:attribute name="name" type="xs:string"/> 33 <xs:attribute name="codec" type="codecType"/> 34 <xs:attribute name="maxLatencyMs" type="xs:unsignedShort"/> 35 <xs:attribute name="packetTypes" type="xs:unsignedShort"/> 36 <xs:attribute name="retransmissionEffort" type="xs:unsignedByte"/> 37 <xs:attribute name="useControllerCodec" type="xs:boolean"/> 38 <xs:attribute name="inputPathConfiguration" type="xs:string"/> 39 <xs:attribute name="outputPathConfiguration" type="xs:string"/> 40 <xs:attribute name="inputTransportConfiguration" type="xs:string"/> 41 <xs:attribute name="outputTransportConfiguration" type="xs:string"/> 42 </xs:complexType> 43 </xs:element> 44 <xs:simpleType name="codecType"> 45 <xs:restriction base="xs:string"> 46 <xs:enumeration value="LC3"/> 47 <xs:enumeration value="CVSD"/> 48 <xs:enumeration value="MSBC"/> 49 </xs:restriction> 50 </xs:simpleType> 51</xs:schema> 52