-
Notifications
You must be signed in to change notification settings - Fork 47
/
org.bluetooth.characteristic.alert_status.xml
56 lines (56 loc) · 2.12 KB
/
org.bluetooth.characteristic.alert_status.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?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 Status"
type="org.bluetooth.characteristic.alert_status" uuid="2A3F"
last-modified="2011-08-30" approved="Yes">
<InformativeText>
<Abstract>The Alert Status characteristic defines the Status of
alert.
<p>Bit 0, meaning ?Ringer State?</p>
<p>Bit 1, meaning ?Vibrator State?</p>
<p>Bit 2, meaning "Display Alert Status"</p></Abstract>
<Examples>
<Example>Bit 0, 0 meaning ?Ringer State? not active, 1
meaning ?Ringer State? active</Example>
<Example>Bit 1, 0 meaning ?Vibrator State? not active, 1
meaning ?Vibrator State? active</Example>
<Example>Bit 2, 0 meaning ?Display Alert State? not active, 1
meaning ?Display Alert State? active</Example>
</Examples>
</InformativeText>
<Value>
<Field name="Alert Status">
<Requirement>Mandatory</Requirement>
<Format>uint8</Format>
<Minimum>0</Minimum>
<Maximum>2</Maximum>
<BitField>
<Bit index="0" size="1" name="Ringer State">
<Enumerations>
<Enumeration key="0" value="Ringer State not active" />
<Enumeration key="1" value="Ringer State active" />
</Enumerations>
</Bit>
<Bit index="1" size="1" name="Vibrate State">
<Enumerations>
<Enumeration key="0"
value="Vibrate State not active" />
<Enumeration key="1" value="Vibrate State active" />
</Enumerations>
</Bit>
<Bit index="2" size="1" name="Display Alert Status">
<Enumerations>
<Enumeration key="0"
value="Display Alert Status not active" />
<Enumeration key="1"
value="Display Alert Status State active" />
</Enumerations>
</Bit>
<ReservedForFutureUse index="3" size="5">
</ReservedForFutureUse>
</BitField>
</Field>
</Value>
</Characteristic>