Releases: aldas/modbus-tcp-client
Releases · aldas/modbus-tcp-client
3.5.1 - Allow unit ID to be in range of 0-255
- Allow unit ID to be in range of 0-255 #160
New functions: 11 and 17
3.4.1. small fixes for warnings
3.4.0 Endian fixes and examples improvements
Read*Builder knows how to avoid unaddressable address ranges
- AddressSplitter can avoid unaddressable ranges when splitting read requests #141
3.2.0 - Composer and AddressSplitter under scrutiny
- Made
Compose/*Builder
classes*AddressSplitter
field protected so extending classes can change that field. AddressSplitter
usesisFirstByte()
for byte sorting- Fixed parsing composer
WriteRegisterRequest
andWriteCoilRequest
requests - they should act as composerRead*Request
classes and return an array (empty in this case).Composer\Write\Register\WriteRegisterRequest
andComposer\Write\Coil\WriteCoilRequest
methodParse
now returnsarray|ErrorResponse
as interface implementation should.
3.1.1: RTU related fixes
RTU related improvements
- Added
Packet::isCompleteLengthRTU()
to help checking if packet is complete RTU packet. Helps when receiving fragmented packets. - Example for RTU over TCP with higher level API examples/rtu_over_tcp_with_higherlevel_api.php
3.0.1: Update Github CI flow to run on PRs (#120)
ResultContainer.offsetGet
was missing return type- Update Github CI flow to run on PRs
3.0.0 - PHP 8.0, types for arguments and return values, add FC22 Mask Write Register function support
Breaking change - types for all arguments/return values
Changed
- Minimum version is now PHP 8.0
- All method arguments and returns values have types now
- Examples use now up-to-date React event loop
Added
- Adds Function 22 (0x16) Mask Write Register support
- Use PHPStan for code static analysis in CI flow