/* Automatically generated nanopb header */
-/* Generated by nanopb-0.3.1 at Thu Nov 19 16:37:50 2015. */
+/* Generated by nanopb-0.3.1 at Thu Aug 4 17:56:35 2016. */
#ifndef PB_OPENXC_PB_H_INCLUDED
#define PB_OPENXC_PB_H_INCLUDED
openxc_ControlCommand_Type_PAYLOAD_FORMAT = 6,
openxc_ControlCommand_Type_PREDEFINED_OBD2_REQUESTS = 7,
openxc_ControlCommand_Type_MODEM_CONFIGURATION = 8,
- openxc_ControlCommand_Type_RTC_CONFIGURATION = 9
+ openxc_ControlCommand_Type_RTC_CONFIGURATION = 9,
+ openxc_ControlCommand_Type_SD_MOUNT_STATUS = 10
} openxc_ControlCommand_Type;
typedef enum _openxc_DiagnosticControlCommand_Action {
openxc_DiagnosticRequest_DecodedType decoded_type;
} openxc_DiagnosticRequest;
-typedef PB_BYTES_ARRAY_T(8) openxc_DiagnosticResponse_payload_t;
+typedef PB_BYTES_ARRAY_T(255) openxc_DiagnosticResponse_payload_t;
typedef struct _openxc_DiagnosticResponse {
bool has_bus;
openxc_ControlCommand control_command;
bool has_command_response;
openxc_CommandResponse command_response;
- bool has_uptime;
- uint32_t uptime;
+ bool has_timestamp;
+ uint64_t timestamp;
} openxc_VehicleMessage;
/* Default values for struct fields */
#define openxc_VehicleMessage_diagnostic_response_tag 4
#define openxc_VehicleMessage_control_command_tag 5
#define openxc_VehicleMessage_command_response_tag 6
-#define openxc_VehicleMessage_uptime_tag 7
+#define openxc_VehicleMessage_timestamp_tag 7
/* Struct field encoding specification for nanopb */
extern const pb_field_t openxc_VehicleMessage_fields[8];
#define openxc_RTCConfigurationCommand_size 6
#define openxc_CommandResponse_size 139
#define openxc_DiagnosticRequest_size 68
-#define openxc_DiagnosticResponse_size 56
+#define openxc_DiagnosticResponse_size 304
#define openxc_DynamicField_size 119
#define openxc_SimpleMessage_size 344