Hi, folks, Newbie (to Python) here. I'm porting a Python app from Windows that talks to a Bluetooth 2.1 device using the serial profile (on WinXP it shows up as two numbered COM ports, one inbound and the other outbound) On the Mac, the device shows up in /dev as:
crw-rw-rw- 1 root wheel 18, 7 May 30 23:12 cu.BlueRadios-COM0 On Windows, the app requires me to install pyserial (and pygame for the visual output). On the Mac, where I've installed and am using python 2.7.3 (rather than the pre-installed 2.6.7), my app starts up and acts like it doesn't need to have pyserial installed, but of course, it can't connect to the expected numbered COM port. 1. Do I need the Mac equivalent of pyserial? 2. Or can I just stuff something like '/dev/cu.BlueRadios-COM0' in the app's source code where it expects to open the serial port. 3. Anything special about the Bluetooth serial profile (e.g., setting port properties)? Mike PS: Pointers to the appropriate docs appreciated and I promise to RTFM :-)
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG