-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatt.xml
58 lines (46 loc) · 2.26 KB
/
gatt.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
57
58
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<!-- 1800: org.bluetooth.service.generic_access -->
<service uuid="1800" id="generic_access">
<description>Generic Access</description>
<!-- 2A00: org.bluetooth.characteristic.gap.device_name -->
<characteristic uuid="2A00" id="c_device_name">
<description>Device Name</description>
<properties read="true" const="true" />
<value>RSS Scanner</value>
</characteristic>
<!-- 2A01: org.bluetooth.characteristic.gap.appearance -->
<characteristic uuid="2A01" id="c_appearance">
<description>Appearance</description>
<properties read="true" const="true" />
<value type="hex">0100</value>
</characteristic>
</service>
<!-- 180A: org.bluetooth.service.device_information -->
<service uuid="180A" id="device_information">
<description>Device Information</description>
<!-- 2A29: org.bluetooth.characteristic.manufacturer_name_string -->
<characteristic uuid="2A29" id="c_manufacturer_name">
<description>Manufacturer Name</description>
<properties read="true" const="true" />
<value>Bluegiga</value>
</characteristic>
<!-- 2A24: org.bluetooth.characteristic.model_number_string -->
<characteristic uuid="2A24" id="c_model_number">
<description>Model Number</description>
<properties read="true" const="true" />
<value>BLED112</value>
</characteristic>
</service>
<!-- custom service for collecting RSS values of sourrounding beacons -->
<service uuid="c480adfa-b33a-11e6-80f5-76304dec7eb7" advertise="true" id="rss_collector">
<description>RSS scanning</description>
<!-- custom characteristic: rss value to a beacon in the vicinity -->
<characteristic uuid="c480b318-b33a-11e6-80f5-76304dec7eb7" id="c_beacons_rss">
<description>RSS value of a specific beacon</description>
<properties notify="true" />
<!-- Beacon ID | Location ID | RSS value -->
<value length="3" />
</characteristic>
</service>
</configuration>