-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatt.xml
105 lines (92 loc) · 6.63 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--Custom BLE GATT-->
<gatt generic_attribute_service="true" header="gatt_db.h" name="Custom BLE GATT" out="gatt_db.c" prefix="gattdb_">
<capabilities_declare>
<capability enable="false">mesh_provisioning_service</capability>
<capability enable="false">mesh_proxy_service</capability>
<capability enable="false">mesh_default</capability>
</capabilities_declare>
<!--Generic Access-->
<service advertise="false" name="Generic Access" requirement="mandatory" sourceId="org.bluetooth.service.generic_access" type="primary" uuid="1800">
<informativeText>Abstract: The generic_access service contains generic information about the device. All available Characteristics are readonly. </informativeText>
<capabilities>
<capability>mesh_default</capability>
</capabilities>
<!--Device Name-->
<characteristic id="device_name" name="Device Name" sourceId="org.bluetooth.characteristic.gap.device_name" uuid="2A00">
<informativeText/>
<value length="20" type="utf-8" variable_length="true">BlueGecko Mesh Demo </value>
<properties const="false" const_requirement="optional" read="true" read_requirement="mandatory"/>
</characteristic>
<!--Appearance-->
<characteristic name="Appearance" sourceId="org.bluetooth.characteristic.gap.appearance" uuid="2A01">
<informativeText>Abstract: The external appearance of this device. The values are composed of a category (10-bits) and sub-categories (6-bits). </informativeText>
<value length="2" type="hex" variable_length="false">4003</value>
<properties const="true" const_requirement="optional" read="true" read_requirement="mandatory"/>
</characteristic>
</service>
<!--Device Information-->
<service advertise="false" id="manufacturer" name="Device Information" requirement="mandatory" sourceId="org.bluetooth.service.device_information" type="primary" uuid="180A">
<informativeText>Abstract: The Device Information Service exposes manufacturer and/or vendor information about a device. Summary: This service exposes manufacturer information about a device. The Device Information Service is instantiated as a Primary Service. Only one instance of the Device Information Service is exposed on a device. </informativeText>
<capabilities>
<capability>mesh_default</capability>
</capabilities>
<!--Manufacturer Name String-->
<characteristic name="Manufacturer Name String" sourceId="org.bluetooth.characteristic.manufacturer_name_string" uuid="2A29">
<informativeText>Abstract: The value of this characteristic is a UTF-8 string representing the name of the manufacturer of the device. </informativeText>
<value length="12" type="utf-8" variable_length="false">Silicon Labs</value>
<properties const="true" const_requirement="optional" read="true" read_requirement="mandatory"/>
</characteristic>
</service>
<!--Mesh Provisioning Service-->
<service advertise="false" name="Mesh Provisioning Service" requirement="mandatory" sourceId="com.silabs.service.mesh_provisioning" type="primary" uuid="1827">
<informativeText>Abstract: The Mesh Provisioning Service allows a Provisioning Client to provision a Provisioning Server to allow it to participate in the mesh network. </informativeText>
<capabilities>
<capability>mesh_provisioning_service</capability>
</capabilities>
<!--Mesh Provisioning Data In-->
<characteristic name="Mesh Provisioning Data In" sourceId="com.silabs.characteristic.mesh_provisioning_data_in" uuid="2adb">
<informativeText>Abstract: The Mesh Provisioning Data In characteristic can be written to send a Proxy PDU message containing Provisioning PDU to the Provisioning Server. </informativeText>
<value length="0" type="user" variable_length="false"/>
<properties write_no_response="true" write_no_response_requirement="mandatory"/>
</characteristic>
<!--Mesh Provisioning Data Out-->
<characteristic name="Mesh Provisioning Data Out" sourceId="com.silabs.characteristic.mesh_provisioning_data_out" uuid="2adc">
<informativeText>Abstract: The Mesh Provisioning Data Out characteristic can be notified to send a Proxy PDU message containing Provisioning PDU from a Provisioning Server to a Provisioning Client. </informativeText>
<value length="0" type="user" variable_length="false"/>
<properties notify="true" notify_requirement="mandatory"/>
</characteristic>
</service>
<!--Mesh Proxy Service-->
<service advertise="false" name="Mesh Proxy Service" requirement="mandatory" sourceId="com.silabs.service.mesh_proxy" type="primary" uuid="1828">
<informativeText>Abstract: The Mesh Proxy Service is used to enable a server to send and receive Proxy PDUs with a client. </informativeText>
<capabilities>
<capability>mesh_proxy_service</capability>
</capabilities>
<!--Mesh Proxy Data In-->
<characteristic name="Mesh Proxy Data In" sourceId="com.silabs.characteristic.mesh_proxy_data_in" uuid="2add">
<informativeText>Abstract: The Mesh Proxy Data In characteristic is used by the client to send Proxy PDUs to the server </informativeText>
<value length="0" type="user" variable_length="false"/>
<properties write_no_response="true" write_no_response_requirement="mandatory"/>
</characteristic>
<!--Mesh Proxy Data Out-->
<characteristic name="Mesh Proxy Data Out" sourceId="com.silabs.characteristic.mesh_proxy_data_out" uuid="2ade">
<informativeText>Abstract: The Mesh Proxy Data Out characteristic is used by the server to send Proxy PDUs to the client. </informativeText>
<value length="0" type="user" variable_length="false"/>
<properties notify="true" notify_requirement="mandatory"/>
</characteristic>
</service>
<!--Silicon Labs OTA-->
<service advertise="false" name="Silicon Labs OTA" requirement="mandatory" sourceId="com.silabs.service.ota" type="primary" uuid="1D14D6EE-FD63-4FA1-BFA4-8F47B42119F0">
<informativeText>Abstract: The Silicon Labs OTA Service enables over-the-air firmware update of the device. </informativeText>
<capabilities>
<capability>mesh_default</capability>
</capabilities>
<!--Silicon Labs OTA Control-->
<characteristic id="ota_control" name="Silicon Labs OTA Control" sourceId="com.silabs.characteristic.ota_control" uuid="F7BF3564-FB6D-4E53-88A4-5E37E0326063">
<informativeText>Abstract: Silicon Labs OTA Control. </informativeText>
<value length="1" type="user" variable_length="false"/>
<properties write="true" write_requirement="optional"/>
</characteristic>
</service>
</gatt>