Help - Search - Members - Calendar
Full Version: Send/Receive a serial command over HTML?
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
xNBSx
Im not really a web programmer, but I tinker with things from time to time.

My previous company had a web based setup that enabled us to send and receive serial commands to a remote device that had a dedicated IP address. I do know they used to use mySQL to store a lot of the info but im not sure how it all worked.

Basically Im trying to find out if theres an easy way to send a command to a device, and then receive its info back on a page.

I was thinking the page would have a place to enter the ip address, and then a place to enter in the command (most cases would be something similar to ^I101000 (where ^ is used in place in control).

Apologies way ahead of time if I seem way off base or dont have my facts straight.

Hopefully someone can help me in the right direction.

Ive called some local web guys and done a bit of talking with people, but no one seems to know what the heck im talking about or how to do this.
xNBSx
Finally got a hold of someone at the previous company who could help me out. Of course it was right after i wrote this post!!

They use fsockopen with fwrite and fread.

Now I have to research and see If i cant use that fairly easily!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.