You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Alessandro Rossignoli (Jira)" <ji...@apache.org> on 2020/06/04 06:41:00 UTC

[jira] [Created] (PLC4X-202) OPC-UA Driver cannot write Unsigned Types

Alessandro Rossignoli created PLC4X-202:
-------------------------------------------

             Summary: OPC-UA Driver cannot write Unsigned Types
                 Key: PLC4X-202
                 URL: https://issues.apache.org/jira/browse/PLC4X-202
             Project: Apache PLC4X
          Issue Type: Bug
          Components: Driver-OPC-UA
    Affects Versions: 0.7.0
            Reporter: Alessandro Rossignoli


Currently, unsigned types are not supported in writing direction from the driver although they are fully supported by Eclipse Milo and in reading.

Actually I have applied a modification and tested it to be able to support these types. It is kind of the same patch applied for BigIntegers but done introducing UShort and UInteger from Eclipse Milo.

The downside is that every driver will use the Eclipse Milo types, being the JVM missing unsigned types. I don't know if you have a better solution or if using Milo types in all the drivers is acceptable for you.

I am open for suggestions :)

 

(PS. when I will complete all the testing a will create 3 separate PR for issue #200, #201 and this one)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)