Was using wrong protobuf - release

This commit is contained in:
philippe44
2022-09-13 23:51:26 -07:00
parent 698cc70aa3
commit 7e733f4fa9
2 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
#error Regenerate this file with the current version of nanopb generator. #error Regenerate this file with the current version of nanopb generator.
#endif #endif
PB_BIND(Header, Header, AUTO) PB_BIND(Header, Header, 2)

View File

@@ -12,9 +12,9 @@
/* Struct definitions */ /* Struct definitions */
typedef struct _Header { typedef struct _Header {
bool has_uri; bool has_uri;
char uri[64]; char uri[256];
bool has_method; bool has_method;
char method[32]; char method[64];
} Header; } Header;
@@ -43,7 +43,7 @@ extern const pb_msgdesc_t Header_msg;
#define Header_fields &Header_msg #define Header_fields &Header_msg
/* Maximum encoded size of messages (where known) */ /* Maximum encoded size of messages (where known) */
#define Header_size 98 #define Header_size 323
#ifdef __cplusplus #ifdef __cplusplus
} /* extern "C" */ } /* extern "C" */