send ir signals iPhone -
i develop app control ir receivers iphone. used arduino detect values of command remote, , have this:
on
1250, 450, 1200, 450, 350, 1300, 1250, 450, 1200, 450, 400, 1300, 350, 1300, 350, 1300, 400, 1300, 350, 1300, 1200, 450, 350
off
1150, 550, 1150, 500, 350, 1300, 1150, 550, 1150, 500, 300, 1350, 350, 1300, 400, 1300, 350, 1300, 350, 1350, 350, 1300, 1200
i have build transmitter based on jack 3.5, send values through jack of iphone. how can it? there library or framework in swift or objective-c can me? in app store there app called "tv remote" want, , works samsung tv, has database of values , tv. develop app control electric fun or led stripe or other. can give me advice please?
you can read data through iphone's headjack, if bandwidth of signal fits bandwidth of iphone's a/d-converter, 20hz 20khz.
also @ project: https://code.google.com/p/hijack-main/
the incoming data must modulated @ frequencies within passband of iphone microphone input. although many have suggested limits data rate, in fact 19 khz audio wideband signal, capable of dozens of kilobits per second.
there's following library: http://www.crudebyte.com/jack-ios/sdk/