Merge pull request #97 from mc-hamster/group-chat

Group chat protos
pull/98/head^2
Jm Casler 2022-02-19 22:55:10 -08:00 zatwierdzone przez GitHub
commit 4ab31fc677
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 19 dodań i 0 usunięć

Wyświetl plik

@ -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;
}
/*
@ -881,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

Wyświetl plik

@ -91,6 +91,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