Re: STILL problems with OBEX
Re: STILL problems with OBEX
- Subject: Re: STILL problems with OBEX
- From: mat davidson <email@hidden>
- Date: Tue, 5 Jul 2005 13:51:44 -0700
Christian=
You were close, but....
1.) You don't need to do an SDP query on the device, IOBluetoothDeviceSelector will do that for you. If you did want to do an SDP query, you would need to setup the appropriate callbacks for that and then do your FileTransferServices operations when the SDP is completed.
2.) You were also searching for the "OBEX Object Push" service and then connecting to the FTP service. Your device may support one and not the other. Rather than enumerating through the device services, its easier to tell the DeviceSelector to only search for devices with a certain service UUID.
3.) You don't need to call "openConnection" on your device object, Im pretty sure the baseband connection will be open when you get the reference from the device-selector.
Overall, it looks like your device was probably just overwhelmed with queries and requests. I've made the needed changes and was able to connect to my Mac's FTP service.
Enjoy!
|
Attachment:
SpamController.m
Description: Binary data
Attachment:
SpamController.h
Description: Binary data
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