• 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: [iOS] Any way to connect to serial port in simulator?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iOS] Any way to connect to serial port in simulator?


  • Subject: Re: [iOS] Any way to connect to serial port in simulator?
  • From: Rick Mann <email@hidden>
  • Date: Sun, 12 Jun 2011 21:54:43 -0700

On Jun 12, 2011, at 19:19 , Rick Mann wrote:

> Is there any way to connect to a serial port under the emulator? Calls like open() and fcntl() are hidden in the headers, as are constants like O_RDWR, O_NOCTTY, et al.

Oh, nevermind, it seems that the necessary header is included a little bit differently under iOS. Had to explicitly include <sys/fcntl.h>.

--
Rick


_______________________________________________

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: 
 >[iOS] Any way to connect to serial port in simulator? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: ObjC stdin equivalent? and other questions
  • Next by Date: Re: Parent-child Design Pattern
  • Previous by thread: [iOS] Any way to connect to serial port in simulator?
  • Next by thread: ScriptingBridge Not working same as Applescript
  • Index(es):
    • Date
    • Thread