-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rebase to dev3.7 * Adding 3.7 to travis configuration * Updated documentation to resolve warnings introduced with the longer names Updated requirements-docs.txt to include missing modules * Fixed reference to deprecated asynchronous * Adding gmp disable to fix pypy build issues * Adding gmp disable to fix pypy build issues * Removing travis python 3.7 configuration Commenting out python3.7 from Travis while waiting for support. You can run teh 3.7 tests with tox without issues * Adding asserts for Payload Endianness * Fixing example of Payload. Same Endianness for builder and decoder. * Fix Sql db slave context validate and get methods - #139 * #353 - debugging, Add debug logs to check size of avaialble data in read buffer * #353 Provide an option to disable inter char timeouts * #353 Bump version, update changelog * check self.socket (#354) * check self.socket self.socket might be None at this point * Update pymodbus/client/sync.py Co-Authored-By: mpf82 <[email protected]> * Fix typo (#378) * Pymodbus 2.2.0 (#375) * #357 Support registration of custom requests * #368 Fixes write to broadcast address When writing to broadcast address (unit_id=0) there should be no response according to the Modbus spec. This fix changes expected_response_length to 0 when writing to unit_id=0. This will break any existing code that is improperly using unit_id 0 for a slave address. * Bump version to 2.2.0 Fix #366 Update failures in sql context Update Changelog Fix major minor version in example codes * Fix #371 pymodbus repl on python3 * 1. Fix tornado async serial client `TypeError` while processing incoming packet. 2. Fix asyncio examples. 3. Minor update in factory.py, now server logs prints received request instead of only function cod * [fix v3] poprawa sprawdzania timeout * Release candidate for pymodbus 2.2.0 * Fix #377 when invalid port is supplied and minor updates in logging * #368 adds broadcast support for sync client and server Adds broadcast_enable parameter to client and server, default value is False. When true it will treat unit_id 0 as broadcast and execute requests on all server slave contexts and not send a response and on the client side will send the request and not try to receive a response. * #368 Fixes minor bug in broadcast support code * Fixed erronous CRC handling If the CRC recieved is not correct in my case my slave got caught in a deadlock, not taking any new requests. This addition fixed that. * Update Changelog * Fix test coverage * Fix #387 Transactions failing on 2.2.0rc2. * Task Cancellation and CRC Errors Alternate solution for #356 and #360. Changes the RTU to make the transaction ID as the unit ID instead of an ever incrementing number. Previously this transaction ID was always 0 on the receiving end but was the unique transaction ID on sending. As such the FIFO buffer made the most sense. By tying it to the unit ID, we can recover from failure modes such as: - - Asyncio task cancellations (eg. timeouts) #360 - Skipped responses from slaves. (hangs on master #360) - CRC Errors #356 - Busy response * Cherry pick commit from PR #367 , Update changelog , bump version to 2.2.0rc4 * #389 Support passing all serial port parameters to asynchronous server * Fix BinaryPayloadDecoder and Builder wrt to coils * Misc updates, bump version to 2.2.0 * ReportSlaveIdResponse now tries to get slave id based on server identity for pymodbus servers * Update missing bcrypt requirement for testing
- Loading branch information
1 parent
f0edef3
commit 2ef91e9
Showing
106 changed files
with
1,315 additions
and
689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[run] | ||
omit = | ||
pymodbus/repl/* | ||
pymodbus/repl/* | ||
pymodbus/internal/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pymodbus\.client\.asynchronous\.asyncio package | ||
=============================================== | ||
|
||
.. automodule:: pymodbus.client.asynchronous.asyncio | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
36 changes: 36 additions & 0 deletions
36
doc/source/library/pymodbus.client.asynchronous.factory.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
pymodbus\.client\.asynchronous\.factory package | ||
=============================================== | ||
|
||
.. automodule:: pymodbus.client.asynchronous.factory | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Submodules | ||
---------- | ||
|
||
pymodbus\.client\.asynchronous\.factory\.serial module | ||
------------------------------------------------------ | ||
|
||
.. automodule:: pymodbus.client.asynchronous.factory.serial | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pymodbus\.client\.asynchronous\.factory\.tcp module | ||
--------------------------------------------------- | ||
|
||
.. automodule:: pymodbus.client.asynchronous.factory.tcp | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pymodbus\.client\.asynchronous\.factory\.udp module | ||
--------------------------------------------------- | ||
|
||
.. automodule:: pymodbus.client.asynchronous.factory.udp | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
pymodbus\.client\.asynchronous package | ||
====================================== | ||
|
||
.. automodule:: pymodbus.client.asynchronous | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
|
||
pymodbus.client.asynchronous.asyncio | ||
pymodbus.client.asynchronous.factory | ||
pymodbus.client.asynchronous.schedulers | ||
pymodbus.client.asynchronous.tornado | ||
pymodbus.client.asynchronous.twisted | ||
|
||
Submodules | ||
---------- | ||
|
||
pymodbus\.client\.asynchronous\.serial module | ||
--------------------------------------------- | ||
|
||
.. automodule:: pymodbus.client.asynchronous.serial | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pymodbus\.client\.asynchronous\.tcp module | ||
------------------------------------------ | ||
|
||
.. automodule:: pymodbus.client.asynchronous.tcp | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pymodbus\.client\.asynchronous\.thread module | ||
--------------------------------------------- | ||
|
||
.. automodule:: pymodbus.client.asynchronous.thread | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pymodbus\.client\.asynchronous\.udp module | ||
------------------------------------------ | ||
|
||
.. automodule:: pymodbus.client.asynchronous.udp | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
8 changes: 8 additions & 0 deletions
8
doc/source/library/pymodbus.client.asynchronous.schedulers.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pymodbus\.client\.asynchronous\.schedulers package | ||
================================================== | ||
|
||
.. automodule:: pymodbus.client.asynchronous.schedulers | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pymodbus\.client\.asynchronous\.tornado package | ||
=============================================== | ||
|
||
.. automodule:: pymodbus.client.asynchronous.tornado | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pymodbus\.client\.asynchronous\.twisted package | ||
=============================================== | ||
|
||
.. automodule:: pymodbus.client.asynchronous.twisted | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ Subpackages | |
|
||
.. toctree:: | ||
|
||
pymodbus.client.async | ||
pymodbus.client.asynchronous | ||
|
||
Submodules | ||
---------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.