/* Automatically generated nanopb header */ /* Generated by nanopb-0.4.8 */ #ifndef PB_MSP_30GM_ULTRASONIC_PB_H_INCLUDED #define PB_MSP_30GM_ULTRASONIC_PB_H_INCLUDED #include "pb.h" #if PB_PROTO_HEADER_VERSION != 40 #error Regenerate this file with the current version of nanopb generator. #endif /* Struct definitions */ typedef struct _SP_MSP_30GM_Parameters { int32_t Sonic_1_Data; /* 1号传感器距离值 */ int32_t Sonic_2_Data; /* 2号传感器距离值 */ int32_t Sonic_3_Data; /* 3号传感器距离值 */ int32_t Sonic_4_Data; /* 4号传感器距离值 */ } SP_MSP_30GM_Parameters; #ifdef __cplusplus extern "C" { #endif /* Initializer values for message structs */ #define SP_MSP_30GM_Parameters_init_default {0, 0, 0, 0} #define SP_MSP_30GM_Parameters_init_zero {0, 0, 0, 0} /* Field tags (for use in manual encoding/decoding) */ #define SP_MSP_30GM_Parameters_Sonic_1_Data_tag 1 #define SP_MSP_30GM_Parameters_Sonic_2_Data_tag 2 #define SP_MSP_30GM_Parameters_Sonic_3_Data_tag 3 #define SP_MSP_30GM_Parameters_Sonic_4_Data_tag 4 /* Struct field encoding specification for nanopb */ #define SP_MSP_30GM_Parameters_FIELDLIST(X, a) \ X(a, STATIC, SINGULAR, INT32, Sonic_1_Data, 1) \ X(a, STATIC, SINGULAR, INT32, Sonic_2_Data, 2) \ X(a, STATIC, SINGULAR, INT32, Sonic_3_Data, 3) \ X(a, STATIC, SINGULAR, INT32, Sonic_4_Data, 4) #define SP_MSP_30GM_Parameters_CALLBACK NULL #define SP_MSP_30GM_Parameters_DEFAULT NULL extern const pb_msgdesc_t SP_MSP_30GM_Parameters_msg; /* Defines for backwards compatibility with code written before nanopb-0.4.0 */ #define SP_MSP_30GM_Parameters_fields &SP_MSP_30GM_Parameters_msg /* Maximum encoded size of messages (where known) */ #define MSP_30GM_ULTRASONIC_PB_H_MAX_SIZE SP_MSP_30GM_Parameters_size #define SP_MSP_30GM_Parameters_size 44 #ifdef __cplusplus } /* extern "C" */ #endif #endif