Michael Croes
43b29825a4
Release S7NetPlus 0.16.0
...
Release highlights:
- Fix UInt32 reads in classes
- Add string support for classes
v0.16.0
0.16.0
2022-12-10 21:22:16 +01:00
Michael Croes
6aa0133081
Merge pull request #415 from scamille/fb-fixClassUint32
...
Fix ReadClass for UInt32
2022-12-10 21:12:28 +01:00
Michael Croes
868e719b78
Merge remote-tracking branch 's7netplus/develop' into fb-fixClassUint32
...
# Conflicts:
# S7.Net/Types/Class.cs
2022-12-10 21:09:29 +01:00
Michael Croes
3833d29c0e
Merge pull request #459 from mycroes/test-workflow
...
ci: Run test on ubuntu-20.04 due to lack of snap7 on newer ubuntu
2022-12-10 21:01:21 +01:00
Michael Croes
144f814794
Merge branch 'develop' into test-workflow
2022-12-10 20:58:29 +01:00
Michael Croes
82aaf7e2cb
Merge pull request #458 from MCPC10/StringSupportForClass
...
Added support for string/wstring in a class
2022-12-10 20:58:10 +01:00
Michael Croes
f47918946d
ci: Run test on ubuntu-20.04 due to lack of snap7 on newer ubuntu
2022-12-10 20:51:44 +01:00
Mike Cremer
142f1ba90e
Added support string/wstring for class type
2022-12-10 18:59:25 +01:00
Michael Croes
d99d0d0e6f
Release S7NetPlus 0.15.0
...
Release highlights:
- Add flowed cancellation to ConnectAsync
v0.15.0
2022-11-08 11:22:47 +01:00
Michael Croes
ce9f9f9e08
Merge pull request #423 from gfoidl/openasync_cancellation
...
Flowed cancellation token to TcpClient.ConnectAsync in .NET 5.0 target
2022-11-08 11:19:37 +01:00
Michael Croes
ea1140314b
Merge branch 'develop' into openasync_cancellation
2022-11-08 11:13:25 +01:00
Michael Croes
e3fad0b94f
Release S7NetPlus 0.14.0
...
Release highlights:
- Support setting the Encoding for S7String
v0.14.0
2022-06-17 23:14:48 +02:00
Michael Croes
7f76d4fc5a
Merge pull request #435 from ismdiego/develop
...
Allow changing the default Encoding used in S7String
2022-06-17 23:12:43 +02:00
diego
ec554ddb59
Better stringEncoding initialization, as per code review comments
2022-06-17 11:23:58 +02:00
diego
2ecd2c6b49
Changes following code review
2022-06-17 11:08:09 +02:00
diego
d808ea5eb6
Give the option of changing the Encoding used to serialize and deserialize S7String, instead of always using Encoding.ASCII
2022-06-16 17:21:23 +02:00
Günther Foidl
5d3f01e59e
Updated AppVeyor image to VS 2022 to allow better conditional compilation
2021-12-26 19:26:44 +01:00
Günther Foidl
9c3f95ce73
Flowed cancellation token to TcpClient.ConnectAsync in .NET 5.0 target
2021-12-26 19:26:04 +01:00
Serge Camille
12281ec802
Fix ReadClass for Uint32
...
Use consistent DWord conversion for both Int32 and UInt32. Unfortunately there is no Span or even a FromByteArray function accepting a offset, so just use the same Array.Copy falls used for double.
2021-10-04 18:59:05 +02:00
Serge Camille
8df1a9c8cb
Add unit test for ReadClass uint32 bug.
...
https://github.com/S7NetPlus/s7netplus/issues/414
2021-10-04 18:53:13 +02:00
Michael Croes
946536c2d6
Release S7NetPlus 0.13.0
...
Release highlights:
- Change default TSAP for S7 200
- Add S7 200 Smart support
- Add support for custom TSAP's
- Align data to even bytes when parsing responses from class and struct
reads
- Close connection on IOException
- Add cancellation for Read/Write
- Set default Read-/WriteTimeout to 10 seconds
- Cleanup of sync helper methods
v0.13.0
2021-06-21 21:52:25 +02:00
Michael Croes
b475aee2e7
Merge pull request #401 from scamille/test-ConnectionClose
...
Add unit test to ensure a connection has been properly closed
2021-06-10 17:04:42 +02:00
Serge Camille
82a745c972
Merge branch 'develop' into test-ConnectionClose
2021-06-08 22:53:30 +02:00
Serge Camille
74fecad48d
Remove cancel timeouts.
2021-06-08 22:47:12 +02:00
Michael Croes
37c63cea8e
Merge pull request #402 from mycroes/default-timeout
...
Default ReadTimeout and WriteTimeout to 10 seconds
2021-06-07 22:23:57 +02:00
Michael Croes
36c4564f5e
Default ReadTimeout and WriteTimeout to 10 seconds
2021-06-07 22:19:23 +02:00
Michael Croes
0c0200d12d
Merge pull request #400 from scamille/tests-taskCanceled
...
Fix Cancellation test.
2021-06-07 22:03:02 +02:00
Michael Croes
6e861d2f00
Merge branch 'develop' into tests-taskCanceled
2021-06-07 22:00:52 +02:00
Michael Croes
372f4a5dcb
Merge pull request #398 from mycroes/cleanup-sync
...
Cleanup sync
2021-06-07 21:26:41 +02:00
Serge Camille
0d87dbf3c6
Add unit test to ensure a connection has been properly closed
...
If cancelled during data transmission, #349 adds code to ensure that the connection automatically gets cancelled.
Add inerted test to ensure that cancellation before sending data does not result in a cancellation.
2021-06-07 14:49:06 +02:00
Serge Camille
15f94cd7bf
Fix Cancellation test.
2021-06-07 14:13:04 +02:00
Michael Croes
36b59a2926
Cleanup whitespace, usings
2021-06-06 23:20:19 +02:00
Michael Croes
8d081859da
Remove unused sync methods
2021-06-06 23:19:56 +02:00
Michael Croes
2302819650
Merge pull request #349 from scamille/closeConnectionIOException
...
Close connection on IOExceptions.
2021-06-06 22:58:27 +02:00
Michael Croes
d65b83660f
Merge branch 'develop' into closeConnectionIOException
2021-06-06 22:56:17 +02:00
Michael Croes
77b2ecfd45
Merge pull request #397 from scamille/multipleVarsAlignment
...
Fix ReadMultipleVars alignment bug
2021-06-06 22:51:03 +02:00
Michael Croes
b0a6a2375f
Merge branch 'develop' into multipleVarsAlignment
2021-06-06 22:49:33 +02:00
Michael Croes
14823bca96
Merge pull request #395 from mycroes/s7-200-cr
...
Change S7 200 remote TSAP to 10.01
2021-06-06 22:45:53 +02:00
Serge Camille
53045c5952
Close connection on IOExceptions.
...
The idea behind this is that if we receive a response which does not conform to the underlying protocol specification (with all the TCP checks in place!), we are in a weird/corrupt state and it is better to just close the connection.
2021-06-06 22:40:04 +02:00
Michael Croes
677d2941e1
Apply S7 200 TSAP change to relocated code
2021-06-06 22:33:12 +02:00
Michael Croes
66b693676c
Merge branch 'develop' into s7-200-cr
2021-06-06 22:32:41 +02:00
Michael Croes
4542bbedb2
Merge pull request #396 from mycroes/tsap
...
Refactor TSAP related code
2021-06-06 22:24:29 +02:00
Serge Camille
a4b6a360fe
ParseDataIntoDataItems needs to always align the response address to a even value after each data item.
2021-06-06 22:16:59 +02:00
Serge Camille
0bef6bc9ff
Add unit test for the problem.
2021-06-06 21:59:39 +02:00
Michael Croes
cbe04fbfb4
Merge branch 'develop' into tsap
2021-06-06 21:19:17 +02:00
Michael Croes
0b4c79cb08
Merge pull request #319 from scamille/githubActions2
...
GitHub actions
2021-06-06 21:14:26 +02:00
Serge Camille
5c24e801fd
Add Actions Nuget Cache ( #2 )
...
* Try out action cache
* fix syntax error
* Now lets see what happens if it hits the cache
2021-06-05 18:50:28 +02:00
Serge Camille
bcde65120c
Github Actions Net5.0 ( #1 )
...
* Try integrating dotnet setup version into build matrix.
* Another attempt
* change matrix.
* don't add dotnet-sdk as main matrix variable
* remove test framework as well.
* or maybe not
* Fix copy paste mixup
2021-06-05 18:37:35 +02:00
Serge Camille
4541a7ebb7
Try adjusting the dotnet setup version.
2021-06-05 18:11:06 +02:00
Serge Camille
fc9c33fdaf
Add Net5.0 to test project as well.
2021-06-05 17:59:18 +02:00