-
Notifications
You must be signed in to change notification settings - Fork 47
/
org.bluetooth.characteristic.alert_level.xml
37 lines (37 loc) · 1.44 KB
/
org.bluetooth.characteristic.alert_level.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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 Level" type="org.bluetooth.characteristic.alert_level"
uuid="2A06">
<InformativeText>
<Abstract>The level of an alert a device is to sound. If this
level is changed while the alert is being sounded, the new
level should take effect.</Abstract>
<Summary>The value of the characteristic shall be an unsigned 8
bit integer that has a fixed point exponent of 0. The Alert
Level characteristic defines the level of alert, and is one of
the following three values:
<p>? Value 0, meaning ?No Alert?</p>
<p>? Value 1, meaning ?Mild Alert?</p>
<p>? Value 2, meaning ?High Alert?</p></Summary>
<Examples>
<Example>The value 0x01 is interpreted as ?Mild
Alert?</Example>
</Examples>
</InformativeText>
<Value>
<Field name="Alert Level">
<Requirement>Mandatory</Requirement>
<Format>uint8</Format>
<Minimum>0</Minimum>
<Maximum>2</Maximum>
<Enumerations>
<Enumeration key="0" value="No Alert" />
<Enumeration key="1" value="Mild Alert" />
<Enumeration key="2" value="High Alert" />
<Reserved start="3" end="255" />
</Enumerations>
</Field>
</Value>
</Characteristic>