Something wrong with my Bluetooth Service plist
Something wrong with my Bluetooth Service plist
- Subject: Something wrong with my Bluetooth Service plist
- From: "Daniel Birns" <email@hidden>
- Date: Tue, 3 Apr 2007 20:22:27 -0700
Dear Bluetoothers,
When I call IOBluetoothAddServiceDict() with the sample plist, it works fine (naturally). When I use my plist, it fails.
If anyone has any insight into what's wrong with this plist, please let me know. I would be very grateful!
I notice that the sample has several records that we don't use:
0005 - BrowseGroupList*
0006 - LanguageBaseAttributeIDList
0009 - BluetoothProfileDescriptorList
0303 - Supported Formats List
And finally, I wonder why some of the descriptions in the example have asterisks at the end of the name.
Here's my plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST
1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>0000 - ServiceRecordHandle*</key>
<integer>0</integer>
<key>0001 - ServiceClassIDList</key>
<array>
<data>
HJHpz9LIUkuxmOgc1BLyUQ==
</data>
</array>
<key>0004 - ProtocolDescriptorList</key>
<array>
<array>
<data>
AQA=
</data>
<data>
AAM=
</data>
</array>
<array>
<data>
AAM=
</data>
<data>
BQ==
</data>
</array>
</array>
<key>0008 - ServiceAvailability</key>
<data>
/w==
</data>
<key>0100 - ServiceName*</key>
<string>DartDevice01</string>
<key>0101 - ServiceDescription</key>
<string>DartEngine</string>
</dict>
</plist>
The ServiceClassIDList is
<1c91e9cf d2c8524b b198e81c d412f251 >
the Protocol Descriptor list works out to 2 arrays of data
2 items
<0100>
<0003>
2 items
<0003>
<05>
And the ServiceAvailability is simply <ff>
--Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden