v1.0.0-rc.69

This commit is contained in:
2025-08-17 21:21:20 +02:00
parent f98402043b
commit fa95858008
181 changed files with 948 additions and 506 deletions
+13
View File
@@ -441,6 +441,19 @@ inline void CBOR_ENC_START_USER_DATA(CborEncoder& encoder, const char* key,
j["sample_temperature_K"] = message.sample_temperature_K.value();
if (message.file_format.has_value())
j["file_format"] = static_cast<int>(message.file_format.value());
switch(message.indexing_algorithm) {
case IndexingAlgorithmEnum::FFBIDX:
j["indexing_algorithm"] = "ffbidx";
break;
case IndexingAlgorithmEnum::FFT:
j["indexing_algorithm"] = "fft";
break;
default:
j["indexing_algorithm"] = "none";
break;
}
auto str = j.dump();
CBOR_ENC(encoder, key, str);