Commit Graph

172 Commits

Author SHA1 Message Date
Martin Regen cfd6cfa670 fix cr feedback, typos 2017-01-24 11:26:10 +01:00
Martin Regen 81abf02e97 UaSCBinary is now UaSCUaBinary according to UA-SC UA Binary in the spec 2017-01-23 17:10:49 +01:00
Martin Regen b04df2b4d5 TcpClientChannel is now UaScBinaryClientChannel 2017-01-23 16:30:54 +01:00
Martin Regen d450ef96a8 make TransportChannel generic 2017-01-23 13:19:12 +01:00
Martin Regen dbc32544da refactoring the client channels. Works with Opc.Ua.Proxy. Allows to replace just the socket layer, so the channel, binary encoding and security can be reused. 2017-01-20 18:46:28 +01:00
Martin Regen 8d4bc674c4 add debugtype to project.json 2017-01-12 11:26:46 +01:00
Martin Regen f8876e2f35 reduce usage of Task.Run
build debugType portable
2017-01-12 11:24:16 +01:00
Martin Regen e04661eff1 finalize doc updates 2017-01-05 15:22:37 +01:00
Martin Regen 4b4d724c40 doc updates for new samples 2017-01-05 13:40:21 +01:00
Martin Regen ae47aab52b fix CRLF in UTF-32 to UTF-8 converted C# source 2017-01-04 16:04:44 +01:00
Martin Regen d755e25e7a Port Aggregation server sample to .NetStandardLibrary
- tested aggregation client/server with sample server/client
- added a console aggregation server for .Net Core platforms
2017-01-04 15:45:56 +01:00
Martin Regen ca84bad9f8 fix a null pointer exception if app configuration is client only 2017-01-04 11:51:08 +01:00
Martin Regen 17123d28e1 Convert UTF-32 C# sources to UTF-8 (#14)
Causing problems when CRLF conversion is enabled and when diffing in PR.

* SampleServer.cs to UTF-8

* SampleServer.SampleModel.cs to UTF-8

* SampleServer.UserAuthentication.cs to UTF-8

* remove .cs extension from forced text attribute

* DataComparer.cs to UTF-8

