[Ham-Mac] Serial devices names
T. Joseph Carter
kf7qzc at spiritsubstance.com
Sun Sep 4 21:35:06 EDT 2011
I'll have a look, thanks! My serial port access is done in POSIX C
because I intend the result to be cross-platform, with native UIs for
different platforms. Only a handful of open source software packages
seem to do it that way, but they're the ones I tend to find behave as
expected on the various OSes, so that's how I'm doing it. :)
My first bit of code is for the Wouxun HTs. The closest to native
software to access them is owx (which didn't work) or CHIRP (which
did, but is rather incomplete, requires X11, and is not going to ever
work with VoiceOver!) I don't need VoiceOver, but I have friend who
certainly do!
I was backing up, restoring, and read/modify/writing the Wouxun
memory map within a couple of hours. That leaves polish, reading and
writing data formats, nice features like scanning multiple likely
serial ports, and of course writing a UI that isn't just plain awful
to use. It's the result of all of those many months working on
pilot-link back in the day.
Anyway, as it happens, my choice to make the core program portable C
is welcome to others, particularly blind users on Windows. It
requires very advanced skills with JAWS to use the official Wouxun
software (which I found difficult enough to use without it!) Third
party alternative KG-UV Commander, in addition to its annoying habit
of crashing with an error message if you tab through a blank field
and leave it blank, is even worse accessibility-wise.
Time to work on it has been sketchy, but progress has been good.
Joseph - KF7QZC
On Sun, Sep 04, 2011 at 12:36:54PM -0700, Hal Mueller wrote:
>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
>
>______________________________________________________________
>Ham-Mac mailing list
>Home: http://mailman.qth.net/mailman/listinfo/ham-mac
>Help: http://mailman.qth.net/mmfaq.htm
>Post: mailto:Ham-Mac at mailman.qth.net
>
>This list hosted by: http://www.qsl.net
>Please help support this email list: http://www.qsl.net/donate.html
More information about the Ham-Mac
mailing list