|
|
@@ -11,11 +11,11 @@
|
|
|
|
|
|
/* Struct definitions */
|
|
|
typedef struct _PB_Status_PingRequest {
|
|
|
- char dummy_field;
|
|
|
+ pb_bytes_array_t *data;
|
|
|
} PB_Status_PingRequest;
|
|
|
|
|
|
typedef struct _PB_Status_PingResponse {
|
|
|
- char dummy_field;
|
|
|
+ pb_bytes_array_t *data;
|
|
|
} PB_Status_PingResponse;
|
|
|
|
|
|
|
|
|
@@ -24,21 +24,23 @@ extern "C" {
|
|
|
#endif
|
|
|
|
|
|
/* Initializer values for message structs */
|
|
|
-#define PB_Status_PingRequest_init_default {0}
|
|
|
-#define PB_Status_PingResponse_init_default {0}
|
|
|
-#define PB_Status_PingRequest_init_zero {0}
|
|
|
-#define PB_Status_PingResponse_init_zero {0}
|
|
|
+#define PB_Status_PingRequest_init_default {NULL}
|
|
|
+#define PB_Status_PingResponse_init_default {NULL}
|
|
|
+#define PB_Status_PingRequest_init_zero {NULL}
|
|
|
+#define PB_Status_PingResponse_init_zero {NULL}
|
|
|
|
|
|
/* Field tags (for use in manual encoding/decoding) */
|
|
|
+#define PB_Status_PingRequest_data_tag 1
|
|
|
+#define PB_Status_PingResponse_data_tag 1
|
|
|
|
|
|
/* Struct field encoding specification for nanopb */
|
|
|
#define PB_Status_PingRequest_FIELDLIST(X, a) \
|
|
|
-
|
|
|
+X(a, POINTER, SINGULAR, BYTES, data, 1)
|
|
|
#define PB_Status_PingRequest_CALLBACK NULL
|
|
|
#define PB_Status_PingRequest_DEFAULT NULL
|
|
|
|
|
|
#define PB_Status_PingResponse_FIELDLIST(X, a) \
|
|
|
-
|
|
|
+X(a, POINTER, SINGULAR, BYTES, data, 1)
|
|
|
#define PB_Status_PingResponse_CALLBACK NULL
|
|
|
#define PB_Status_PingResponse_DEFAULT NULL
|
|
|
|
|
|
@@ -50,8 +52,8 @@ extern const pb_msgdesc_t PB_Status_PingResponse_msg;
|
|
|
#define PB_Status_PingResponse_fields &PB_Status_PingResponse_msg
|
|
|
|
|
|
/* Maximum encoded size of messages (where known) */
|
|
|
-#define PB_Status_PingRequest_size 0
|
|
|
-#define PB_Status_PingResponse_size 0
|
|
|
+/* PB_Status_PingRequest_size depends on runtime parameters */
|
|
|
+/* PB_Status_PingResponse_size depends on runtime parameters */
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
} /* extern "C" */
|