How to use OBEXAddTargetHeader ?
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 | bluetooth-dev@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/bluetooth-dev Do not post admin requests to the list. They will be ignored.
participants (1)
-
Kristoffer Peterhänsel