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