Jump to content

Does anyone know how to make Serial.php read serial data on Windows platforms?


jeofva

Recommended Posts

I'm attempting to write an AJAX/PHP script that will poll the serial port on my XP laptop with NMEA 0813 data fed from a GPS attached to the serial port.  I had planned to use the PHP_Serial class written by Rémy Sanchez

(http://www.phpclasses.org/browse/package/3679.html)

but, it appears that the Windows routine for reading data from the port has been left conspicuously unimplemented.  That, of course, is critical to the project, so I was wondering if anyone here might know how to fix it - or at least what the algorithm is for reading data from a serial port (once a link has been established), so I might take a stab at fixing it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.