CANopenNode / CANopenEditor

CANopen Object Dictionary Editor
GNU General Public License v3.0
120 stars 60 forks source link

$NODEID should not be case sensitive #57

Closed trojanobelix closed 1 year ago

trojanobelix commented 1 year ago

$NODEID should not be case sensitive Convert to uppercase on loading or do not create warning

EDS Checker is fine with "$NodeID" DS306 does not prohibit mixed case explicite: For entries of one of the integer types it is allowed to use a formula. This gives the chance to describe values, that depend on other values. For example, the COB-ID of the default PDOs depend on the Node-ID of the device. The syntax of the formula is given by the following EBNF description: IntEntryValue = $NODEID { Ó+Ó number } For concrete devices, $NODEID will be replaced by the actual Node-ID of the device. The $NODEID must appear at the beginning of the expression. Otherwise the line is interpreted as without a formula. Actually it is only possible to use an offset to this NodeID in the formula. More complex expressions are not allowed.

trojanobelix commented 1 year ago

Should be fixed with the last commit. Will be reopened if not.