* Program.cs to UTF-8
2017-01-03 15:23:44 +01:00
Martin Regen 62d6435c4a fix a build warning and crlf due to UTF-8 encoding 2017-01-02 12:46:45 +01:00
Martin Regen 3affdeb0df Transcode to UTF-8 2017-01-02 12:18:59 +01:00
Erich Barnstedt fb97b66906 Fix encoding of 2 source files and removed a stale TODO. 2017-01-02 10:48:31 +01:00
Martin Regen 9399d1761e CTT test ref server improvements
- implement more test functions
- implement MultiStateValueDiscreteItem ValueAsText Property
- add Nodes for AccessLevel_xxx_NotUser tests
- keep only one copy of ref server sources
2016-12-22 18:29:24 +01:00
Martin Regen 5afd38e345 CTT monitored item fix, XMLElement not changed was not properly detected 2016-12-22 18:12:16 +01:00
Martin Regen c0d2c7746f fix all .Net configs to use %CommonApplicationData% and LDS 2016-12-22 18:11:10 +01:00
Martin Regen df5963824e Fix registration for LDS which do not support the RegisterServer2 2016-12-22 17:09:51 +01:00
Erich Barnstedt 560063893a Merge pull request #100 from cristipogacean/master
Added support for LDS-ME (merged from https://github.com/cristipogacean/UA-.NET)
2016-12-19 15:47:32 +01:00
Martin Regen d2a35e93c9 custom transport channel needs a factory function to create a new instance per session 2016-12-19 13:51:53 +01:00
Cristian Pogacean 4773374018 Added support for LDS-ME.
RegisterServer2() is called as first option for LDS registration of the server.
The ClientControls was extended to use FindServersonNetwork() into the LDS-ME for discovering the OPC UA Servers announcing themselves using Bonjour services.
2016-12-18 20:37:57 +01:00
Martin Regen a7ce895f7c -Move all uanodes and txt resources into dlls
-delete the obsolete uanodes/txt files in project folders

note: clean build required, make sure all dll are updated in bin folders or resources in dll may not be found
2016-12-16 16:00:17 +01:00
Erich Barnstedt 9e8ebc867a Small cleanup. 2016-12-09 09:07:17 +01:00
Erich Barnstedt d7c2faf9d9 Merge pull request #94 from mregen/proto_master
Create self signed certs in Opc.Ua.Core
2016-12-09 08:31:55 +01:00
Martin Regen 5c370bd742 cert creation fixes
- certs were not created on Linux w. Openssl if a passcode was missing from the pkcs12 store
- stabilize the creation on windows where UWP is picky about the storage keys to use
- CR feedback
2016-12-08 18:35:31 +01:00
Erich Barnstedt 59100e60b3 Merge pull request #93 from jonnybi/master
added missing checkDomain flag
2016-12-08 16:14:38 +01:00
Martin Regen 2148d65084 improve cert handling of sample apps
- create self signed cert on first start (kudos to bouncy castle)
- fix path handling in many areas,
- ./ or ../ is treated as rooted dir
- special %LocalFolder% for UWP apps to allow to write certs in app temp storage
- all batch helpers to create certs removed
2016-12-07 18:29:24 +01:00
Erich Barnstedt edf3ef8767 Only renamed "IoTProxy" to "Custom" to be more generic. 2016-12-06 15:19:36 +01:00
Martin Regen 07b70aeae0 fix console client applicationuri to match cert uri. 2016-12-06 10:11:14 +01:00
Erich Barnstedt e50ea96da2 Merge pull request #92 from mregen/proto_master
- use latest generated and schema files from UA Nodeset (10/19/16) (h…
2016-12-05 21:26:00 +01:00
Johannes Bickel 343f8cc871 added missing checkDomain flag
the session open does not respect the session's checkDomain flag
2016-12-05 16:22:54 +01:00
Martin Regen 29c5519dae - use latest generated and schema files from UA Nodeset (10/19/16) (https://github.com/OPCFoundation/UA-Nodeset)
- remove some yet unsupported functionality for GDS/Pubsub
2016-12-05 14:52:51 +01:00
Erich Barnstedt c4481965ad Merge pull request #91 from OPCFoundation/prototyping
Support for custom transport channel and modified sample app to show usage
2016-12-05 12:51:09 +01:00
Martin Regen a62d11c3fb Basic256Sha256 support 2016-12-02 22:35:00 +01:00
Erich Barnstedt 78973da178 Added support for custom transport channel. 2016-12-02 17:15:35 +01:00
Martin Regen d082cd4ac7 remove #ifed code 2016-12-01 17:29:41 +01:00
Martin Regen da6b068f9b - CTT testing, improve various test cases, mostly disagnostic related. 2016-12-01 17:14:35 +01:00
Martin Regen baf6f3f6e2 Merge master with prototypes 2016-11-29 12:04:05 +01:00
Martin Regen 7204cc37cc fix issues found during IOP workshop:
- shouldn't check client nonce if there is policy is None
- don't validate hostname when using ip address to connect
- user token need a sec policy
2016-11-28 18:24:13 +01:00
Martin Regen 368d64493c revert publisher config typos 2016-11-14 23:36:33 +01:00
Martin Regen 55810c6bf0 Pass CTT Security/Security User X509 test cases 2016-11-13 22:08:39 +01:00
Martin Regen 8a87a9f50b fix ObjectDisposedexception and CTT CloseSession BadSessionNotActivated 2016-11-13 19:44:17 +01:00
Martin Regen 58243bf7ca fix CTT test: Subscription Services/Subscription Basic/Err-004: Subscription should expire after its lifetime 2016-11-12 18:55:29 +01:00
Martin Regen 71334315b3 fix CTT test Sessino Services/Session Base/Err-001.js
Create 2 sessions, use the same nonce twice! Expected BadNonceInvalid.
2016-11-12 16:42:19 +01:00
Martin Regen d72724e80c update known working security policies, disable auto accept 2016-11-12 09:00:09 +01:00
Martin Regen 1287791c4f turn off tracing 2016-11-11 16:09:57 +01:00
Martin Regen 0760916637 Merge pull request #8 from OPCFoundation/prototyping
Merge Publisher fixes
2016-11-11 12:22:08 +01:00
Erich Barnstedt dba46b47c0 Merge pull request #85 from mregen/publisher_fixes
Console Publisher fixes
2016-11-11 11:18:50 +01:00