QuanticPony opened a new pull request, #423: URL: https://github.com/apache/plc4x-extras/pull/423
Related issue: https://github.com/apache/plc4x-extras/issues/337 Reading arrays on NiFi integration such as: ``` holding-register:1:INT[2] ``` Resulted on results on `"mock/modbus/Q" : "[Ljava.lang.Object;@5293cbff"` (Expected: `"mock/modbus/Q": [0,1]`) On `Plc4xCommon#getDataType` there was not a check for PlcList type, defaulting on String record type instead of Array. Added check for PlcList type and modified unit tests to test array reading and writting. Also tested writing arrays from NiFi and it does work, at least on modbus. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
