Commit Graph

14 Commits (37eaa19f4f3376929464913e9c565122fdf193d5)

Author SHA1 Message Date
toimtoimtoim 95ecf4bf5b Rename ModbusSocket to ModbusConnection, support php5.4 8 years ago
toimtoimtoim 2fbbbc5842 read more than 2048 bytes from stream 9 years ago
toimtoimtoim f6818a21c4 let modbus add send packet to status message, clean a little WriteMultipleCoilsPacket methods 9 years ago
toimtoimtoim 604ba8586c replace dependency to sockets extension to built-in stream API 9 years ago
toimtoimtoim c7c4431b1c refactor all packet related or socket related code to separate classes 9 years ago
toimtoimtoim 8637a19572 refactor thrown exceptions to be more specific than just Exception class 9 years ago
toimtoimtoim 1e1c8ee5ce refactor socket send and receive to separate method to reduce code duplication 9 years ago
toimtoimtoim dea30f53b4 reformat code and run PHP Code Sniffer beautifier 9 years ago
Ondřej Hruška 61e7a690eb Minor cleanup, removed duplicate timeout vars & replaced with float [sec], added socket Tout setter 9 years ago
toimtoimtoim 7365700b72 cleanup 9 years ago
toimtoimtoim cff8493205 refactor timeout_usec to millisecond precision and add setter for ms. 9 years ago
toimtoimtoim e10bb250d8 Use microsecond precision instead of second for timeout when reading from sockets. 9 years ago
Ondřej Hruška dd5a892fb6 Cleaned up the code, fixed broken phpdoc tags, formatting 9 years ago
Ondřej Hruška 5300b2a867 added a namespace 9 years ago