Re: Programmatically Create Serial Port
Re: Programmatically Create Serial Port
- Subject: Re: Programmatically Create Serial Port
- From: Joseph Kelly <email@hidden>
- Date: Tue, 8 Nov 2005 09:37:27 -0800
Look in the RFCOMM Client Sample project (in Examples) -- in
particular, ChatBluettothInterface_ObjC.m -connectToServer:. Use the
kBluetoothSDPUUID16ServiceClassSerialPort constant to create the UUID.
hope that helps,
joe
On Nov 8, 2005, at 8:12 AM, Geoffrey Schmit wrote:
I'm developing an application that will discover and pair with my
Bluetooth device. Using the IOBluetoothPairingController class, I
can successfully pair with the device. However, I also need to
have a serial port created (the device supports the serial port
profile). This does not not happen as a result of the pairing
operation. I did noticed that when I use the Bluetooth Setup
Assistant to pair with my device, a serial port is created. So, it
appears that the Bluetooth Setup Assistant is doing more than just
pairing with the device. What is it doing? How can I create the
serial port from within my application?
I'm currently developing on Mac OS X 10.4, but will need to support
Mac OS X 10.3 as well.
Thanks!
geoff
--
Geoffrey Schmit
Senior Software Engineer
National Instruments
email@hidden
www.ni.com
_______________________________________________
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
_______________________________________________
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