understanding conversions between CF and NS datatypes

2008-08-29 Thread Allen Curtis
Hello, I am writing a Cocoa application for accessing a serial device. (IOKit) In order to do this, you need to translate between CF and NS data types. (I believe) For instance: CFMutableArrayRef devicePaths = CFArrayCreateMutable(NULL, 0, NULL); GetSerialPortPaths(serialServices

Re: understanding conversions between CF and NS datatypes

2008-08-29 Thread Allen Curtis
", [serialPorts count]); This way I do not have multiple copies. The NSMutableArray is populated directly. TIA Allen On Fri, Aug 29, 2008 at 12:22 PM, Randall Meadows <[EMAIL PROTECTED]>wrote: > On Aug 29, 2008, at 11:38 AM, Allen Curtis wrote: > > I am writing a Cocoa applic

Bluetooth serial examples

2009-05-28 Thread Allen Curtis
Hello, I can not find any Bluetooth examples on the developer website. There was a link but it was broken. I have two problems that I am trying to solve: 1. The correct way to communicate with a Bluetooth serial port. The documentation indicated that there is a new method that provides be