Changes for version 0.016 - 2020-06-18

  • Implement configuration of server session limits. Server config has methods getMaxSessions(), setMaxSessions(), getMaxSessionTimeout(), setMaxSessionTimeout().
  • Remove server newWithConfig() constructor. The 1.1 API would require a different implementation, but it is not used anyway.
  • open62541 has released version 1.1 of their library. The new API is slighlty different. Update github CI to ubuntu-20.04 and implement enough XS so that all tests are passed or skipped. This makes p5-opcua-open62541 work with both 1.0 and 1.1 open62541. Use Devel::CheckLib to find features of the library and add #ifdef to compile a working variant. Async connect works with 1.0 API only.
  • Start adding global node livecycle callbacks. Only the constructor callback has been implemented yet. Using the node context does not work.
  • Pack and unpack Guid to formated Perl string as in Part 6, 5.1.3. of the OPC UA specification.
  • During unpack of integer and float values, croak if an overflow is detected. This is better than a warning that nobody reads.
  • Provide pack and unpack functions for full namespace 0 if the open62541 library has been built with this option.
  • Set admin session context to provide a context for the global node livecycle callbacks. Implement server setAdminSessionContext() method.
  • Fix memory leak when server object is destroyed.

Documentation

export constants from open62541 to Perl

Modules

Perl XS wrapper for open62541 OPC UA library
export constants from open62541 to Perl
run open62541 client for testing
manage open62541 log file for testing
run open62541 server for testing