![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
This will generate the message for the programme
Dependencies: MODSERIAL Nanopb
Diff: memspcr.pb.c
- Revision:
- 2:b46d53a5f931
- Parent:
- 0:388a2a9f5247
diff -r fa8f59ecc52a -r b46d53a5f931 memspcr.pb.c --- a/memspcr.pb.c Tue Aug 27 15:08:49 2019 +0000 +++ b/memspcr.pb.c Fri Aug 30 14:51:08 2019 +0000 @@ -1,5 +1,5 @@ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.9.3 at Wed Aug 21 21:39:54 2019. */ +/* Generated by nanopb-0.3.9.3 at Thu Aug 29 14:10:38 2019. */ #include "memspcr.pb.h" @@ -17,15 +17,13 @@ PB_LAST_FIELD }; -const pb_field_t memspcr_ThermalConfiguration_fields[9] = { - PB_FIELD( 1, MESSAGE , REPEATED, CALLBACK, FIRST, memspcr_ThermalConfiguration, profile, profile, &memspcr_ThermalStep_fields), - PB_FIELD( 2, FLOAT , SINGULAR, STATIC , OTHER, memspcr_ThermalConfiguration, guard_drive_ratio, profile, 0), - PB_FIELD( 3, UENUM , SINGULAR, STATIC , OTHER, memspcr_ThermalConfiguration, selected_heater, guard_drive_ratio, 0), - PB_FIELD( 4, INT32 , SINGULAR, STATIC , OTHER, memspcr_ThermalConfiguration, adc_settling_time_us, selected_heater, 0), +const pb_field_t memspcr_ThermalConfiguration_fields[7] = { + PB_FIELD( 2, FLOAT , SINGULAR, STATIC , FIRST, memspcr_ThermalConfiguration, guard_drive_ratio, guard_drive_ratio, 0), + PB_FIELD( 4, INT32 , SINGULAR, STATIC , OTHER, memspcr_ThermalConfiguration, adc_settling_time_us, guard_drive_ratio, 0), PB_FIELD( 7, FLOAT , SINGULAR, STATIC , OTHER, memspcr_ThermalConfiguration, pid_kp, adc_settling_time_us, 0), PB_FIELD( 8, FLOAT , SINGULAR, STATIC , OTHER, memspcr_ThermalConfiguration, pid_integral_time, pid_kp, 0), PB_FIELD( 9, FLOAT , SINGULAR, STATIC , OTHER, memspcr_ThermalConfiguration, pid_derivative_time, pid_integral_time, 0), - PB_FIELD( 10, INT32 , SINGULAR, STATIC , OTHER, memspcr_ThermalConfiguration, control_loop_interval, pid_derivative_time, 0), + PB_FIELD( 10, INT32 , SINGULAR, STATIC , OTHER, memspcr_ThermalConfiguration, control_loop_interval_ms, pid_derivative_time, 0), PB_LAST_FIELD }; @@ -42,11 +40,13 @@ PB_LAST_FIELD }; -const pb_field_t memspcr_ExperimentConfiguration_fields[5] = { +const pb_field_t memspcr_ExperimentConfiguration_fields[7] = { PB_FIELD( 1, MESSAGE , SINGULAR, STATIC , FIRST, memspcr_ExperimentConfiguration, thermal, thermal, &memspcr_ThermalConfiguration_fields), - PB_FIELD( 2, MESSAGE , SINGULAR, STATIC , OTHER, memspcr_ExperimentConfiguration, optics, thermal, &memspcr_OpticsConfiguration_fields), - PB_FIELD( 3, MESSAGE , SINGULAR, STATIC , OTHER, memspcr_ExperimentConfiguration, fluidics, optics, &memspcr_FluidicConfiguration_fields), - PB_FIELD( 4, INT32 , SINGULAR, STATIC , OTHER, memspcr_ExperimentConfiguration, logging_interval_ms, fluidics, 0), + PB_FIELD( 3, MESSAGE , REPEATED, CALLBACK, OTHER, memspcr_ExperimentConfiguration, profile, thermal, &memspcr_ThermalStep_fields), + PB_FIELD( 4, MESSAGE , SINGULAR, STATIC , OTHER, memspcr_ExperimentConfiguration, optics, profile, &memspcr_OpticsConfiguration_fields), + PB_FIELD( 5, MESSAGE , SINGULAR, STATIC , OTHER, memspcr_ExperimentConfiguration, fluidics, optics, &memspcr_FluidicConfiguration_fields), + PB_FIELD( 6, INT32 , SINGULAR, STATIC , OTHER, memspcr_ExperimentConfiguration, logging_interval_ms, fluidics, 0), + PB_FIELD( 7, UENUM , SINGULAR, STATIC , OTHER, memspcr_ExperimentConfiguration, selected_heater, logging_interval_ms, 0), PB_LAST_FIELD };