Folder Browsing on a BT phone
Folder Browsing on a BT phone
- Subject: Folder Browsing on a BT phone
- From: "Dr. Victor Kulesh" <email@hidden>
- Date: Thu, 10 Jul 2003 00:36:48 -0400
I am having trouble with OBEXSessionConnect when I try to get a
directory listing.
here is my code:
CFMutableDictionaryRef dictionary;
unsigned char uuid[16];
CFMutableDataRef aGetHeadersDataRef;
// Traget Header mmust be set to the Folder Browsing UUID:
F9EC7BC4-953C-11D2-984E-525400DC9E09
uuid[0] = 0xF9;
uuid[1] = 0xEC;
uuid[2] = 0x7B;
uuid[3] = 0xC4;
uuid[4] = 0x95;
uuid[5] = 0x3C;
uuid[6] = 0x11;
uuid[7] = 0xD2;
uuid[8] = 0x98;
uuid[9] = 0x4E;
uuid[10] = 0x52;
uuid[11] = 0x54;
uuid[12] = 0x00;
uuid[13] = 0xDC;
uuid[14] = 0x9E;
uuid[15] = 0x09;
OBEXAddTargetHeader( uuid, 16, dictionary );
aGetHeadersDataRef = OBEXHeadersToBytes( dictionary );
status = OBEXSessionConnect( mOBEXSessionRef,
kOBEXConnectFlagNone, // connect flags
350, // max packet size
(void*) CFDataGetBytePtr(
aGetHeadersDataRef ), // headers
CFDataGetLength( aGetHeadersDataRef
), // header size
ConnectedCallback, // callback
self ); // refcon
I get status == 23963856
Any ideas? thanks.
Victor
_______________________________________________
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.