Re: OBEX Server setup
Re: OBEX Server setup
- Subject: Re: OBEX Server setup
- From: Bubba Giles <email@hidden>
- Date: Tue, 18 Mar 2003 10:58:31 -0800
Hi Paul,
You need to use
IOBluetoothOBEXSessionCreateWithIncomingIOBluetoothRFCOMMChannel()
Or
+(IOBluetoothOBEXSession*)withIncomingRFCOMMChannel:(IOBluetoothRFCOMMChanne
l*)inChannel
With the RFCOMM channel that is in your service record. Once the RFCOMM
channel is opened by a remote device, you should start receiving data on the
event selector your pass to either of those methods.
Jason
email@hidden
>
To whom it may concern:
>
>
I am trying to create an OBEX server. I publish my own Service record and
>
setup the OBEXEvent callback routine using the obj C OBEXSession method
>
setEventCallback: The documentation is somewhat confusing and there seems to
>
be multiple ways to accomplish the same task for configuring an OBEX server.
>
Bottom line is I never see the EventCallback routine being invoked when the
>
client requests an OBEXConnection. Do you have any simple example code that
>
shows what is required to set up an OBEX Server? Any help would be
>
appreciated.
>
>
Regards,
>
>
Paul Davis
_______________________________________________
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.