Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
messages.pb.h
00001 /* Automatically generated nanopb header */ 00002 /* Generated by nanopb-0.3.4 at Mon Jul 03 18:51:19 2017. */ 00003 00004 #ifndef PB_MESSAGES_PB_H_INCLUDED 00005 #define PB_MESSAGES_PB_H_INCLUDED 00006 #include <pb.h> 00007 00008 #if PB_PROTO_HEADER_VERSION != 30 00009 #error Regenerate this file with the current version of nanopb generator. 00010 #endif 00011 00012 #ifdef __cplusplus 00013 extern "C" { 00014 #endif 00015 00016 /* Enum definitions */ 00017 typedef enum _cisme_MessageType { 00018 cisme_MessageType_INSTRUMENT_ID_REQ = 1, 00019 cisme_MessageType_INSTRUMENT_ID_RSP = 2, 00020 cisme_MessageType_START_EXPERIMENT_IND = 3, 00021 cisme_MessageType_NEXT_EXPERIMENT_IND = 4, 00022 cisme_MessageType_STOP_EXPERIMENT_IND = 5, 00023 cisme_MessageType_FINISH_EXPERIMENT_IND = 6, 00024 cisme_MessageType_EXPERIMENT_DATA_IND = 7, 00025 cisme_MessageType_BEAT_DATA_IND = 8, 00026 cisme_MessageType_TEMP_CALIBRATION_REQ = 9, 00027 cisme_MessageType_O2_CALIBRATION_REQ = 10, 00028 cisme_MessageType_PH_CALIBRATION_REQ = 11, 00029 cisme_MessageType_CUR_CALIBRATION_REQ = 12, 00030 cisme_MessageType_TEMP_CALIBRATION_ACCEPT_REQ = 13, 00031 cisme_MessageType_PH_CALIBRATION_ACCEPT_REQ = 14, 00032 cisme_MessageType_O2_CALIBRATION_RSP = 15, 00033 cisme_MessageType_PH_CALIBRATION_RSP = 16, 00034 cisme_MessageType_TEMP_CALIBRATION_RSP = 17, 00035 cisme_MessageType_CALIBRATION_ACCEPT_RSP = 18, 00036 cisme_MessageType_SET_PUMP_REQ = 19, 00037 cisme_MessageType_SET_PUMP_RSP = 20, 00038 cisme_MessageType_GET_PUMP_REQ = 21, 00039 cisme_MessageType_GET_PUMP_RSP = 22, 00040 cisme_MessageType_SET_LIGHT_REQ = 23, 00041 cisme_MessageType_SET_LIGHT_RSP = 24, 00042 cisme_MessageType_GET_LIGHT_REQ = 25, 00043 cisme_MessageType_GET_LIGHT_RSP = 26, 00044 cisme_MessageType_GET_TIME_REQ = 27, 00045 cisme_MessageType_GET_TIME_RSP = 28, 00046 cisme_MessageType_GET_FILES_REQ = 29, 00047 cisme_MessageType_GET_FILES_RSP = 30, 00048 cisme_MessageType_FILE_DOWNLOAD_REQ = 31, 00049 cisme_MessageType_FILE_DOWNLOAD_RSP = 32, 00050 cisme_MessageType_FILE_BLOCK_REQ = 33, 00051 cisme_MessageType_FILE_BLOCK_RSP = 34, 00052 cisme_MessageType_FILE_FINISH_IND = 35, 00053 cisme_MessageType_FILE_ABORT_IND = 36, 00054 cisme_MessageType_RAW_DATA_REQ = 37, 00055 cisme_MessageType_RAW_DATA_RSP = 38, 00056 cisme_MessageType_TEMP_CALIBRATION_DATA_IND = 39, 00057 cisme_MessageType_PH_CALIBRATION_DATA_IND = 40, 00058 cisme_MessageType_ERRORS_IND = 41, 00059 cisme_MessageType_PUMP_CALIBRATION_REQ = 42, 00060 cisme_MessageType_PUMP_CALIBRATION_RSP = 43, 00061 cisme_MessageType_PUMP_CALIBRATION_ACCEPT_REQ = 44, 00062 cisme_MessageType_PUMP_CALIBRATION_DATA_IND = 45 00063 } cisme_MessageType; 00064 00065 typedef enum _cisme_CalibrationType { 00066 cisme_CalibrationType_PH = 1, 00067 cisme_CalibrationType_TEMPERATURE = 2, 00068 cisme_CalibrationType_O2 = 3, 00069 cisme_CalibrationType_PUMP = 4 00070 } cisme_CalibrationType; 00071 00072 typedef enum _cisme_startExperimentMsg_ExperimentType { 00073 cisme_startExperimentMsg_ExperimentType_RESPIRATION = 1, 00074 cisme_startExperimentMsg_ExperimentType_PHOTOSYNTHESIS = 2, 00075 cisme_startExperimentMsg_ExperimentType_RP = 3, 00076 cisme_startExperimentMsg_ExperimentType_PR = 4, 00077 cisme_startExperimentMsg_ExperimentType_MULTI = 5 00078 } cisme_startExperimentMsg_ExperimentType; 00079 00080 /* Struct definitions */ 00081 typedef struct _cisme_fileDownloadMsg { 00082 pb_callback_t name; 00083 } cisme_fileDownloadMsg; 00084 00085 typedef struct _cisme_instrumentIdMsg { 00086 pb_callback_t id; 00087 pb_callback_t binary; 00088 pb_callback_t timestamp; 00089 } cisme_instrumentIdMsg; 00090 00091 typedef struct _cisme_beatDataMsg { 00092 bool has_battery; 00093 float battery; 00094 bool has_temperature; 00095 float temperature; 00096 bool has_ph; 00097 float ph; 00098 bool has_o2; 00099 float o2; 00100 bool has_lightLevel; 00101 int32_t lightLevel; 00102 bool has_pumpRpm; 00103 int32_t pumpRpm; 00104 } cisme_beatDataMsg; 00105 00106 typedef struct _cisme_currentCalibrationMsg { 00107 bool has_type; 00108 cisme_CalibrationType type; 00109 } cisme_currentCalibrationMsg; 00110 00111 typedef struct _cisme_errorMsg { 00112 bool has_numErrors; 00113 int32_t numErrors; 00114 pb_callback_t errorText; 00115 } cisme_errorMsg; 00116 00117 typedef struct _cisme_experimentDataMsg { 00118 bool has_id; 00119 int32_t id; 00120 bool has_step; 00121 int32_t step; 00122 bool has_timeRemaining; 00123 int32_t timeRemaining; 00124 bool has_ph; 00125 float ph; 00126 bool has_o2; 00127 float o2; 00128 bool has_battery; 00129 float battery; 00130 bool has_temperature; 00131 float temperature; 00132 bool has_lightLevel; 00133 int32_t lightLevel; 00134 bool has_pumpRpm; 00135 int32_t pumpRpm; 00136 } cisme_experimentDataMsg; 00137 00138 typedef struct _cisme_experimentMsg { 00139 bool has_id; 00140 int32_t id; 00141 pb_callback_t fileName; 00142 } cisme_experimentMsg; 00143 00144 typedef struct _cisme_fileActionMsg { 00145 bool has_fileId; 00146 int32_t fileId; 00147 } cisme_fileActionMsg; 00148 00149 typedef struct _cisme_fileBlockMsg { 00150 bool has_fileId; 00151 int32_t fileId; 00152 bool has_blockId; 00153 int32_t blockId; 00154 bool has_blockSize; 00155 int32_t blockSize; 00156 pb_callback_t blockData; 00157 } cisme_fileBlockMsg; 00158 00159 typedef struct _cisme_fileBlockRspMsg { 00160 bool has_fileId; 00161 int32_t fileId; 00162 bool has_blockId; 00163 int32_t blockId; 00164 } cisme_fileBlockRspMsg; 00165 00166 typedef struct _cisme_fileDownloadRspMsg { 00167 bool has_fileId; 00168 int32_t fileId; 00169 bool has_numBlocks; 00170 int32_t numBlocks; 00171 } cisme_fileDownloadRspMsg; 00172 00173 typedef struct _cisme_filesMsg { 00174 bool has_numFiles; 00175 int32_t numFiles; 00176 pb_callback_t names; 00177 } cisme_filesMsg; 00178 00179 typedef struct _cisme_genericMsg { 00180 cisme_MessageType type; 00181 pb_callback_t payload; 00182 } cisme_genericMsg; 00183 00184 typedef struct _cisme_lightLevelMsg { 00185 bool has_level; 00186 int32_t level; 00187 } cisme_lightLevelMsg; 00188 00189 typedef struct _cisme_o2CalibrationMsg { 00190 bool has_pressure; 00191 float pressure; 00192 bool has_led; 00193 float led; 00194 bool has_phase1; 00195 float phase1; 00196 bool has_temperature1; 00197 float temperature1; 00198 bool has_phase2; 00199 float phase2; 00200 bool has_temperature2; 00201 float temperature2; 00202 } cisme_o2CalibrationMsg; 00203 00204 typedef struct _cisme_phCalibrationDataMsg { 00205 bool has_phBuffer; 00206 float phBuffer; 00207 bool has_phVoltsCurrent; 00208 float phVoltsCurrent; 00209 bool has_phVoltsAverage; 00210 float phVoltsAverage; 00211 } cisme_phCalibrationDataMsg; 00212 00213 typedef struct _cisme_phCalibrationMsg { 00214 bool has_ph; 00215 float ph; 00216 bool has_lightLevel; 00217 bool lightLevel; 00218 bool has_pumpSpeed; 00219 bool pumpSpeed; 00220 } cisme_phCalibrationMsg; 00221 00222 typedef struct _cisme_phCalibrationRspMsg { 00223 bool has_phBuffer; 00224 float phBuffer; 00225 bool has_phTemp; 00226 float phTemp; 00227 bool has_slope; 00228 float slope; 00229 bool has_eo; 00230 float eo; 00231 } cisme_phCalibrationRspMsg; 00232 00233 typedef struct _cisme_pumpCalibrationDataMsg { 00234 bool has_intensity; 00235 int32_t intensity; 00236 bool has_rpm; 00237 int32_t rpm; 00238 } cisme_pumpCalibrationDataMsg; 00239 00240 typedef struct _cisme_pumpCalibrationMsg { 00241 bool has_a; 00242 float a; 00243 bool has_b; 00244 float b; 00245 bool has_c; 00246 float c; 00247 } cisme_pumpCalibrationMsg; 00248 00249 typedef struct _cisme_pumpSpeedMsg { 00250 bool has_speed; 00251 int32_t speed; 00252 } cisme_pumpSpeedMsg; 00253 00254 typedef struct _cisme_rawDataMsg { 00255 bool has_o2; 00256 float o2; 00257 bool has_ph; 00258 float ph; 00259 bool has_o2Amplitude; 00260 float o2Amplitude; 00261 bool has_o2Phase; 00262 float o2Phase; 00263 bool has_phAdcV; 00264 float phAdcV; 00265 bool has_temperatureAdcV; 00266 float temperatureAdcV; 00267 bool has_temperature; 00268 float temperature; 00269 } cisme_rawDataMsg; 00270 00271 typedef struct _cisme_startExperimentMsg { 00272 bool has_id; 00273 int32_t id; 00274 bool has_experiment; 00275 cisme_startExperimentMsg_ExperimentType experiment; 00276 bool has_stepsCount; 00277 int32_t stepsCount; 00278 bool has_salinity; 00279 int32_t salinity; 00280 bool has_pumpSpeed; 00281 int32_t pumpSpeed; 00282 pb_callback_t steps; 00283 pb_callback_t filePrefix; 00284 bool has_repeats; 00285 int32_t repeats; 00286 } cisme_startExperimentMsg; 00287 00288 typedef struct _cisme_startExperimentMsg_Step { 00289 bool has_lightLevel; 00290 int32_t lightLevel; 00291 bool has_duration; 00292 int32_t duration; 00293 bool has_o2Cutoff; 00294 float o2Cutoff; 00295 bool has_phCutoff; 00296 float phCutoff; 00297 bool has_pumpSpeed; 00298 int32_t pumpSpeed; 00299 } cisme_startExperimentMsg_Step; 00300 00301 typedef struct _cisme_tempCalibrationDataMsg { 00302 bool has_tempBuffer; 00303 float tempBuffer; 00304 bool has_tempVolts; 00305 float tempVolts; 00306 } cisme_tempCalibrationDataMsg; 00307 00308 typedef struct _cisme_tempCalibrationMsg { 00309 bool has_temperature; 00310 float temperature; 00311 bool has_lightLevel; 00312 bool lightLevel; 00313 bool has_pumpSpeed; 00314 bool pumpSpeed; 00315 } cisme_tempCalibrationMsg; 00316 00317 typedef struct _cisme_tempCalibrationRspMsg { 00318 bool has_bValue; 00319 float bValue; 00320 } cisme_tempCalibrationRspMsg; 00321 00322 typedef struct _cisme_timeMsg { 00323 bool has_time; 00324 int32_t time; 00325 } cisme_timeMsg; 00326 00327 /* Default values for struct fields */ 00328 00329 /* Initializer values for message structs */ 00330 #define cisme_genericMsg_init_default {(cisme_MessageType)0, {{NULL}, NULL}} 00331 #define cisme_instrumentIdMsg_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} 00332 #define cisme_startExperimentMsg_init_default {false, 0, false, (cisme_startExperimentMsg_ExperimentType)0, false, 0, false, 0, false, 0, {{NULL}, NULL}, {{NULL}, NULL}, false, 0} 00333 #define cisme_startExperimentMsg_Step_init_default {false, 0, false, 0, false, 0, false, 0, false, 0} 00334 #define cisme_experimentDataMsg_init_default {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0} 00335 #define cisme_experimentMsg_init_default {false, 0, {{NULL}, NULL}} 00336 #define cisme_beatDataMsg_init_default {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0} 00337 #define cisme_tempCalibrationMsg_init_default {false, 0, false, 0, false, 0} 00338 #define cisme_phCalibrationMsg_init_default {false, 0, false, 0, false, 0} 00339 #define cisme_o2CalibrationMsg_init_default {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0} 00340 #define cisme_currentCalibrationMsg_init_default {false, (cisme_CalibrationType)0} 00341 #define cisme_tempCalibrationRspMsg_init_default {false, 0} 00342 #define cisme_phCalibrationRspMsg_init_default {false, 0, false, 0, false, 0, false, 0} 00343 #define cisme_pumpSpeedMsg_init_default {false, 0} 00344 #define cisme_lightLevelMsg_init_default {false, 0} 00345 #define cisme_timeMsg_init_default {false, 0} 00346 #define cisme_filesMsg_init_default {false, 0, {{NULL}, NULL}} 00347 #define cisme_fileDownloadMsg_init_default {{{NULL}, NULL}} 00348 #define cisme_fileDownloadRspMsg_init_default {false, 0, false, 0} 00349 #define cisme_fileBlockMsg_init_default {false, 0, false, 0, false, 0, {{NULL}, NULL}} 00350 #define cisme_fileBlockRspMsg_init_default {false, 0, false, 0} 00351 #define cisme_fileActionMsg_init_default {false, 0} 00352 #define cisme_rawDataMsg_init_default {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0} 00353 #define cisme_tempCalibrationDataMsg_init_default {false, 0, false, 0} 00354 #define cisme_phCalibrationDataMsg_init_default {false, 0, false, 0, false, 0} 00355 #define cisme_errorMsg_init_default {false, 0, {{NULL}, NULL}} 00356 #define cisme_pumpCalibrationMsg_init_default {false, 0, false, 0, false, 0} 00357 #define cisme_pumpCalibrationDataMsg_init_default {false, 0, false, 0} 00358 #define cisme_genericMsg_init_zero {(cisme_MessageType)0, {{NULL}, NULL}} 00359 #define cisme_instrumentIdMsg_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} 00360 #define cisme_startExperimentMsg_init_zero {false, 0, false, (cisme_startExperimentMsg_ExperimentType)0, false, 0, false, 0, false, 0, {{NULL}, NULL}, {{NULL}, NULL}, false, 0} 00361 #define cisme_startExperimentMsg_Step_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0} 00362 #define cisme_experimentDataMsg_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0} 00363 #define cisme_experimentMsg_init_zero {false, 0, {{NULL}, NULL}} 00364 #define cisme_beatDataMsg_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0} 00365 #define cisme_tempCalibrationMsg_init_zero {false, 0, false, 0, false, 0} 00366 #define cisme_phCalibrationMsg_init_zero {false, 0, false, 0, false, 0} 00367 #define cisme_o2CalibrationMsg_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0} 00368 #define cisme_currentCalibrationMsg_init_zero {false, (cisme_CalibrationType)0} 00369 #define cisme_tempCalibrationRspMsg_init_zero {false, 0} 00370 #define cisme_phCalibrationRspMsg_init_zero {false, 0, false, 0, false, 0, false, 0} 00371 #define cisme_pumpSpeedMsg_init_zero {false, 0} 00372 #define cisme_lightLevelMsg_init_zero {false, 0} 00373 #define cisme_timeMsg_init_zero {false, 0} 00374 #define cisme_filesMsg_init_zero {false, 0, {{NULL}, NULL}} 00375 #define cisme_fileDownloadMsg_init_zero {{{NULL}, NULL}} 00376 #define cisme_fileDownloadRspMsg_init_zero {false, 0, false, 0} 00377 #define cisme_fileBlockMsg_init_zero {false, 0, false, 0, false, 0, {{NULL}, NULL}} 00378 #define cisme_fileBlockRspMsg_init_zero {false, 0, false, 0} 00379 #define cisme_fileActionMsg_init_zero {false, 0} 00380 #define cisme_rawDataMsg_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0} 00381 #define cisme_tempCalibrationDataMsg_init_zero {false, 0, false, 0} 00382 #define cisme_phCalibrationDataMsg_init_zero {false, 0, false, 0, false, 0} 00383 #define cisme_errorMsg_init_zero {false, 0, {{NULL}, NULL}} 00384 #define cisme_pumpCalibrationMsg_init_zero {false, 0, false, 0, false, 0} 00385 #define cisme_pumpCalibrationDataMsg_init_zero {false, 0, false, 0} 00386 00387 /* Field tags (for use in manual encoding/decoding) */ 00388 #define cisme_fileDownloadMsg_name_tag 1 00389 #define cisme_instrumentIdMsg_id_tag 1 00390 #define cisme_instrumentIdMsg_binary_tag 2 00391 #define cisme_instrumentIdMsg_timestamp_tag 3 00392 #define cisme_beatDataMsg_battery_tag 1 00393 #define cisme_beatDataMsg_temperature_tag 2 00394 #define cisme_beatDataMsg_ph_tag 3 00395 #define cisme_beatDataMsg_o2_tag 4 00396 #define cisme_beatDataMsg_lightLevel_tag 5 00397 #define cisme_beatDataMsg_pumpRpm_tag 6 00398 #define cisme_currentCalibrationMsg_type_tag 1 00399 #define cisme_errorMsg_numErrors_tag 1 00400 #define cisme_errorMsg_errorText_tag 2 00401 #define cisme_experimentDataMsg_id_tag 1 00402 #define cisme_experimentDataMsg_step_tag 2 00403 #define cisme_experimentDataMsg_timeRemaining_tag 3 00404 #define cisme_experimentDataMsg_ph_tag 4 00405 #define cisme_experimentDataMsg_o2_tag 5 00406 #define cisme_experimentDataMsg_battery_tag 6 00407 #define cisme_experimentDataMsg_temperature_tag 7 00408 #define cisme_experimentDataMsg_lightLevel_tag 8 00409 #define cisme_experimentDataMsg_pumpRpm_tag 9 00410 #define cisme_experimentMsg_id_tag 1 00411 #define cisme_experimentMsg_fileName_tag 2 00412 #define cisme_fileActionMsg_fileId_tag 1 00413 #define cisme_fileBlockMsg_fileId_tag 1 00414 #define cisme_fileBlockMsg_blockId_tag 2 00415 #define cisme_fileBlockMsg_blockSize_tag 3 00416 #define cisme_fileBlockMsg_blockData_tag 4 00417 #define cisme_fileBlockRspMsg_fileId_tag 1 00418 #define cisme_fileBlockRspMsg_blockId_tag 2 00419 #define cisme_fileDownloadRspMsg_fileId_tag 1 00420 #define cisme_fileDownloadRspMsg_numBlocks_tag 2 00421 #define cisme_filesMsg_numFiles_tag 1 00422 #define cisme_filesMsg_names_tag 2 00423 #define cisme_genericMsg_type_tag 1 00424 #define cisme_genericMsg_payload_tag 2 00425 #define cisme_lightLevelMsg_level_tag 1 00426 #define cisme_o2CalibrationMsg_pressure_tag 1 00427 #define cisme_o2CalibrationMsg_led_tag 2 00428 #define cisme_o2CalibrationMsg_phase1_tag 3 00429 #define cisme_o2CalibrationMsg_temperature1_tag 4 00430 #define cisme_o2CalibrationMsg_phase2_tag 5 00431 #define cisme_o2CalibrationMsg_temperature2_tag 6 00432 #define cisme_phCalibrationDataMsg_phBuffer_tag 1 00433 #define cisme_phCalibrationDataMsg_phVoltsCurrent_tag 2 00434 #define cisme_phCalibrationDataMsg_phVoltsAverage_tag 3 00435 #define cisme_phCalibrationMsg_ph_tag 1 00436 #define cisme_phCalibrationMsg_lightLevel_tag 2 00437 #define cisme_phCalibrationMsg_pumpSpeed_tag 3 00438 #define cisme_phCalibrationRspMsg_phBuffer_tag 1 00439 #define cisme_phCalibrationRspMsg_phTemp_tag 2 00440 #define cisme_phCalibrationRspMsg_slope_tag 3 00441 #define cisme_phCalibrationRspMsg_eo_tag 4 00442 #define cisme_pumpCalibrationDataMsg_intensity_tag 1 00443 #define cisme_pumpCalibrationDataMsg_rpm_tag 2 00444 #define cisme_pumpCalibrationMsg_a_tag 1 00445 #define cisme_pumpCalibrationMsg_b_tag 2 00446 #define cisme_pumpCalibrationMsg_c_tag 3 00447 #define cisme_pumpSpeedMsg_speed_tag 1 00448 #define cisme_rawDataMsg_o2_tag 1 00449 #define cisme_rawDataMsg_ph_tag 2 00450 #define cisme_rawDataMsg_o2Amplitude_tag 3 00451 #define cisme_rawDataMsg_o2Phase_tag 4 00452 #define cisme_rawDataMsg_phAdcV_tag 5 00453 #define cisme_rawDataMsg_temperatureAdcV_tag 6 00454 #define cisme_rawDataMsg_temperature_tag 7 00455 #define cisme_startExperimentMsg_id_tag 1 00456 #define cisme_startExperimentMsg_experiment_tag 2 00457 #define cisme_startExperimentMsg_stepsCount_tag 3 00458 #define cisme_startExperimentMsg_salinity_tag 4 00459 #define cisme_startExperimentMsg_pumpSpeed_tag 5 00460 #define cisme_startExperimentMsg_steps_tag 6 00461 #define cisme_startExperimentMsg_filePrefix_tag 7 00462 #define cisme_startExperimentMsg_repeats_tag 8 00463 #define cisme_startExperimentMsg_Step_lightLevel_tag 1 00464 #define cisme_startExperimentMsg_Step_duration_tag 2 00465 #define cisme_startExperimentMsg_Step_o2Cutoff_tag 3 00466 #define cisme_startExperimentMsg_Step_phCutoff_tag 4 00467 #define cisme_startExperimentMsg_Step_pumpSpeed_tag 5 00468 #define cisme_tempCalibrationDataMsg_tempBuffer_tag 1 00469 #define cisme_tempCalibrationDataMsg_tempVolts_tag 2 00470 #define cisme_tempCalibrationMsg_temperature_tag 1 00471 #define cisme_tempCalibrationMsg_lightLevel_tag 2 00472 #define cisme_tempCalibrationMsg_pumpSpeed_tag 3 00473 #define cisme_tempCalibrationRspMsg_bValue_tag 1 00474 #define cisme_timeMsg_time_tag 1 00475 00476 /* Struct field encoding specification for nanopb */ 00477 extern const pb_field_t cisme_genericMsg_fields[3]; 00478 extern const pb_field_t cisme_instrumentIdMsg_fields[4]; 00479 extern const pb_field_t cisme_startExperimentMsg_fields[9]; 00480 extern const pb_field_t cisme_startExperimentMsg_Step_fields[6]; 00481 extern const pb_field_t cisme_experimentDataMsg_fields[10]; 00482 extern const pb_field_t cisme_experimentMsg_fields[3]; 00483 extern const pb_field_t cisme_beatDataMsg_fields[7]; 00484 extern const pb_field_t cisme_tempCalibrationMsg_fields[4]; 00485 extern const pb_field_t cisme_phCalibrationMsg_fields[4]; 00486 extern const pb_field_t cisme_o2CalibrationMsg_fields[7]; 00487 extern const pb_field_t cisme_currentCalibrationMsg_fields[2]; 00488 extern const pb_field_t cisme_tempCalibrationRspMsg_fields[2]; 00489 extern const pb_field_t cisme_phCalibrationRspMsg_fields[5]; 00490 extern const pb_field_t cisme_pumpSpeedMsg_fields[2]; 00491 extern const pb_field_t cisme_lightLevelMsg_fields[2]; 00492 extern const pb_field_t cisme_timeMsg_fields[2]; 00493 extern const pb_field_t cisme_filesMsg_fields[3]; 00494 extern const pb_field_t cisme_fileDownloadMsg_fields[2]; 00495 extern const pb_field_t cisme_fileDownloadRspMsg_fields[3]; 00496 extern const pb_field_t cisme_fileBlockMsg_fields[5]; 00497 extern const pb_field_t cisme_fileBlockRspMsg_fields[3]; 00498 extern const pb_field_t cisme_fileActionMsg_fields[2]; 00499 extern const pb_field_t cisme_rawDataMsg_fields[8]; 00500 extern const pb_field_t cisme_tempCalibrationDataMsg_fields[3]; 00501 extern const pb_field_t cisme_phCalibrationDataMsg_fields[4]; 00502 extern const pb_field_t cisme_errorMsg_fields[3]; 00503 extern const pb_field_t cisme_pumpCalibrationMsg_fields[4]; 00504 extern const pb_field_t cisme_pumpCalibrationDataMsg_fields[3]; 00505 00506 /* Maximum encoded size of messages (where known) */ 00507 #define cisme_startExperimentMsg_Step_size 43 00508 #define cisme_experimentDataMsg_size 75 00509 #define cisme_beatDataMsg_size 42 00510 #define cisme_tempCalibrationMsg_size 9 00511 #define cisme_phCalibrationMsg_size 9 00512 #define cisme_o2CalibrationMsg_size 30 00513 #define cisme_currentCalibrationMsg_size 2 00514 #define cisme_tempCalibrationRspMsg_size 5 00515 #define cisme_phCalibrationRspMsg_size 20 00516 #define cisme_pumpSpeedMsg_size 11 00517 #define cisme_lightLevelMsg_size 11 00518 #define cisme_timeMsg_size 11 00519 #define cisme_fileDownloadRspMsg_size 22 00520 #define cisme_fileBlockRspMsg_size 22 00521 #define cisme_fileActionMsg_size 11 00522 #define cisme_rawDataMsg_size 35 00523 #define cisme_tempCalibrationDataMsg_size 10 00524 #define cisme_phCalibrationDataMsg_size 15 00525 #define cisme_pumpCalibrationMsg_size 15 00526 #define cisme_pumpCalibrationDataMsg_size 22 00527 00528 /* Message IDs (where set with "msgid" option) */ 00529 #ifdef PB_MSGID 00530 00531 #define MESSAGES_MESSAGES \ 00532 00533 00534 #endif 00535 00536 #ifdef __cplusplus 00537 } /* extern "C" */ 00538 #endif 00539 00540 #endif
Generated on Fri Sep 23 2022 19:29:17 by
1.7.2