interfacing php with serial port on linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raza
    New Member
    • May 2006
    • 1

    interfacing php with serial port on linux

    i have to access the serial port for controlling hardware, i have found the php_ser.dll for serial communication. but this dll is for windows only. i need to do the same job on linux plateform.i need the dll for linux that can receive or transmit data on serial port .so help me
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    I have a feeling that on Linux there is no real destinction between files and com ports they are both just devices and can be opened with fopen (or possibly dio_open).

    For instance /dev/ttyS0 is COM1 can can be used in dio_open.

    Comment

    Working...