Problems with creating strings for a SDPServiceRecord using plists
Problems with creating strings for a SDPServiceRecord using plists
- Subject: Problems with creating strings for a SDPServiceRecord using plists
- From: Thomas Tempelmann <email@hidden>
- Date: Mon, 26 Mar 2007 21:52:51 +0100
- Thread-topic: Problems with creating strings for a SDPServiceRecord using plists
I believe I've found two bugs with the plist-to-SDP translation.
I had already written quite a long article about this but then lost it all
due to a bug in MS Entourage. When I tried to invoke the "feedback" page for
this product, I got an empty page. Go figure...
Anyways, here's what I found, in short:
1. Boolean entries should be translated into records of type "Boolean", but
they instead they get stored as type "integer".
2. Even worse, I cannot seem to store non-textual bytes (e.g. byte sequences
containing 0x00 etc.) as strings. This is even a bigger flaw as I cannot
work around this other than doing it in code. Or does someone know how I
would store a string with, say, 40 bytes, using the plist?
Thomas
_______________________________________________
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