PHP-Serial icon indicating copy to clipboard operation
PHP-Serial copied to clipboard

Multi-platform convenience class to access the serial port from PHP

Results 35 PHP-Serial issues
Sort by recently updated
recently updated
newest added

Trying to connect from XAMPP to Arduino on windows I found out that PHP-Serial couldn't open the device. I solved the problem by following answer #13 at this link (...

Reference: "The reason is that with PHP 7.4 the array and string offset access syntax using curly braces is deprecated and it was removed entirely in PHP 8.0" Quote: I...

Hello, im new at serial connection, and i have a device which use AT Command. We're trying to send an EOF message (or ctrl+z i believe). How do you write...

My Code is working in my local windows machine. When I upload it to my linux and test it I am getting Specified serial port is not valid. I think...

readPort will always return more characters than the amount requested. If you iterate through this loop, you'll see this. $i is the # of characters read off the serial port,...

I am using Linux version 4.19.0-14-amd64 and PHP 7.4 and try to access a GSM modem. When `fopen('/dev/ttyS0', 'r+b')` is called within `deviceOpen()` method PHP is blocking and does not...

For the sake of saving time look at my stackoverflow question for overview https://stackoverflow.com/questions/64686285/why-is-my-array-not-populating-when-reading-the-serial-port-confirmed-communica Essentially what's happening is that this code has worked well for other scales we used, but...

With Raspberry - BUSTER ( PHP 7.3 ) stop working

Hello, First of all, thank you for this! Running perfectly on PHP 7.3.10 (XAMPP). At first I was having trouble sending serial messages to Arduino, until I realized Arduinos reset...