From aa78a9b3e5c89de30ce3c95e94d377bbe33e1968 Mon Sep 17 00:00:00 2001 From: Gwendal Raoul Date: Thu, 23 Apr 2026 12:03:06 +0200 Subject: [PATCH] Proto: Fix max size for StatusEvent with new proto --- lib/api/wpc_proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/wpc_proto.h b/lib/api/wpc_proto.h index 9913170..d1726a5 100644 --- a/lib/api/wpc_proto.h +++ b/lib/api/wpc_proto.h @@ -44,7 +44,7 @@ * or @onStackStatusReceived * note : it should be higher than wp_StatusEvent_size, as it's a wp_GenericMessage */ -#define WPC_PROTO_MAX_EVENTSTATUS_SIZE (516 + WPC_PROTO_GENERIC_MESSAGE_OVERHEAD) +#define WPC_PROTO_MAX_EVENTSTATUS_SIZE (520 + WPC_PROTO_GENERIC_MESSAGE_OVERHEAD) /* * Maximum size offset for data reception. Added to payload size, it can be used as an hint