|
|
@ -145,6 +145,7 @@ typedef struct _RadioConfig_UserPreferences {
|
|
|
|
uint32_t environmental_measurement_plugin_sensor_pin;
|
|
|
|
uint32_t environmental_measurement_plugin_sensor_pin;
|
|
|
|
bool store_forward_plugin_enabled;
|
|
|
|
bool store_forward_plugin_enabled;
|
|
|
|
uint32_t position_flags;
|
|
|
|
uint32_t position_flags;
|
|
|
|
|
|
|
|
bool is_always_powered;
|
|
|
|
} RadioConfig_UserPreferences;
|
|
|
|
} RadioConfig_UserPreferences;
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct _RadioConfig {
|
|
|
|
typedef struct _RadioConfig {
|
|
|
@ -189,9 +190,9 @@ extern "C" {
|
|
|
|
|
|
|
|
|
|
|
|
/* Initializer values for message structs */
|
|
|
|
/* Initializer values for message structs */
|
|
|
|
#define RadioConfig_init_default {false, RadioConfig_UserPreferences_init_default}
|
|
|
|
#define RadioConfig_init_default {false, RadioConfig_UserPreferences_init_default}
|
|
|
|
#define RadioConfig_UserPreferences_init_default {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", 0, _RegionCode_MIN, _ChargeCurrent_MIN, _LocationSharing_MIN, _GpsOperation_MIN, 0, 0, 0, 0, 0, 0, 0, "", 0, _GpsCoordinateFormat_MIN, 0, 0, 0, 0, 0, {0, 0, 0}, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _RadioConfig_UserPreferences_EnvironmentalMeasurementSensorType_MIN, 0, 0, 0}
|
|
|
|
#define RadioConfig_UserPreferences_init_default {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", 0, _RegionCode_MIN, _ChargeCurrent_MIN, _LocationSharing_MIN, _GpsOperation_MIN, 0, 0, 0, 0, 0, 0, 0, "", 0, _GpsCoordinateFormat_MIN, 0, 0, 0, 0, 0, {0, 0, 0}, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _RadioConfig_UserPreferences_EnvironmentalMeasurementSensorType_MIN, 0, 0, 0, 0}
|
|
|
|
#define RadioConfig_init_zero {false, RadioConfig_UserPreferences_init_zero}
|
|
|
|
#define RadioConfig_init_zero {false, RadioConfig_UserPreferences_init_zero}
|
|
|
|
#define RadioConfig_UserPreferences_init_zero {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", 0, _RegionCode_MIN, _ChargeCurrent_MIN, _LocationSharing_MIN, _GpsOperation_MIN, 0, 0, 0, 0, 0, 0, 0, "", 0, _GpsCoordinateFormat_MIN, 0, 0, 0, 0, 0, {0, 0, 0}, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _RadioConfig_UserPreferences_EnvironmentalMeasurementSensorType_MIN, 0, 0, 0}
|
|
|
|
#define RadioConfig_UserPreferences_init_zero {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", 0, _RegionCode_MIN, _ChargeCurrent_MIN, _LocationSharing_MIN, _GpsOperation_MIN, 0, 0, 0, 0, 0, 0, 0, "", 0, _GpsCoordinateFormat_MIN, 0, 0, 0, 0, 0, {0, 0, 0}, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _RadioConfig_UserPreferences_EnvironmentalMeasurementSensorType_MIN, 0, 0, 0, 0}
|
|
|
|
|
|
|
|
|
|
|
|
/* Field tags (for use in manual encoding/decoding) */
|
|
|
|
/* Field tags (for use in manual encoding/decoding) */
|
|
|
|
#define RadioConfig_UserPreferences_position_broadcast_secs_tag 1
|
|
|
|
#define RadioConfig_UserPreferences_position_broadcast_secs_tag 1
|
|
|
@ -252,6 +253,7 @@ extern "C" {
|
|
|
|
#define RadioConfig_UserPreferences_environmental_measurement_plugin_sensor_pin_tag 147
|
|
|
|
#define RadioConfig_UserPreferences_environmental_measurement_plugin_sensor_pin_tag 147
|
|
|
|
#define RadioConfig_UserPreferences_store_forward_plugin_enabled_tag 148
|
|
|
|
#define RadioConfig_UserPreferences_store_forward_plugin_enabled_tag 148
|
|
|
|
#define RadioConfig_UserPreferences_position_flags_tag 150
|
|
|
|
#define RadioConfig_UserPreferences_position_flags_tag 150
|
|
|
|
|
|
|
|
#define RadioConfig_UserPreferences_is_always_powered_tag 151
|
|
|
|
#define RadioConfig_preferences_tag 1
|
|
|
|
#define RadioConfig_preferences_tag 1
|
|
|
|
|
|
|
|
|
|
|
|
/* Struct field encoding specification for nanopb */
|
|
|
|
/* Struct field encoding specification for nanopb */
|
|
|
@ -319,7 +321,8 @@ X(a, STATIC, SINGULAR, BOOL, environmental_measurement_plugin_display_fare
|
|
|
|
X(a, STATIC, SINGULAR, UENUM, environmental_measurement_plugin_sensor_type, 146) \
|
|
|
|
X(a, STATIC, SINGULAR, UENUM, environmental_measurement_plugin_sensor_type, 146) \
|
|
|
|
X(a, STATIC, SINGULAR, UINT32, environmental_measurement_plugin_sensor_pin, 147) \
|
|
|
|
X(a, STATIC, SINGULAR, UINT32, environmental_measurement_plugin_sensor_pin, 147) \
|
|
|
|
X(a, STATIC, SINGULAR, BOOL, store_forward_plugin_enabled, 148) \
|
|
|
|
X(a, STATIC, SINGULAR, BOOL, store_forward_plugin_enabled, 148) \
|
|
|
|
X(a, STATIC, SINGULAR, UINT32, position_flags, 150)
|
|
|
|
X(a, STATIC, SINGULAR, UINT32, position_flags, 150) \
|
|
|
|
|
|
|
|
X(a, STATIC, SINGULAR, BOOL, is_always_powered, 151)
|
|
|
|
#define RadioConfig_UserPreferences_CALLBACK NULL
|
|
|
|
#define RadioConfig_UserPreferences_CALLBACK NULL
|
|
|
|
#define RadioConfig_UserPreferences_DEFAULT NULL
|
|
|
|
#define RadioConfig_UserPreferences_DEFAULT NULL
|
|
|
|
|
|
|
|
|
|
|
@ -331,8 +334,8 @@ extern const pb_msgdesc_t RadioConfig_UserPreferences_msg;
|
|
|
|
#define RadioConfig_UserPreferences_fields &RadioConfig_UserPreferences_msg
|
|
|
|
#define RadioConfig_UserPreferences_fields &RadioConfig_UserPreferences_msg
|
|
|
|
|
|
|
|
|
|
|
|
/* Maximum encoded size of messages (where known) */
|
|
|
|
/* Maximum encoded size of messages (where known) */
|
|
|
|
#define RadioConfig_size 414
|
|
|
|
#define RadioConfig_size 417
|
|
|
|
#define RadioConfig_UserPreferences_size 411
|
|
|
|
#define RadioConfig_UserPreferences_size 414
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
} /* extern "C" */
|
|
|
|