1. 07 Oct, 2021 13 commits
  2. 05 Oct, 2021 1 commit
    • Marko Kohtala's avatar
      Add missing await in uals -l -d · dd351f57
      Marko Kohtala authored
      Running uals recursively with -l option gives RuntimeWarning:
      
      ```
      $ uals -d 3 -l
      Browsing node i=84 at opc.tcp://localhost:4840
      
      DisplayName                    NodeId                    BrowseName                DataType   Timestamp                      Value
      
      Traceback (most recent call last):
        File ".../opcua-asyncio/tools/uals", line 11, in <module>
          uals()
        File ".../opcua-asyncio/asyncua/tools.py", line 342, in uals
          asyncio.run(_uals())
        File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
          return loop.run_until_complete(main)
        File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
          return future.result()
        File ".../opcua-asyncio/asyncua/tools.py", line 368, in _uals
          await _lsprint_long(node, args.depth - 1)
        File ".../opcua-asyncio/asyncua/tools.py", line 442, in _lsprint_long
          name, bname, nclass, mask, umask, dtype, val = [attr.Value.Value for attr in attrs]
      TypeError: 'coroutine' object is not iterable
      sys:1: RuntimeWarning: coroutine 'Node.read_attributes' was never awaited
      ```
      dd351f57
  3. 03 Oct, 2021 1 commit
    • Alexander Schrode's avatar
      Support OptionSets · b19881b9
      Alexander Schrode authored
      Support OptionSets from Part5 7.17 like UadpNetworkMessageContentMask. In nodesets they are UAEnumerations with attribut "IsOptionSet" = True
      b19881b9
  4. 01 Oct, 2021 3 commits
    • Alexander Schrode's avatar
      Fix default GUID · cd9efa7b
      Alexander Schrode authored
      Fixed generation for default values for GUID. Now an empty GUID is generated.
      cd9efa7b
    • Julien Prigent's avatar
      [Sec_Policy] Handle server certificate renewal gracefully · bd0b51b8
      Julien Prigent authored
      When a client reconnects, it can require to clear its security_policy
      settings to deal with situations where the peer_certificate has
      changed for example (regular server cert renewal).
      
      This PR introduces the `reset_security_policy()` client method to handle
      this use-case, and adds it to the HaClient reconnection mechanism.
      
      Note: We could arguably invoke this method from `set_security()` as they
      often will be called together, but according to [OPC-UA Part4 5.4.4](https://reference.opcfoundation.org/v104/Core/docs/Part4/5.4.4/),
      the GetEndpoints service may require TLS and so enforcing an empty policy would break this use-case.
      bd0b51b8
    • Curious Crook's avatar
      Fix crash if server does not provide DiscoveryUrls · 49b611bd
      Curious Crook authored
      The OPC UA specification does not forbid that a server does not offer DiscoveryUrls. This can lead to a crash when calling the function application_to_strings().
      
      Check DiscoveryUrls for None or empty before iterating to avoid the crash described in #1127.
      49b611bd
  5. 21 Sep, 2021 1 commit
  6. 10 Sep, 2021 1 commit
  7. 02 Sep, 2021 1 commit
  8. 19 Aug, 2021 3 commits
  9. 20 Jul, 2021 3 commits
  10. 19 Jul, 2021 3 commits
  11. 07 Jul, 2021 1 commit
    • Fabian Beitler's avatar
      Fix browsename uniqueness for properties (#619) · 0a1741c8
      Fabian Beitler authored
      * Remove old uniqueness check
      Add check that properties are unique in one hierarchy
      
      * Replace old duplicates browsename test with duplicated property browsename test.
      Remove duplicated browsename test with different ns.
      0a1741c8
  12. 06 Jul, 2021 4 commits
  13. 23 Jun, 2021 2 commits
  14. 12 Jun, 2021 3 commits