PHP Classes

Socket connection to com port: How to communicate with a COM port?

Recommend this page to a friend!
  All requests RSS feed  >  Socket connection to com port  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Socket connection to com port

Edit

Picture of Aaditiya Gupta by Aaditiya Gupta - 10 years ago (2015-03-27)

How to communicate with a COM port?

This request is clear and relevant.
This request is not clear or is not relevant.

+7

I want to connect and communicate with a COM port?

  • 2 Clarification requests
  • 2. Picture of Jonathan F Pelaez by Jonathan F Pelaez - 9 years ago (2015-09-18) Reply

    Kindly gived more details about this? Thanks

    • 1. Picture of Jonathan F Pelaez by Jonathan F Pelaez - 9 years ago (2015-09-18) Reply

      Kindly gived more details about this? Thanks

      Ask clarification

      1 Recommendation

      PHP Serial: Communicate with a serial port

      This class can be used to communicate with a serial port under Linux or Windows.

      It takes the path (like "/dev/ttyS0" for linux or "COM1" for windows) of serial device and checks whether it is valid before opening a connection to it.

      Once the connection is opened, it can send data to the serial port, and read answers (reading is only implemented for Linux).

      The class may also change connection parameters for the given serial device.

      The class is working with Linux for read and write operations, but under Windows it only works for write operations. Under Windiws try accessing the serial port through network with serproxy instead.

      The class have been reported to work fine with Mac OS X, but it was not tested it.
      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +3

      Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 9 years ago (2015-08-16) Comment

      If you want to communicate with a serial COM port, this class is precisely for that purpose.


      Recommend package
      : 
      :