• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFileHandle, serial port, Resource temporarily unavailable exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSFileHandle, serial port, Resource temporarily unavailable exception (From: Robert Kukuchka <email@hidden>)

  • Prev by Date: NSFileHandle, serial port, Resource temporarily unavailable exception
  • Next by Date: Re: Draw an NSImage and then erase some parts with NSBezierPath
  • Previous by thread: NSFileHandle, serial port, Resource temporarily unavailable exception
  • Next by thread: running an external app
  • Index(es):
    • Date
    • Thread