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

fixing read and write for Windows

Open mattficken opened this issue 11 years ago • 1 comments

reads used to have to wait for 4k or 8k buffer to fill, this fixes that by calling stream_set_chunk_size() on Windows.

PHP on Windows doesn't support COM10 or higher, but for COM1-COM9 this works for me on Windows 7 with an Arduino (Serial over USB using FTDI driver for Windows).

mattficken avatar Mar 22 '14 21:03 mattficken

Very interesting :)

I'm looking into this before merging it, just give me a few days

Xowap avatar Mar 24 '14 15:03 Xowap