Communicating with Netlinx from a wifi enabled PDA device.
JMadsen
Posts: 6
I?ve got a request to look into using a wifi PDA to control some aspects of a Netlinx NI3100 system. Basically the customer already has a TP (MVP8400) already but would like to be able to control a subset of the TP functionality from the PDA.
So I?m thinking this would involve writing a program for the PDA (probably in C or Java) that opens a TCP/IP connection to Netlinx and sends channel push commands, in effect emulating the actual TP, as I figure that would be the easiest solution. I guess the questions I have are how to go about this i.e.
1) To be able to emulate TP push commands I would need open a TCP/IP connection and use the ICSP protocol, right?
2) And if so are there any C/Java modules out there that I could use to do this so I don?t have to do the low level coding of ICSP of which I can?t seem find any documentation on anyways?
3) As a newbie I might be going about this all wrong and if so are there any better suggestions out there?
Any responses would be much appreciated,
J
So I?m thinking this would involve writing a program for the PDA (probably in C or Java) that opens a TCP/IP connection to Netlinx and sends channel push commands, in effect emulating the actual TP, as I figure that would be the easiest solution. I guess the questions I have are how to go about this i.e.
1) To be able to emulate TP push commands I would need open a TCP/IP connection and use the ICSP protocol, right?
2) And if so are there any C/Java modules out there that I could use to do this so I don?t have to do the low level coding of ICSP of which I can?t seem find any documentation on anyways?
3) As a newbie I might be going about this all wrong and if so are there any better suggestions out there?
Any responses would be much appreciated,
J
0
Comments
If one could develope an interface using VBasic or whatnot. (or perhaps even Flash) that communicated vi IP, you'd be set. There have been some threads in this forum about creating such applets. Since the Netlinx master is fairly open-ended when it comes to IP communications, a person should be able to develope something. Security is a whole different issue.
Would you be able to expand on how to create your own IP server or better yet point me in direction of some samples?
The reason I wanted to just emulate the panel is that the Netlinx program for that is done and dusted so my thinking was that that would be the easiest. As mentioned previously I haven?t been able to dig up any useful information on ICSP so I don?t know how hard it would be to create client code to send the push commands ? I basically ?just? need the same functionality as the Netlinx Studio device emulator with a GUI on top?
Thanks,
J
Take a look at this telnet server that I posted earlier today:
http://www.amxforums.com/showthread.php?t=323
Thanks again!
J