ios - How To Connect To A Device Over IP Adress In Objective-C -
i high school student interested in theatre programming. attempting make app our theatre ipad connect our lighting console. ipad has app want bare minimum. trying make faceplate panel in app. familiar objective-c not sure how connect , control console on ip address app console manufactures does. how go doing this? example code? tutorials?
thanks, thomas
so bigger answer , more of general rule of thumb guide rather concrete solution.
to connect device on ip, same connecting via internet, has discoverable, , have ports open. if can find both of things, better hope has api! if device has no api, shit out of luck unless want hack (which cannot do, thats how security works @ level tinkering at).
so, if there api, consume it.
here links apis/ rest
http://www.restapitutorial.com/lessons/whatisrest.html
http://en.wikipedia.org/wiki/representational_state_transfer
http://www.webopedia.com/term/a/api.html
if have api, use required get/post/put/patch/delete etc http calls.
so, if not have one.
if not have one, , somehow manage ssh or telnet (you need ip, port, user , password (if have linux/unix/mac (mac unix) can try nmap find ip , port on local network, if there. http://nmap.org/)
http://en.wikipedia.org/wiki/secure_shell
http://en.wikipedia.org/wiki/telnet
if somehow manage in, write api device consume. bare in mind possible if far, lighting console packaged binary cannot alter anyway.
Comments
Post a Comment