Allow writes larger than MTU to be sent at once.
Write is broken up into chunks sized by MTU so they can be sent in a loop.
Adds a short sleeps in a large write operation so the reading thread
has a change to notify about reads.
Adds a NSLock in favour of the synchonized(self) blocks.
Reverses commits
Make writes happen asynchronously. This allows for data to be read while reading.
However, this impacts the callback... currently it calls back before the data has been passed to hardware. We could pass the write baton down through to the refcon param in writeAsync:length:refcon and call back once all data has been written instead. More discussion needed.
Adds locks around the reads and writes so reads are allowed while writing and the
callback to the javascript layer is only called when all the data has been writen.
Fixes blocking writes.
Undoes changes in the examples.
Removes print statement.
Fixes reset off the channel delegate
Adds license.
Merge branch 'issue-24'
Updates the readme to reflect the merge changes.