[Ham-Mac] Serial devices names

Hal Mueller hal at seanet.com
Sun Sep 4 15:36:54 EDT 2011


When I've done that work in the past, I've used Andreas Mayer's AMSerialPort class. It provides notifications when devices are added and removed, and tells you the name of the new device. It's hosted at Sourceforge (http://amserial.svn.sourceforge.net/viewvc/amserial/), and uses a separate NSThread for each serial device. I've used it when talking to Keyspan, to a Bluetooth GPS, and to a Bluetooth-serial converter.

Two different forks are on Github (smokyonion/AMSerialPort and pizthewiz/AMSerialPort). It looks like smokyonion's fork uses NSOperation instead of NSThread. Both of the Github forks, and Andreas's version on Sourceforge, appear to be under active development. 

If you get your project up on a repository somewhere, I can test with the above devices, maybe an old Belkin adapter, and an AIS radio. I also have a Kenwood TH-D71 and Yaesu FT-350 I could try (those both have proprietary USB adapters that, under Windows, show up as COM: devices). Getting a decent preferences panel going for this was a pain, and if you're interested I can contribute some Core Data code that did that very nicely.

(with apologies to those who are not Cocoa developers!)

73
Hal
N3YX



More information about the Ham-Mac mailing list