site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com - Eric On Nov 8, 2005, at 8:12 AM, Geoffrey Schmit wrote: Thanks! geoff -- Geoffrey Schmit Senior Software Engineer National Instruments geoffrey.schmit@ni.com www.ni.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/esb%40apple.com This email sent to esb@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... You can't directly create a TTY (serial port) through code. There is currently no public API to do that. As you've discovered, the Bluetooth Setup Assistant in Tiger does automatically create a serial port for you for the first Serial Port Profile it finds on the device. Our recommendation is to not use the TTY interface for talking to Serial Port Profile devices. It is much better to use the RFCOMM APIs and communicate directly using the IOBluetooth framework. There are examples on how to do this in the Bluetooth examples folder. 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Eric Brown