[FIX] Objects with defaultValue != actualValue are not exported

Set the includeInCdc flag to true by default for all indices to avoid
that actual values are not written to configuration. Set the actualValues
for indices 1300 and 1C02/03 with correct default values.

Resolves: #798

Change-Id: I63dd6d805155ba8dc9d2397e891339f5b2ac4d1e
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] IP_ADDRESS data type support

Resolves: #395

Change-Id: Ibf847cf9dad22dd4a4baffd6d9533c02fd4794d6
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Limit no. of cross-traffic channels

Limit the no. of cross-traffic channels for a CN to feature
SPDORPDOChannels value. If not existing value defaults to 256.

Resolves: #796

Change-Id: Ie389403fbc90af2d8f7d16b958dd8831bdf737fb
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] MN PDO generation for non supported DTs

Add exception handling to avoid a library crash when the automated
generation of MN PDO variables is not possible.

Resolves: #795

Change-Id: I4c01550310bdcc5b5002326145f1fc932f0431de
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Fix incorrect conversion of hex values > UINT32

Current implementation truncates to int (atoi()) before conversion.

Resolves: #802

Change-Id: Id4eb5ddd9d634688fabcf5ea51367dd03f2cb7a0
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Visible_String actual Value exceeding 32 characters

Dynamic memory allocation to support Visible_String with any length.

Resolves: #801

Change-Id: I8b07d4de7f15c0b8b7c01fb638f14302b8360e79
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] ForceToCDC flag for objects

Convert the old includeInCDC flag to a working force to configuration flag
for objects.

Resolves: #752

Change-Id: I5678e1f06161156eeaaa9541f6454cf9b7cb729b
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Allow project file with no CNs configured

Validate project files that do not contain configured CNs.

Change-Id: I7888ceb1715f275751cb72b6cd50838b18ad2491
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Dynamic memory allocation during build

Remove static allocated memory for the CDC generation and fix
issue with large CN OD configurations.

Change-Id: I087ec590fc21b7fa42f3f6ecb32102abd927f7d9
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] MN default name

Removed node ID (240) from MN default name.

Change-Id: Iac2219fc030dcfe68102d314b544a7c92d83e574
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] MN mapping generation of non existing mapping indices

During auto generation of the MN mapping the library takes the actually
existing MN mapping objects and warns the user if there are not sufficient
mapping objects for configuration.

Change-Id: I327ee3facf07ddcff2dbb18d5e9eec2ce1de1b5d
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Validate XDDs for new nodes before import

XDD is validated before any data is allocated for a new Node.

Change-Id: Ic3ebd9d07bd675d0a316890affbf4c318aa42b94
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Invalid datasize in XAP.xml

Datasize calculation invalid due to wrong default bitoffset in the PDO objects.

Resolves: #843
Change-Id: Idc5d1f5ea9faad167bb5e5a2ea2c6bdffee935ee
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Link Boost libs with openCONF lib under Linux

Change-Id: I1b73771892eed294b02a9be9285eceee698ded5a
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Update LIBXML2 version from 2.7.2 to 2.7.8

- Update zlib1 to version 1.2.8

Change-Id: I79daa49767dbbc46215f341ad6d1361cb20cef98
Signed-off-by: Ramakrishnan P <ramakrishanan_p@kalycito.com>
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Fix errors in shipped XDDs

Correct included MN and CN XDDs to correspond to EPSG DS 301 v1.1.0.

Change-Id: Id9ca86c8c4724cb1e767957cce157eba0f636356
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Library linking error under Linux

Add rpath to openCONFIGURATOR wrapper shared object to enable the
resolution of library dependencies during execution time.

Change-Id: I025b3688dd461c98b6d3eb0692b9e5b80ee1f96f
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] PDO NrOfEntries actual value exceed nr of existing subindices

During creation or reimport of an XDD for a node it is not checked if the
PDO NrOfEntries are valid for the mapping object.

Resolves: #856
Change-Id: I13df0dfc3418439f6d2080dc371e88e0376fc2cc
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Number of days in configuration date (0x1F26)

The number of days in the date object is wrongly calculated leading
to a wrong timestamp in the configuration.

Change-Id: I095b2f971bd91d027bc20e14dddb5c7dfa48dfa5
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>
[FIX] Incorrectly calculated PResTimeOut

The default value for the PResTimeOut (1F92) of a node is calculated from
PresMaxLatency plus 25us. If an actualValue is defined for a node in
1F98/0xNodeID on the MN it will not be overwritten with the calculated value
(PResMaxLatency + 25us)

Change-Id: Iaa8d90ed539d26eb43f67ca114def8c12d445b9a
Signed-off-by: Christoph Ruecker <christoph.ruecker@br-automation.com>