Re: Serial Ports and DialUpNetworking ( for the apple guys )
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Thread-index: AcZG6xPLUpxqVLLeEdqWEgAKlacvWA== Thread-topic: Serial Ports and DialUpNetworking ( for the apple guys ) User-agent: Microsoft-Entourage/11.2.1.051004 If a device has a serial port, we will create a tty for it in the Setup Assistant. Check the Bluetooth prefs, select the device in the list, and click "Edit Serial Ports" and you should see the TTY that was created for it in the list. Also, check in /dev for it. The "internet connect" option in the Setup Assistant configures the DUN/Serial port on the device for use with the "Bluetooth Modem" port that is in the Network control panel, but we should still create a serial port for the device if it has one. Jason
So, I already know there is no way to programatically create a serial port for a given bluetooth device.... or is there?
For the apple guys,
Reading through the docs online, I was initially hesitant to move my "legacy" serial port code over to RFCOMM. But, after reading "Accessing Serial Ports" in "Working with Bluetooth Devices" enough times, I was convinced it would be a good idea to upgrade my code. And hey, I could use the proper bluetooth UIs. So, I updated all my serial code to RFCOMM.
But then...
Did you guys consider the possibility of a developer *needing* access to the standard POSIX ttys, even *with* proper bluetooth device handling? For, perhaps, internet connection software? I notice that the bluetooth setup wizard only creates a serial port if the user selects "Use this device to connect to the internet with". Did you guys ever consider, your not the only one thats going to want to do that?
The application I am updating, is in fact an internet connection manager! I love the new bluetooth UIs in my application, but now that I am at the final phase of updating my code, I realized, *crap*, I STILL NEED a POSIX serial port. I need a modem path to configure in System Configuration so that my application can actually create an internet connection!!!!
What do I do now?? There *must* be a way to create it. You guys are doing it...... Please advise.
Sincerely Morgan
_______________________________________________ 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/bubba%40apple.com
This email sent to bubba@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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Bubba Giles