[go: up one dir, main page]

PyS2OPC (client): Add timeout on synchronous call + Add missing status codes

Description

Add timeout for synchronous call.

Code version identification

469e51b0

Current behavior

There is no mechanism for specifying a timeout for synchronous client calls on PyS2OPC.

Expected behavior

If we don't receive a response from server before timeout expires, return None as response.

Security impact

None

Implementation

Add a timeout variable for read/write/browse_nodes and call_method.

Edited by Sebastien Tajan