forked from oesmith/gatt-xml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Files mirrored from https://www.bluetooth.com/specifications/gatt - Pretty-printed for easier reading in a terminal
- Loading branch information
0 parents
commit 4fd2ede
Showing
250 changed files
with
19,149 additions
and
0 deletions.
There are no files selected for viewing
74 changes: 74 additions & 0 deletions
74
org.bluetooth.attribute.gatt.characteristic_declaration.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2011 Bluetooth SIG, Inc. All rights reserved. --> | ||
<Attribute xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/attribute.xsd" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
type="org.bluetooth.attribute.gatt.characteristic_declaration" | ||
name="Characteristic Declaration" uuid="2803"> | ||
<Value> | ||
<Field name="Characteristic Properties"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>uint8</Format> | ||
<BitField> | ||
<Bit index="0" size="1" name="Broadcast"> | ||
<Enumerations> | ||
<Enumeration key="0" value="No Broadcast" /> | ||
<Enumeration key="1" value="Broadcast" /> | ||
</Enumerations> | ||
</Bit> | ||
<Bit index="1" size="1" name="Read"> | ||
<Enumerations> | ||
<Enumeration key="0" value="No Read" /> | ||
<Enumeration key="1" value="Read" /> | ||
</Enumerations> | ||
</Bit> | ||
<Bit index="2" size="1" name="Write Without Response"> | ||
<Enumerations> | ||
<Enumeration key="0" | ||
value="No Write Without Response" /> | ||
<Enumeration key="1" value="Write Without Response" /> | ||
</Enumerations> | ||
</Bit> | ||
<Bit index="3" size="1" name="Write"> | ||
<Enumerations> | ||
<Enumeration key="0" value="No Write" /> | ||
<Enumeration key="1" value="Write" /> | ||
</Enumerations> | ||
</Bit> | ||
<Bit index="4" size="1" name="Notify"> | ||
<Enumerations> | ||
<Enumeration key="0" value="No Notify" /> | ||
<Enumeration key="1" value="Notify" /> | ||
</Enumerations> | ||
</Bit> | ||
<Bit index="5" size="1" name="Indicate"> | ||
<Enumerations> | ||
<Enumeration key="0" value="No Indicate" /> | ||
<Enumeration key="1" value="Indicate" /> | ||
</Enumerations> | ||
</Bit> | ||
<Bit index="6" size="1" name="Authenticated Signed Writes"> | ||
<Enumerations> | ||
<Enumeration key="0" | ||
value="No Authenticated Signed Writes" /> | ||
<Enumeration key="1" | ||
value="Authenticated Signed Writes" /> | ||
</Enumerations> | ||
</Bit> | ||
<Bit index="7" size="1" name="Extended Properties"> | ||
<Enumerations> | ||
<Enumeration key="0" value="No Extended Properties" /> | ||
<Enumeration key="1" value="Extended Properties" /> | ||
</Enumerations> | ||
</Bit> | ||
</BitField> | ||
</Field> | ||
<Field name="Characteristic Value Handle"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>uint16</Format> | ||
</Field> | ||
<Field name="Characteristic UUID"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>gatt_uuid</Format> | ||
</Field> | ||
</Value> | ||
</Attribute> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2011 Bluetooth SIG, Inc. All rights reserved. --> | ||
<Attribute xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/attribute.xsd" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
type="org.bluetooth.attribute.gatt.include_declaration" | ||
name="Include" uuid="2802"> | ||
<Value> | ||
<Field name="Included Service Attribute Handle"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>uint16</Format> | ||
</Field> | ||
<Field name="End Group Handle"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>uint16</Format> | ||
</Field> | ||
<Field name="Service UUID"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>gatt_uuid</Format> | ||
</Field> | ||
</Value> | ||
</Attribute> |
13 changes: 13 additions & 0 deletions
13
org.bluetooth.attribute.gatt.primary_service_declaration.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2011 Bluetooth SIG, Inc. All rights reserved. --> | ||
<Attribute xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/attribute.xsd" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
type="org.bluetooth.attribute.gatt.primary_service_declaration" | ||
name="Primary Service" uuid="2800"> | ||
<Value> | ||
<Field name="UUID"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>gatt_uuid</Format> | ||
</Field> | ||
</Value> | ||
</Attribute> |
13 changes: 13 additions & 0 deletions
13
org.bluetooth.attribute.gatt.secondary_service_declaration.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2011 Bluetooth SIG, Inc. All rights reserved. --> | ||
<Attribute xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/attribute.xsd" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
type="org.bluetooth.attribute.gatt.secondary_service_declaration" | ||
name="Secondary Service" uuid="2801"> | ||
<Value> | ||
<Field name="UUID"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>gatt_uuid</Format> | ||
</Field> | ||
</Value> | ||
</Attribute> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--Copyright 2014 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="Magnetic Flux Density - 2D" | ||
type="org.bluetooth.characteristic.Magnetic_flux_density_2D" | ||
uuid="2AA0" last-modified="2014-11-20" approved="Yes"> | ||
<Value> | ||
<Field name="Magnetic Flux Density: X-Axis"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>sint16</Format> | ||
<Unit>org.bluetooth.unit.magnetic_flux_density.tesla</Unit> | ||
<Description>This characteristic contains measurements of | ||
magnetic flux density for two orthogonal axes: X and Y. This | ||
characteristic is composed of two fields having the same | ||
format: In order of LSO to MSO, the fields are: X-Axis, | ||
Y-Axis. 1 x 10^-7 Tesla equals 0.001 Gauss.</Description> | ||
<DecimalExponent>-7</DecimalExponent> | ||
</Field> | ||
<Field name="Magnetic Flux Density: Y-Axis"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>sint16</Format> | ||
<Unit>org.bluetooth.unit.magnetic_flux_density.tesla</Unit> | ||
<Description>This characteristic contains measurements of | ||
magnetic flux density for two orthogonal axes: X and Y. This | ||
characteristic is composed of two fields having the same | ||
format: In order of LSO to MSO, the fields are: X-Axis, | ||
Y-Axis. 1 x 10^-7 Tesla equals 0.001 Gauss.</Description> | ||
<DecimalExponent>-7</DecimalExponent> | ||
</Field> | ||
</Value> | ||
<Note> | ||
<p>The fields in the above table are in the order of LSO to | ||
MSO. Where LSO = Least Significant Octet and MSO = Most | ||
Significant Octet</p> | ||
</Note> | ||
</Characteristic> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--Copyright 2014 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="Magnetic Flux Density - 3D" | ||
type="org.bluetooth.characteristic.Magnetic_flux_density_3D" | ||
uuid="2AA1" last-modified="2014-11-20" approved="Yes"> | ||
<Value> | ||
<Field name="Magnetic Flux Density: X-Axis"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>sint16</Format> | ||
<Unit>org.bluetooth.unit.magnetic_flux_density.tesla</Unit> | ||
<Description>This characteristic contains measurements of | ||
magnetic flux density for three orthogonal axes: X, Y and Z. | ||
This characteristic is composed of three fields having the | ||
same format: In order of LSO to MSO, the fields are: X-Axis, | ||
Y-Axis, Z-Axis. 1 x 10^-7 Tesla equals 0.001 | ||
Gauss.</Description> | ||
<DecimalExponent>-7</DecimalExponent> | ||
</Field> | ||
<Field name="Magnetic Flux Density: Y-Axis"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>sint16</Format> | ||
<Unit>org.bluetooth.unit.magnetic_flux_density.tesla</Unit> | ||
<Description>This characteristic contains measurements of | ||
magnetic flux density for three orthogonal axes: X, Y and Z. | ||
This characteristic is composed of three fields having the | ||
same format: In order of LSO to MSO, the fields are: X-Axis, | ||
Y-Axis, Z-Axis. 1 x 10^-7 Tesla equals 0.001 | ||
Gauss.</Description> | ||
<DecimalExponent>-7</DecimalExponent> | ||
</Field> | ||
<Field name="Magnetic Flux Density: Z-Axis"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>sint16</Format> | ||
<Unit>org.bluetooth.unit.magnetic_flux_density.tesla</Unit> | ||
<Description>This characteristic contains measurements of | ||
magnetic flux density for three orthogonal axes: X, Y and Z. | ||
This characteristic is composed of three fields having the | ||
same format: In order of LSO to MSO, the fields are: X-Axis, | ||
Y-Axis, Z-Axis. 1 x 10^-7 Tesla equals 0.001 | ||
Gauss.</Description> | ||
<DecimalExponent>-7</DecimalExponent> | ||
</Field> | ||
</Value> | ||
<Note> | ||
<p>The fields in the above table are in the order of LSO to | ||
MSO. Where LSO = Least Significant Octet and MSO = Most | ||
Significant Octet</p> | ||
</Note> | ||
</Characteristic> |
22 changes: 22 additions & 0 deletions
22
org.bluetooth.characteristic.aerobic_heart_rate_lower_limit.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--Copyright 2014 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="Aerobic Heart Rate Lower Limit" | ||
type="org.bluetooth.characteristic.aerobic_heart_rate_lower_limit" | ||
uuid="2A7E" last-modified="2014-06-10" approved="Yes"> | ||
<InformativeText> | ||
<Abstract>Lower limit of the heart rate where the user enhances | ||
his endurance while exercising</Abstract> | ||
</InformativeText> | ||
<Value> | ||
<Field name="Aerobic Heart Rate Lower Limit"> | ||
<InformativeText>Unit is in beats per minute with a | ||
resolution of 1</InformativeText> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>uint8</Format> | ||
<Unit>org.bluetooth.unit.period.beats_per_minute</Unit> | ||
<DecimalExponent>0</DecimalExponent> | ||
</Field> | ||
</Value> | ||
</Characteristic> |
22 changes: 22 additions & 0 deletions
22
org.bluetooth.characteristic.aerobic_heart_rate_upper_limit.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--Copyright 2014 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="Aerobic Heart Rate Upper Limit" | ||
type="org.bluetooth.characteristic.aerobic_heart_rate_upper_limit" | ||
uuid="2A84" last-modified="2014-06-10" approved="Yes"> | ||
<InformativeText> | ||
<Abstract>Upper limit of the heart rate where the user enhances | ||
his endurance while exercising</Abstract> | ||
</InformativeText> | ||
<Value> | ||
<Field name="Aerobic Heart Rate Upper Limit"> | ||
<InformativeText>Unit is in beats per minute with a | ||
resolution of 1</InformativeText> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>uint8</Format> | ||
<Unit>org.bluetooth.unit.period.beats_per_minute</Unit> | ||
<DecimalExponent>0</DecimalExponent> | ||
</Field> | ||
</Value> | ||
</Characteristic> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--Copyright 2014 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="Aerobic Threshold" | ||
type="org.bluetooth.characteristic.aerobic_threshold" uuid="2A7F" | ||
last-modified="2014-06-10" approved="Yes"> | ||
<InformativeText> | ||
<Abstract>First metabolic threshold.</Abstract> | ||
</InformativeText> | ||
<Value> | ||
<Field name="Aerobic Threshold"> | ||
<InformativeText>The Unit is beats per minute with a | ||
resolution of 1</InformativeText> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>uint8</Format> | ||
<Unit>org.bluetooth.unit.period.beats_per_minute</Unit> | ||
<DecimalExponent>0</DecimalExponent> | ||
</Field> | ||
</Value> | ||
<Note> | ||
<p>Aerobic Threshold and Anaerobic Threshold together with the | ||
Sport Type for Aerobic and Anaerobic Thresholds describe the | ||
metabolic thresholds of the user. The Sport Type for Aerobic | ||
and Anaerobic Thresholds identifies how the measurement was | ||
performed.</p> | ||
</Note> | ||
</Characteristic> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--Copyright 2014 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="Age" | ||
type="org.bluetooth.characteristic.age" uuid="2A80" | ||
last-modified="2014-06-10" approved="Yes"> | ||
<InformativeText> | ||
<Abstract>Age of the User.</Abstract> | ||
</InformativeText> | ||
<Value> | ||
<Field name="Age"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>uint8</Format> | ||
<Unit>org.bluetooth.unit.time.year</Unit> | ||
</Field> | ||
</Value> | ||
</Characteristic> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--Copyright 2015 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="Aggregate" type="org.bluetooth.characteristic.aggregate" | ||
uuid="2A5A" last-modified="2015-07-14" approved="Yes"> | ||
<InformativeText> | ||
<Summary>The Aggregate Input is an aggregate of the Digital | ||
Input Characteristic value (if available) and ALL Analog Inputs | ||
available.</Summary> | ||
</InformativeText> | ||
<Value> | ||
<Field name="Input Bits"> | ||
<Requirement>Mandatory</Requirement> | ||
<Reference>org.bluetooth.characteristic.digital</Reference> | ||
<Repeated>true</Repeated> | ||
</Field> | ||
<Field name="Analog Input"> | ||
<Requirement>Mandatory</Requirement> | ||
<Reference>org.bluetooth.characteristic.analog</Reference> | ||
<Repeated>true</Repeated> | ||
</Field> | ||
</Value> | ||
<Note> | ||
<p>The fields in the above table, reading from top to bottom, | ||
are shown in the order of LSO to MSO, where LSO = Least | ||
Significant Octet and MSO = Most Significant Octet.</p> | ||
</Note> | ||
</Characteristic> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?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="Alert Category ID" | ||
type="org.bluetooth.characteristic.alert_category_id" uuid="2A43"> | ||
<InformativeText> | ||
<Abstract>Categories of alerts/messages.</Abstract> | ||
<Summary>The value of the characteristic is an unsigned 8 bit | ||
integer that has a fixed point exponent of 0. The Alert | ||
Category ID characteristic defines the predefined categories of | ||
messages as an enumeration.</Summary> | ||
<Examples> | ||
<Example>The value 0x01 is interpreted as ?Email?</Example> | ||
</Examples> | ||
</InformativeText> | ||
<Value> | ||
<Field name="Category ID"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>uint8</Format> | ||
<Minimum>0</Minimum> | ||
<Maximum>255</Maximum> | ||
<Enumerations> | ||
<Enumeration key="0" | ||
value="Simple Alert: General text alert or non-text alert" /> | ||
<Enumeration key="1" | ||
value="Email: Alert when Email messages arrives" /> | ||
<Enumeration key="2" | ||
value="News: News feeds such as RSS, Atom" /> | ||
<Enumeration key="3" value="Call: Incoming call" /> | ||
<Enumeration key="4" value="Missed call: Missed Call" /> | ||
<Enumeration key="5" | ||
value="SMS/MMS: SMS/MMS message arrives" /> | ||
<Enumeration key="6" value="Voice mail: Voice mail" /> | ||
<Enumeration key="7" | ||
value="Schedule: Alert occurred on calendar, planner" /> | ||
<Enumeration key="8" | ||
value="High Prioritized Alert: Alert that should be handled as high priority" /> | ||
<Enumeration key="9" | ||
value="Instant Message: Alert for incoming instant messages" /> | ||
<ReservedForFutureUse start="10" end="250" /> | ||
<DefinedByServiceSpecification start="251" end="255" /> | ||
</Enumerations> | ||
</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> |
Oops, something went wrong.