Add another example service record

This commit is contained in:
Marcel Holtmann 2006-11-22 06:26:52 +00:00
parent b2afe935ff
commit 40e353d0f5
3 changed files with 38 additions and 11 deletions

View File

@ -61,7 +61,7 @@ AM_YFLAGS = -d
CLEANFILES = lexer.c parser.c parser.h
EXTRA_DIST = $(man_MANS) hcid.conf bluetooth.conf \
service-record.dtd service-opp.xml dbus-api.txt
EXTRA_DIST = $(man_MANS) hcid.conf bluetooth.conf dbus-api.txt \
service-record.dtd service-did.xml service-opp.xml
MAINTAINERCLEANFILES = Makefile.in

33
hcid/service-did.xml Normal file
View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8" ?>
<record>
<attribute id="0x0001">
<sequence>
<uuid value="0x1200"/>
</sequence>
</attribute>
<attribute id="0x0200">
<uint16 value="0x0102" name="id"/>
</attribute>
<attribute id="0x0201">
<uint16 value="0x0a12" name="vendor"/>
</attribute>
<attribute id="0x0202">
<uint16 value="0x4711" name="product"/>
</attribute>
<attribute id="0x0203">
<uint16 value="0x0000" name="version"/>
</attribute>
<attribute id="0x0204">
<boolean value="true"/>
</attribute>
<attribute id="0x0205">
<uint16 value="0x0002" name="source"/>
</attribute>
</record>

View File

@ -14,7 +14,7 @@
</sequence>
<sequence>
<uuid value="0x0003"/>
<uint8 value="23"/>
<uint8 value="23" name="channel"/>
</sequence>
<sequence>
<uuid value="0x0008"/>
@ -22,23 +22,17 @@
</sequence>
</attribute>
<attribute id="0x0005">
<sequence>
<uuid value="0x1002"/>
</sequence>
</attribute>
<attribute id="0x0009">
<sequence>
<sequence>
<uuid value="0x1105"/>
<uint16 value="0x0100"/>
<uint16 value="0x0100" name="version"/>
</sequence>
</sequence>
</attribute>
<attribute id="0x0100">
<text value="OBEX Object Push"/>
<text value="OBEX Object Push" name="name"/>
</attribute>
<attribute id="0x0303">