Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i Open Serial Port of Dock connector in iOS 5.0.1

I can successfully open the serial port of iPhone/iPad in lower version than iOs 5. with the use of

open("/dev/tty.iap", O_RDWR | O_NOCTTY | O_ASYNC))

but i got error "Operation not permitted" in iOS 5 .

(I used the Serial Programming for communicating accessory and iPhone)

Is there any one have idea about this.

Thanks.

like image 468
Raj Avatar asked Dec 05 '11 12:12

Raj


1 Answers

Since it also doesn't work for me I think Apple blocked serial access on iOS5+. Stefan Esser (@i0n1c on twitter) just had a talk about this at a security conference. I'm waiting for the slides so then we know what happened to serial

like image 147
Alexander Meiler Avatar answered Nov 02 '22 23:11

Alexander Meiler