First Serial Project
The Redpark serial DB-9 connector is pretty cool. The cable of course enables communication through the serial connector, but the package also includes a DB-9 female connector. This cable allows you to run the demo application included in the Redpark Serial Cable SDK and any data written to the serial cable using the Redpark SDK is echoed back by the female connector.

The Redpark SDK includes a manager object, which is exposes methods to communicate using the serial cable. The manager provides methods to read/write to/from the serial cable in addition to several methods to get status and configure the connection parameters.
First Serial
The First Serial project is a very simply project. The view contains a label to display the connection state. A simple text input field for text input. This text is written using the functions exposed by the manager object. The delegate method is notified when there is data available to read. The project includes an initial implementation of an Objective-C Category to read/write NSData and NSStrings which simplifies the development of apps.
Code Essentials
Initialize the manager and set delegate:
self.rscMgr = [[RscMgr alloc] init];
[self.rscMgr setDelegate:self];
Implement delegate methods, to handle serial cable connection state:
- (void)cableConnected:(NSString *)protocol { … }
- (void)cableDisconnected { … }
Implement delegate method when data is available:
- (void)readBytesAvailable:(UInt32)length { … }
Use category methods to send data through the serial cable:
[self.rscMgr writeString:self.inputField.text];