Skip to content
This repository was archived by the owner on Aug 24, 2020. It is now read-only.
/ php_serial Public archive

The class allows you to read the data directly from the server from the connected devices.

Notifications You must be signed in to change notification settings

Shitovdm/php_serial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP Serial Port

The class allows you to read the data directly from the server from the connected devices.

Only Linux is supported!

Example:

include 'PHPSerialClass.php';  
  
$serial = new PhpSerial;
$serial->deviceSet("/dev/ttyUSB0");  
$serial->confBaudRate(921600);  
$serial->confParity("none");  
$serial->confCharacterLength(8);  
$serial->confStopBits(1);  
$serial->confFlowControl("none");  
  
$serial->deviceOpen();  

Thanks:

https://github.com/Xowap/PHP-Serial
https://github.com/rubberneck/php-serial
https://github.com/meetanthony/crcphp

About

The class allows you to read the data directly from the server from the connected devices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages