> 
> Again, it really doesn’t matter which port of the pair you call out in the 
> application, just set it up properly and use it. That means setting it up 
> completely, including blocking characteristics and handshaking. And, if you 
> want it to work well, use GCD blocks to handle the reads so that you spend 
> minimal time in the handler code. That definitely gives cool to the system.
> 

yeah I converted all my code to using dispatch sources a while back - which 
means you have to open it non-blocking anyway else GCD doesn’t like it. I just 
looked and I do turn the DTR requirement off, I set every flag to a known-state 
so it probably would work with /dev/tty’s again, I haven’t tried since I wrote 
it long ago. I shall try. 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/usb/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to