Skip to content. | Skip to navigation

Personal tools

Sections

gatt.xml

Extensible Markup Language (XML) icon gatt.xml — Extensible Markup Language (XML), 1 KB (1943 bytes)

File contents

<?xml version="1.0" encoding="UTF-8" ?>
<configuration>

    <service uuid="1800">
      <description>Generic Access Profile</description>

      <characteristic uuid="2a00" id="xgatt_name">
        <properties read="true" />
        <value>MOEDAEAccel V01H</value>
      </characteristic>

      <characteristic uuid="2a01">
        <properties read="true" const="true" />
        <value type="hex">4142</value>
      </characteristic>
    </service>

    <service type="primary" uuid="9000" id="manufacturer">
        <characteristic uuid="9100">
            <properties read="true" const="true" />
            <value type="hex">000780c0ffeef00d</value>
        </characteristic>
        <characteristic uuid="9101">
            <properties read="true" const="true" />
            <value>modelnumber</value>
        </characteristic>
        <characteristic uuid="9106">
            <properties read="true" const="true" />
            <value>Bluegiga</value>
        </characteristic>
    </service>

    <service uuid="e001">
       <description>Battery status</description>
       <include id="manufacturer" />
      <characteristic uuid="e101" id="xgatt_battery">
          <properties read="true" notify="true" />
          <value type="hex">ABCD</value>
      </characteristic>
    </service>
    
    <service uuid="6d480f49-91d3-4a18-be29-0d27f4109c24" advertise="true" >
        <description>Bluegiga accelerometer demo service</description>
        <characteristic uuid="11c3876c-9bda-42cc-a30b-1be83c8059d4" id="xyz_data">
            <properties read="true" notify="true"/>
            <value type="hex">000000</value>
        </characteristic>
        <characteristic uuid="7c55527b-4027-42ae-ae6d-6d1309e5d97f" id="g_range">
            <properties read="true" write="true"/>
            <value type="hex">00</value>
        </characteristic>
    </service>
</configuration>