Home · All Classes · Grouped Classes · Annotated · Functions

SerialPortSDPRecord.xml Example File
bluetooth/bluetoothservice/SerialPortSDPRecord.xml

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

    This is an XML file describing an SDP service record for a Serial Port
    service.

    You can use the linux sdptool command to create a file like this for
    publishing your Bluetooth services. See the "Creating a Bluetooth service"
    tutorial for more details.
    -->

    <record>
            <attribute id="0x0001">
                    <sequence>
                            <uuid value="0x1101" />
                    </sequence>
            </attribute>
            <attribute id="0x0004">
                    <sequence>
                            <sequence>
                                    <uuid value="0x0100" />
                            </sequence>
                            <sequence>
                                    <uuid value="0x0003" />
                                    <uint8 value="0x05" />
                            </sequence>
                    </sequence>
            </attribute>
            <attribute id="0x0005">
                    <sequence>
                            <uuid value="0x1002" />
                    </sequence>
            </attribute>
            <attribute id="0x0006">
                    <sequence>
                            <uint16 value="0x656e" />
                            <uint16 value="0x006a" />
                            <uint16 value="0x0100" />
                    </sequence>
            </attribute>
            <attribute id="0x0009">
                    <sequence>
                            <sequence>
                                    <uuid value="0x1101" />
                                    <uint16 value="0x0100" />
                            </sequence>
                    </sequence>
            </attribute>
            <attribute id="0x0100">
                    <text value="Serial Port" />
            </attribute>
            <attribute id="0x0101">
                    <text value="COM Port" />
            </attribute>
    </record>


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3