Hi ermix,
Error -34 shows that the version of the configuration file does not match the current BSEC version. You need to ensure that you use a version of the BSEC software and the corresponding configuration file.
BSEC_E_CONFIG_VERSIONMISMATCH = -34, /*!< Version encoded in serialized_[settings/state] passed to bsec_set_[configuration/state]() does not match with current version */
... View more