How to use OBEXAddTargetHeader ?
How to use OBEXAddTargetHeader ?
- Subject: How to use OBEXAddTargetHeader ?
- From: Kristoffer Peterhänsel <email@hidden>
- Date: Thu, 2 Jan 2003 00:56:56 +0100
- Resent-date: Thu, 2 Jan 2003 01:10:40 +0100
- Resent-from: Kristoffer Peterhänsel <email@hidden>
- Resent-message-id: <email@hidden m>
- Resent-to: email@hidden
Ok. I give up. What does one have to pass to the OBEXAddTargetHeader
(and similar functions). The documentation makes is sound like it's the
same as say, OBEXAddTypeHeader. They are both supposed to 'Add a
CFStringRef to a dictionary of OBEXheaders'.
But obviously they are not the same at all. Where OBEXAddTypeHeader
specifically takes a CFStringRef OBEXAddTargetHeader takes a void
pointer and a length of the data in it. I have tried to put the data
into it in may different ways now. And all of them results in the
following message on the console when calling OBEXHeadersToBytes:
****** leaking object added to OBEX headers dictionary; the passed
dictionary needs to use the default value callbacks! ******
And the device (a Sony Ericsson P800 I am trying to do SyncML over OBEX
with) will respond with a command in my OBEXSession that isn't defined.
And it is impossible to connect to it again for awhile.
So. Please. What do I pass to the function?
/Kristoffer Peterhdnsel
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.