User guide

Silicon Labs Page of 10 21
Attribute Description
sdp
This option can be used to exclude the service from classic BT SDP database.
Options:
true : UUID is included in SDP database (default)
false : UUID is not included in SDP database
Example: A 128-bit vendor specific service the UUID which will be included in the advertisement data:
<service uuid="0bd51666-e7cb-469b-8e4d-2742f1ba77cc" advertise="true">
You can generate your own 128-bit UUIDs at
http://www.itu.int/en/ITU-T/asn1/Pages/UUID/uuids.aspx
Example: A standardized which is included in the advertisement data:
Bluetooth SIG Heart Rate Service
<service uuid="180a" advertise="true">
3.2.2 <description> : Service Description element
The XML element can be used for informative purposes (commenting) and are not exposed in the
<description>
actual GATT database.
3.2.3 <include> : Service Include element
The service element and its attribute are used to define another service in the gatt.xml that should be
<include>
included within this service.
Attribute Description
id
This attribute refers to the service ID of the other service that should be included within this
service.
Example: Including Hear Rate service (having id of "hrs" in its definition element) within GAP service
<!-- Generic Access Service -->
<service uuid="1800">
<!-- Include HR Service -->
<include id="hrs” />
</service>