diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-05-06 16:47:34 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-05-06 16:47:34 +0300 |
| commit | 4fc0bbce40133c802d7c193dc701af1a522d93ab (patch) | |
| tree | e78999aca89d2a9f947fa0f3c4f6860fa76fb696 /Software/Embedded_SW/Embedded/Communication/PMR/Debugging | |
| parent | 25f0d6f19171ef64db50952099ee1c2e6af09873 (diff) | |
| download | Tango-4fc0bbce40133c802d7c193dc701af1a522d93ab.tar.gz Tango-4fc0bbce40133c802d7c193dc701af1a522d93ab.zip | |
Debug messages changed
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication/PMR/Debugging')
10 files changed, 493 insertions, 209 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/DebugLogRequest.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/DebugLogRequest.pb-c.c deleted file mode 100644 index e8faeddcb..000000000 --- a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/DebugLogRequest.pb-c.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DebugLogRequest.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "DebugLogRequest.pb-c.h" -void debug_log_request__init - (DebugLogRequest *message) -{ - static const DebugLogRequest init_value = DEBUG_LOG_REQUEST__INIT; - *message = init_value; -} -size_t debug_log_request__get_packed_size - (const DebugLogRequest *message) -{ - assert(message->base.descriptor == &debug_log_request__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t debug_log_request__pack - (const DebugLogRequest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &debug_log_request__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t debug_log_request__pack_to_buffer - (const DebugLogRequest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &debug_log_request__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -DebugLogRequest * - debug_log_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (DebugLogRequest *) - protobuf_c_message_unpack (&debug_log_request__descriptor, - allocator, len, data); -} -void debug_log_request__free_unpacked - (DebugLogRequest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &debug_log_request__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -#define debug_log_request__field_descriptors NULL -#define debug_log_request__field_indices_by_name NULL -#define debug_log_request__number_ranges NULL -const ProtobufCMessageDescriptor debug_log_request__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DebugLogRequest", - "DebugLogRequest", - "DebugLogRequest", - "", - sizeof(DebugLogRequest), - 0, - debug_log_request__field_descriptors, - debug_log_request__field_indices_by_name, - 0, debug_log_request__number_ranges, - (ProtobufCMessageInit) debug_log_request__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/DebugLogRequest.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/DebugLogRequest.pb-c.h deleted file mode 100644 index 2507b3068..000000000 --- a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/DebugLogRequest.pb-c.h +++ /dev/null @@ -1,70 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DebugLogRequest.proto */ - -#ifndef PROTOBUF_C_DebugLogRequest_2eproto__INCLUDED -#define PROTOBUF_C_DebugLogRequest_2eproto__INCLUDED - -#include <protobuf-c/protobuf-c.h> - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _DebugLogRequest DebugLogRequest; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _DebugLogRequest -{ - ProtobufCMessage base; -}; -#define DEBUG_LOG_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&debug_log_request__descriptor) \ - } - - -/* DebugLogRequest methods */ -void debug_log_request__init - (DebugLogRequest *message); -size_t debug_log_request__get_packed_size - (const DebugLogRequest *message); -size_t debug_log_request__pack - (const DebugLogRequest *message, - uint8_t *out); -size_t debug_log_request__pack_to_buffer - (const DebugLogRequest *message, - ProtobufCBuffer *buffer); -DebugLogRequest * - debug_log_request__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void debug_log_request__free_unpacked - (DebugLogRequest *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*DebugLogRequest_Closure) - (const DebugLogRequest *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor debug_log_request__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_DebugLogRequest_2eproto__INCLUDED */ diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StartDebugLogRequest.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StartDebugLogRequest.pb-c.c new file mode 100644 index 000000000..4c9f854c8 --- /dev/null +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StartDebugLogRequest.pb-c.c @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: StartDebugLogRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "StartDebugLogRequest.pb-c.h" +void start_debug_log_request__init + (StartDebugLogRequest *message) +{ + static const StartDebugLogRequest init_value = START_DEBUG_LOG_REQUEST__INIT; + *message = init_value; +} +size_t start_debug_log_request__get_packed_size + (const StartDebugLogRequest *message) +{ + assert(message->base.descriptor == &start_debug_log_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t start_debug_log_request__pack + (const StartDebugLogRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &start_debug_log_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t start_debug_log_request__pack_to_buffer + (const StartDebugLogRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &start_debug_log_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +StartDebugLogRequest * + start_debug_log_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (StartDebugLogRequest *) + protobuf_c_message_unpack (&start_debug_log_request__descriptor, + allocator, len, data); +} +void start_debug_log_request__free_unpacked + (StartDebugLogRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &start_debug_log_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +#define start_debug_log_request__field_descriptors NULL +#define start_debug_log_request__field_indices_by_name NULL +#define start_debug_log_request__number_ranges NULL +const ProtobufCMessageDescriptor start_debug_log_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "StartDebugLogRequest", + "StartDebugLogRequest", + "StartDebugLogRequest", + "", + sizeof(StartDebugLogRequest), + 0, + start_debug_log_request__field_descriptors, + start_debug_log_request__field_indices_by_name, + 0, start_debug_log_request__number_ranges, + (ProtobufCMessageInit) start_debug_log_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StartDebugLogRequest.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StartDebugLogRequest.pb-c.h new file mode 100644 index 000000000..13de9c765 --- /dev/null +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StartDebugLogRequest.pb-c.h @@ -0,0 +1,70 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: StartDebugLogRequest.proto */ + +#ifndef PROTOBUF_C_StartDebugLogRequest_2eproto__INCLUDED +#define PROTOBUF_C_StartDebugLogRequest_2eproto__INCLUDED + +#include <protobuf-c/protobuf-c.h> + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _StartDebugLogRequest StartDebugLogRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _StartDebugLogRequest +{ + ProtobufCMessage base; +}; +#define START_DEBUG_LOG_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&start_debug_log_request__descriptor) \ + } + + +/* StartDebugLogRequest methods */ +void start_debug_log_request__init + (StartDebugLogRequest *message); +size_t start_debug_log_request__get_packed_size + (const StartDebugLogRequest *message); +size_t start_debug_log_request__pack + (const StartDebugLogRequest *message, + uint8_t *out); +size_t start_debug_log_request__pack_to_buffer + (const StartDebugLogRequest *message, + ProtobufCBuffer *buffer); +StartDebugLogRequest * + start_debug_log_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void start_debug_log_request__free_unpacked + (StartDebugLogRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*StartDebugLogRequest_Closure) + (const StartDebugLogRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor start_debug_log_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_StartDebugLogRequest_2eproto__INCLUDED */ diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/DebugLogResponse.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StartDebugLogResponse.pb-c.c index 36e08e981..c9a1e6405 100644 --- a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/DebugLogResponse.pb-c.c +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StartDebugLogResponse.pb-c.c @@ -1,66 +1,66 @@ /* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DebugLogResponse.proto */ +/* Generated from: StartDebugLogResponse.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif -#include "DebugLogResponse.pb-c.h" -void debug_log_response__init - (DebugLogResponse *message) +#include "StartDebugLogResponse.pb-c.h" +void start_debug_log_response__init + (StartDebugLogResponse *message) { - static const DebugLogResponse init_value = DEBUG_LOG_RESPONSE__INIT; + static const StartDebugLogResponse init_value = START_DEBUG_LOG_RESPONSE__INIT; *message = init_value; } -size_t debug_log_response__get_packed_size - (const DebugLogResponse *message) +size_t start_debug_log_response__get_packed_size + (const StartDebugLogResponse *message) { - assert(message->base.descriptor == &debug_log_response__descriptor); + assert(message->base.descriptor == &start_debug_log_response__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } -size_t debug_log_response__pack - (const DebugLogResponse *message, +size_t start_debug_log_response__pack + (const StartDebugLogResponse *message, uint8_t *out) { - assert(message->base.descriptor == &debug_log_response__descriptor); + assert(message->base.descriptor == &start_debug_log_response__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } -size_t debug_log_response__pack_to_buffer - (const DebugLogResponse *message, +size_t start_debug_log_response__pack_to_buffer + (const StartDebugLogResponse *message, ProtobufCBuffer *buffer) { - assert(message->base.descriptor == &debug_log_response__descriptor); + assert(message->base.descriptor == &start_debug_log_response__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } -DebugLogResponse * - debug_log_response__unpack +StartDebugLogResponse * + start_debug_log_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { - return (DebugLogResponse *) - protobuf_c_message_unpack (&debug_log_response__descriptor, + return (StartDebugLogResponse *) + protobuf_c_message_unpack (&start_debug_log_response__descriptor, allocator, len, data); } -void debug_log_response__free_unpacked - (DebugLogResponse *message, +void start_debug_log_response__free_unpacked + (StartDebugLogResponse *message, ProtobufCAllocator *allocator) { if(!message) return; - assert(message->base.descriptor == &debug_log_response__descriptor); + assert(message->base.descriptor == &start_debug_log_response__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -static const ProtobufCFieldDescriptor debug_log_response__field_descriptors[6] = +static const ProtobufCFieldDescriptor start_debug_log_response__field_descriptors[6] = { { "Category", 1, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_ENUM, - offsetof(DebugLogResponse, has_category), - offsetof(DebugLogResponse, category), + offsetof(StartDebugLogResponse, has_category), + offsetof(StartDebugLogResponse, category), &debug_log_category__descriptor, NULL, 0, /* flags */ @@ -72,7 +72,7 @@ static const ProtobufCFieldDescriptor debug_log_response__field_descriptors[6] = PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ - offsetof(DebugLogResponse, filename), + offsetof(StartDebugLogResponse, filename), NULL, NULL, 0, /* flags */ @@ -83,8 +83,8 @@ static const ProtobufCFieldDescriptor debug_log_response__field_descriptors[6] = 3, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_UINT32, - offsetof(DebugLogResponse, has_linenumber), - offsetof(DebugLogResponse, linenumber), + offsetof(StartDebugLogResponse, has_linenumber), + offsetof(StartDebugLogResponse, linenumber), NULL, NULL, 0, /* flags */ @@ -95,8 +95,8 @@ static const ProtobufCFieldDescriptor debug_log_response__field_descriptors[6] = 4, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_UINT32, - offsetof(DebugLogResponse, has_filter), - offsetof(DebugLogResponse, filter), + offsetof(StartDebugLogResponse, has_filter), + offsetof(StartDebugLogResponse, filter), NULL, NULL, 0, /* flags */ @@ -108,7 +108,7 @@ static const ProtobufCFieldDescriptor debug_log_response__field_descriptors[6] = PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ - offsetof(DebugLogResponse, message), + offsetof(StartDebugLogResponse, message), NULL, NULL, 0, /* flags */ @@ -119,15 +119,15 @@ static const ProtobufCFieldDescriptor debug_log_response__field_descriptors[6] = 6, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_UINT32, - offsetof(DebugLogResponse, has_moduleid), - offsetof(DebugLogResponse, moduleid), + offsetof(StartDebugLogResponse, has_moduleid), + offsetof(StartDebugLogResponse, moduleid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned debug_log_response__field_indices_by_name[] = { +static const unsigned start_debug_log_response__field_indices_by_name[] = { 0, /* field[0] = Category */ 1, /* field[1] = FileName */ 3, /* field[3] = Filter */ @@ -135,23 +135,23 @@ static const unsigned debug_log_response__field_indices_by_name[] = { 4, /* field[4] = Message */ 5, /* field[5] = ModuleId */ }; -static const ProtobufCIntRange debug_log_response__number_ranges[1 + 1] = +static const ProtobufCIntRange start_debug_log_response__number_ranges[1 + 1] = { { 1, 0 }, { 0, 6 } }; -const ProtobufCMessageDescriptor debug_log_response__descriptor = +const ProtobufCMessageDescriptor start_debug_log_response__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "DebugLogResponse", - "DebugLogResponse", - "DebugLogResponse", + "StartDebugLogResponse", + "StartDebugLogResponse", + "StartDebugLogResponse", "", - sizeof(DebugLogResponse), + sizeof(StartDebugLogResponse), 6, - debug_log_response__field_descriptors, - debug_log_response__field_indices_by_name, - 1, debug_log_response__number_ranges, - (ProtobufCMessageInit) debug_log_response__init, + start_debug_log_response__field_descriptors, + start_debug_log_response__field_indices_by_name, + 1, start_debug_log_response__number_ranges, + (ProtobufCMessageInit) start_debug_log_response__init, NULL,NULL,NULL /* reserved[123] */ }; diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/DebugLogResponse.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StartDebugLogResponse.pb-c.h index 414c07188..4301223de 100644 --- a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/DebugLogResponse.pb-c.h +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StartDebugLogResponse.pb-c.h @@ -1,8 +1,8 @@ /* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: DebugLogResponse.proto */ +/* Generated from: StartDebugLogResponse.proto */ -#ifndef PROTOBUF_C_DebugLogResponse_2eproto__INCLUDED -#define PROTOBUF_C_DebugLogResponse_2eproto__INCLUDED +#ifndef PROTOBUF_C_StartDebugLogResponse_2eproto__INCLUDED +#define PROTOBUF_C_StartDebugLogResponse_2eproto__INCLUDED #include <protobuf-c/protobuf-c.h> @@ -16,7 +16,7 @@ PROTOBUF_C__BEGIN_DECLS #include "DebugLogCategory.pb-c.h" -typedef struct _DebugLogResponse DebugLogResponse; +typedef struct _StartDebugLogResponse StartDebugLogResponse; /* --- enums --- */ @@ -24,7 +24,7 @@ typedef struct _DebugLogResponse DebugLogResponse; /* --- messages --- */ -struct _DebugLogResponse +struct _StartDebugLogResponse { ProtobufCMessage base; protobuf_c_boolean has_category; @@ -38,34 +38,34 @@ struct _DebugLogResponse protobuf_c_boolean has_moduleid; uint32_t moduleid; }; -#define DEBUG_LOG_RESPONSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&debug_log_response__descriptor) \ +#define START_DEBUG_LOG_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&start_debug_log_response__descriptor) \ , 0, DEBUG_LOG_CATEGORY__Info, NULL, 0, 0, 0, 0, NULL, 0, 0 } -/* DebugLogResponse methods */ -void debug_log_response__init - (DebugLogResponse *message); -size_t debug_log_response__get_packed_size - (const DebugLogResponse *message); -size_t debug_log_response__pack - (const DebugLogResponse *message, +/* StartDebugLogResponse methods */ +void start_debug_log_response__init + (StartDebugLogResponse *message); +size_t start_debug_log_response__get_packed_size + (const StartDebugLogResponse *message); +size_t start_debug_log_response__pack + (const StartDebugLogResponse *message, uint8_t *out); -size_t debug_log_response__pack_to_buffer - (const DebugLogResponse *message, +size_t start_debug_log_response__pack_to_buffer + (const StartDebugLogResponse *message, ProtobufCBuffer *buffer); -DebugLogResponse * - debug_log_response__unpack +StartDebugLogResponse * + start_debug_log_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); -void debug_log_response__free_unpacked - (DebugLogResponse *message, +void start_debug_log_response__free_unpacked + (StartDebugLogResponse *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ -typedef void (*DebugLogResponse_Closure) - (const DebugLogResponse *message, +typedef void (*StartDebugLogResponse_Closure) + (const StartDebugLogResponse *message, void *closure_data); /* --- services --- */ @@ -73,9 +73,9 @@ typedef void (*DebugLogResponse_Closure) /* --- descriptors --- */ -extern const ProtobufCMessageDescriptor debug_log_response__descriptor; +extern const ProtobufCMessageDescriptor start_debug_log_response__descriptor; PROTOBUF_C__END_DECLS -#endif /* PROTOBUF_C_DebugLogResponse_2eproto__INCLUDED */ +#endif /* PROTOBUF_C_StartDebugLogResponse_2eproto__INCLUDED */ diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogRequest.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogRequest.pb-c.c new file mode 100644 index 000000000..74194f1d3 --- /dev/null +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogRequest.pb-c.c @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: StopDebugLogRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "StopDebugLogRequest.pb-c.h" +void stop_debug_log_request__init + (StopDebugLogRequest *message) +{ + static const StopDebugLogRequest init_value = STOP_DEBUG_LOG_REQUEST__INIT; + *message = init_value; +} +size_t stop_debug_log_request__get_packed_size + (const StopDebugLogRequest *message) +{ + assert(message->base.descriptor == &stop_debug_log_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t stop_debug_log_request__pack + (const StopDebugLogRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &stop_debug_log_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t stop_debug_log_request__pack_to_buffer + (const StopDebugLogRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &stop_debug_log_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +StopDebugLogRequest * + stop_debug_log_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (StopDebugLogRequest *) + protobuf_c_message_unpack (&stop_debug_log_request__descriptor, + allocator, len, data); +} +void stop_debug_log_request__free_unpacked + (StopDebugLogRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &stop_debug_log_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +#define stop_debug_log_request__field_descriptors NULL +#define stop_debug_log_request__field_indices_by_name NULL +#define stop_debug_log_request__number_ranges NULL +const ProtobufCMessageDescriptor stop_debug_log_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "StopDebugLogRequest", + "StopDebugLogRequest", + "StopDebugLogRequest", + "", + sizeof(StopDebugLogRequest), + 0, + stop_debug_log_request__field_descriptors, + stop_debug_log_request__field_indices_by_name, + 0, stop_debug_log_request__number_ranges, + (ProtobufCMessageInit) stop_debug_log_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogRequest.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogRequest.pb-c.h new file mode 100644 index 000000000..ffd8ea9f9 --- /dev/null +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogRequest.pb-c.h @@ -0,0 +1,70 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: StopDebugLogRequest.proto */ + +#ifndef PROTOBUF_C_StopDebugLogRequest_2eproto__INCLUDED +#define PROTOBUF_C_StopDebugLogRequest_2eproto__INCLUDED + +#include <protobuf-c/protobuf-c.h> + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _StopDebugLogRequest StopDebugLogRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _StopDebugLogRequest +{ + ProtobufCMessage base; +}; +#define STOP_DEBUG_LOG_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&stop_debug_log_request__descriptor) \ + } + + +/* StopDebugLogRequest methods */ +void stop_debug_log_request__init + (StopDebugLogRequest *message); +size_t stop_debug_log_request__get_packed_size + (const StopDebugLogRequest *message); +size_t stop_debug_log_request__pack + (const StopDebugLogRequest *message, + uint8_t *out); +size_t stop_debug_log_request__pack_to_buffer + (const StopDebugLogRequest *message, + ProtobufCBuffer *buffer); +StopDebugLogRequest * + stop_debug_log_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void stop_debug_log_request__free_unpacked + (StopDebugLogRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*StopDebugLogRequest_Closure) + (const StopDebugLogRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor stop_debug_log_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_StopDebugLogRequest_2eproto__INCLUDED */ diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogResponse.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogResponse.pb-c.c new file mode 100644 index 000000000..7a885594e --- /dev/null +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogResponse.pb-c.c @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: StopDebugLogResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "StopDebugLogResponse.pb-c.h" +void stop_debug_log_response__init + (StopDebugLogResponse *message) +{ + static const StopDebugLogResponse init_value = STOP_DEBUG_LOG_RESPONSE__INIT; + *message = init_value; +} +size_t stop_debug_log_response__get_packed_size + (const StopDebugLogResponse *message) +{ + assert(message->base.descriptor == &stop_debug_log_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t stop_debug_log_response__pack + (const StopDebugLogResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &stop_debug_log_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t stop_debug_log_response__pack_to_buffer + (const StopDebugLogResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &stop_debug_log_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +StopDebugLogResponse * + stop_debug_log_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (StopDebugLogResponse *) + protobuf_c_message_unpack (&stop_debug_log_response__descriptor, + allocator, len, data); +} +void stop_debug_log_response__free_unpacked + (StopDebugLogResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &stop_debug_log_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +#define stop_debug_log_response__field_descriptors NULL +#define stop_debug_log_response__field_indices_by_name NULL +#define stop_debug_log_response__number_ranges NULL +const ProtobufCMessageDescriptor stop_debug_log_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "StopDebugLogResponse", + "StopDebugLogResponse", + "StopDebugLogResponse", + "", + sizeof(StopDebugLogResponse), + 0, + stop_debug_log_response__field_descriptors, + stop_debug_log_response__field_indices_by_name, + 0, stop_debug_log_response__number_ranges, + (ProtobufCMessageInit) stop_debug_log_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogResponse.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogResponse.pb-c.h new file mode 100644 index 000000000..2a4c21b85 --- /dev/null +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/StopDebugLogResponse.pb-c.h @@ -0,0 +1,70 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: StopDebugLogResponse.proto */ + +#ifndef PROTOBUF_C_StopDebugLogResponse_2eproto__INCLUDED +#define PROTOBUF_C_StopDebugLogResponse_2eproto__INCLUDED + +#include <protobuf-c/protobuf-c.h> + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _StopDebugLogResponse StopDebugLogResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _StopDebugLogResponse +{ + ProtobufCMessage base; +}; +#define STOP_DEBUG_LOG_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&stop_debug_log_response__descriptor) \ + } + + +/* StopDebugLogResponse methods */ +void stop_debug_log_response__init + (StopDebugLogResponse *message); +size_t stop_debug_log_response__get_packed_size + (const StopDebugLogResponse *message); +size_t stop_debug_log_response__pack + (const StopDebugLogResponse *message, + uint8_t *out); +size_t stop_debug_log_response__pack_to_buffer + (const StopDebugLogResponse *message, + ProtobufCBuffer *buffer); +StopDebugLogResponse * + stop_debug_log_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void stop_debug_log_response__free_unpacked + (StopDebugLogResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*StopDebugLogResponse_Closure) + (const StopDebugLogResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor stop_debug_log_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_StopDebugLogResponse_2eproto__INCLUDED */ |
