DSDL signature in generated types is upper case
Removed unused constant ErrOk
Braces in complex boolean condition to suppress false positive from the static analyzer