Loading
581 views
communicating to hardware
Page 1
1–3
Obj/C is C (and Obj/C++ is C++) and the Mac is UNIX. So you can use all the usual Unix serial port stuff such as ioctl. Here's something I found using google: http://www.easysw.com/~mike/serial/serial.html
The Cocoa Frameworks provide support for a lot (maybe all) of the Mac GUI (Aqua). They also provide Foundation classes for data (Dictionaries, Arrays and so on). There's a lot of support for Graphics, PDF and WebKit. Some parts of the operating system (file IO, sockets, network access, finder) are also covered. However, in the end, there are aspect of the system (for example many opensource libraries) for which there are no Cocoa "Wrappers" and then you'll have to use the conventional API.
Of course there are quite a number of third-party libraries on the web. I googled and found this: http://www.thohensee.com/?p=25
I hope that helps.
I too am about to start working on integrating FTDI USB library into my cocoa app so that I can connect and talk to my custom hardware. From what I gather a firm understanding of unix is required to get the drivers into your system, the next challenge will be to use them.
Good luck
Page 1
1–3