Re: NSFileHandle, serial port, Resource temporarily unavailable exception
Re: NSFileHandle, serial port, Resource temporarily unavailable exception
- Subject: Re: NSFileHandle, serial port, Resource temporarily unavailable exception
- From: "Sean McBride" <email@hidden>
- Date: Mon, 26 May 2008 18:13:49 -0400
- Organization: Rogue Research
On 5/26/08 3:06 PM, Robert Kukuchka said:
> I'm trying to do some serial port communication using NSFIleHandles.
>I've having a lot of trouble consistently getting data from the device
>I'm communicating with. I'll frequently get maybe a single packet of
>data, and subsequent calls to availableData result in a "Resource
>temporarily unavailable" exception being thrown. Admittedly I'm pretty
>new to serial port communication in this capacity. What trees do I
>want to start barking down to debug this issue? Also, what would cause
>me to have to scrap using NSFileHandle and use CFSocket APIs?
I suggest you try AMSerialPort:
<http://www.harmless.de/cocoa-code.php>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden