CANopenNode / CANopenSocket

Obsolete repository, replaced by CANopenDemo and CANopenLinux
Apache License 2.0
208 stars 119 forks source link

String / Domain encoding #9

Closed martinwag closed 3 years ago

martinwag commented 6 years ago

Encoding for data types "os - octet string", "us - unicode string" and "d - domain" is currently hex-string. According to 309-3 this should be RFC2045 mime-base64.

geoffrey-vl commented 4 years ago

Is this still relevant? If not please close

martinwag commented 4 years ago

Yes, it is. It's more like do we want to change that (and lose compatibility) or keep it as it is (and violate CiA 309-3).

geoffrey-vl commented 4 years ago

I'd encourage staying as close to the specs as possible.

CANopenNode commented 4 years ago

TODO RFC2045 mime-base64

CANopenNode commented 3 years ago

RFC2045 mime-base64 is implemented in CANopenNode v2.0 and v4.0. See example https://github.com/CANopenNode/CANopenSocket/tree/master/examples/basicDevice