From 5f98af3261bf0fccecfc64418d28c2f32ab47e9c Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sat, 19 Feb 2022 22:32:11 -0800 Subject: [PATCH 1/3] Add group_id to Data --- mesh.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mesh.proto b/mesh.proto index c25c95d..acf1c56 100644 --- a/mesh.proto +++ b/mesh.proto @@ -525,6 +525,12 @@ message Data { * a message a heart or poop emoji. */ bool is_tapback = 8; + + /* + * Defaults to false. If true, then what is in the payload should be treated as an emoji like giving + * a message a heart or poop emoji. + */ + uint32 group_id = 9; } /* From 90079e900148266c4bec4153a82336c1d71aab8e Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sat, 19 Feb 2022 22:53:58 -0800 Subject: [PATCH 2/3] Add GROUP_APP --- portnums.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/portnums.proto b/portnums.proto index a9725d3..70509f1 100644 --- a/portnums.proto +++ b/portnums.proto @@ -92,6 +92,11 @@ enum PortNum { IP_TUNNEL_APP = 33; /* + * Used for managing chat groups + */ + GROUP_APP = 34; + + /* * Provides a hardware serial interface to send and receive from the Meshtastic network. * Connect to the RX/TX pins of a device with 38400 8N1. Packets received from the Meshtastic * network is forwarded to the RX pin while sending a packet to TX will go out to the Mesh network. From 22a5d39fb6ce66a7d8f35f3d501cd14318808873 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sat, 19 Feb 2022 22:54:05 -0800 Subject: [PATCH 3/3] Add GroupInfo --- mesh.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mesh.proto b/mesh.proto index acf1c56..33c17e8 100644 --- a/mesh.proto +++ b/mesh.proto @@ -887,6 +887,14 @@ enum CriticalErrorCode { RadioSpiBug = 11; } +/* + * GroupInfo for group chats like #FoodFreaks and #CoolPeopleOnly + */ +message GroupInfo { + repeated string group = 1 [(nanopb).max_length = 16, (nanopb).max_count = 10]; +} + + /* * Unique local debugging info for this node * Note: we don't include position or the user info, because that will come in the