Re: HOWTO: Mac OS X Bluetooth Serial Ports on Leopard
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Thread-index: AchLopn32Lbp7LeVEdyT+AAWy8trhg== Thread-topic: HOWTO: Mac OS X Bluetooth Serial Ports on Leopard User-agent: Microsoft-Entourage/11.3.6.070618 When a device has a serial port and this port is announced in the Service Directory Protocol, the pairing process generates a serial port. These ports look like (listed in "Terminal" by " ls /dev"): cu.Bluetooth-Modem cu.NM_NokiaN73_DIALUP-1 cu.Nokia3110c-COM1-1 You can check which ports are created for a device in "System Preferences > Bluetooth" select the device, then "Advanced...". For test purposes you can use "ZTerm" to communicate with a device using these ports. Now you can use standard IO functions to operate on the serial ports. Alternatively you can use the Bluetooth Manager functions, there is a sample app in the developer expamples: /Developer/Examples/Bluetooth/RFCOMM_Open_SPP_Example Regards, Ralf On 31.12.2007 7:09 Uhr, "Michael A. Crawford" <michaelacrawford@mac.com> wrote:
I have an embedded device that communicates via BT SPP and I would like to talk to it using these ports.
Anyone have a clue how to make these work? Instead of writing a custom Bluetooth application, I though it would be much easier and faster to take some test code I have from an embedded platform and make it talk to a standard TTY driver. But I have not quite figured out how to get create, manage, and connect Bluetooth serial ports on Leopard.
Anyone have any experience with this?
-Michael _______________________________________________ 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/ralf_menssen%40web.de
This email sent to ralf_menssen@web.de
-- ======================================= Ralf Menssen Hektorstr. 20 10711 Berlin Germany Tel.: 030-54710131 Mobil: 0163-6404842 Mail: ralf_menssen@web.de ======================================= _______________________________________________ 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)
-
Ralf Menssen