From f5e42b2533a21027d60b863be0f6eb2f706f1c40 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Sat, 28 Nov 2020 09:17:20 +0800 Subject: [PATCH] update protos --- proto | 2 +- src/mesh/mesh.pb.h | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/proto b/proto index a0b8d888..34cc5cca 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit a0b8d888961720d70ab7467c94d8fa0687e58020 +Subproject commit 34cc5cca1d2f48ffa8f7cb8f1fbf7dfa08da8cb5 diff --git a/src/mesh/mesh.pb.h b/src/mesh/mesh.pb.h index 01ba5b5d..851bf88f 100644 --- a/src/mesh/mesh.pb.h +++ b/src/mesh/mesh.pb.h @@ -22,7 +22,8 @@ typedef enum _RouteError { } RouteError; typedef enum _Constants { - Constants_Unused = 0 + Constants_Unused = 0, + Constants_DATA_PAYLOAD_LEN = 240 } Constants; typedef enum _RegionCode { @@ -260,8 +261,8 @@ typedef struct _ToRadio { #define _RouteError_ARRAYSIZE ((RouteError)(RouteError_TIMEOUT+1)) #define _Constants_MIN Constants_Unused -#define _Constants_MAX Constants_Unused -#define _Constants_ARRAYSIZE ((Constants)(Constants_Unused+1)) +#define _Constants_MAX Constants_DATA_PAYLOAD_LEN +#define _Constants_ARRAYSIZE ((Constants)(Constants_DATA_PAYLOAD_LEN+1)) #define _RegionCode_MIN RegionCode_Unset #define _RegionCode_MAX RegionCode_TW