Commit 25394c3
committed
Reading DefaultValue from EDS is wrong for data type OCTET_STRING and DOMAIN.
The DefaultValue for data type OCTET_STRING and DOMAIN is formatted with two
hex digits for each byte in the EDS - see corresponding CiA standard. Also
the content of the default value has to end up in a bytes instance and not in
a string instance. (otherwise an exception is thrown when the SDOServer tries
to answer a SDO upload request for an object dictionary entry with this data type.)1 parent dd2d1a7 commit 25394c3
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
0 commit comments