[create-pull-request] automated change (#3198)

Co-authored-by: thebentern <thebentern@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-02-10 14:16:46 -06:00 committed by GitHub
parent 1085b54069
commit 514c19a68e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 9 deletions

@ -1 +1 @@
Subproject commit 99bd42baf8dd2e8ca0eec70f05e1cf7f1a40a283
Subproject commit 1fa72525a13117908a850d6754b5368eabdee163

View File

@ -9,7 +9,7 @@
PB_BIND(meshtastic_TAKPacket, meshtastic_TAKPacket, 2)
PB_BIND(meshtastic_GeoChat, meshtastic_GeoChat, AUTO)
PB_BIND(meshtastic_GeoChat, meshtastic_GeoChat, 2)
PB_BIND(meshtastic_Group, meshtastic_Group, AUTO)

View File

@ -71,7 +71,8 @@ typedef struct _meshtastic_GeoChat {
/* The text message */
char message[200];
/* Uid recipient of the message */
pb_callback_t to;
bool has_to;
char to[120];
} meshtastic_GeoChat;
/* ATAK Group
@ -163,13 +164,13 @@ extern "C" {
/* Initializer values for message structs */
#define meshtastic_TAKPacket_init_default {0, false, meshtastic_Contact_init_default, false, meshtastic_Group_init_default, false, meshtastic_Status_init_default, 0, {meshtastic_PLI_init_default}}
#define meshtastic_GeoChat_init_default {"", {{NULL}, NULL}}
#define meshtastic_GeoChat_init_default {"", false, ""}
#define meshtastic_Group_init_default {_meshtastic_MemberRole_MIN, _meshtastic_Team_MIN}
#define meshtastic_Status_init_default {0}
#define meshtastic_Contact_init_default {"", ""}
#define meshtastic_PLI_init_default {0, 0, 0, 0, 0}
#define meshtastic_TAKPacket_init_zero {0, false, meshtastic_Contact_init_zero, false, meshtastic_Group_init_zero, false, meshtastic_Status_init_zero, 0, {meshtastic_PLI_init_zero}}
#define meshtastic_GeoChat_init_zero {"", {{NULL}, NULL}}
#define meshtastic_GeoChat_init_zero {"", false, ""}
#define meshtastic_Group_init_zero {_meshtastic_MemberRole_MIN, _meshtastic_Team_MIN}
#define meshtastic_Status_init_zero {0}
#define meshtastic_Contact_init_zero {"", ""}
@ -213,8 +214,8 @@ X(a, STATIC, ONEOF, MESSAGE, (payload_variant,chat,payload_variant.chat),
#define meshtastic_GeoChat_FIELDLIST(X, a) \
X(a, STATIC, SINGULAR, STRING, message, 1) \
X(a, CALLBACK, OPTIONAL, STRING, to, 2)
#define meshtastic_GeoChat_CALLBACK pb_default_field_callback
X(a, STATIC, OPTIONAL, STRING, to, 2)
#define meshtastic_GeoChat_CALLBACK NULL
#define meshtastic_GeoChat_DEFAULT NULL
#define meshtastic_Group_FIELDLIST(X, a) \
@ -259,12 +260,12 @@ extern const pb_msgdesc_t meshtastic_PLI_msg;
#define meshtastic_PLI_fields &meshtastic_PLI_msg
/* Maximum encoded size of messages (where known) */
/* meshtastic_TAKPacket_size depends on runtime parameters */
/* meshtastic_GeoChat_size depends on runtime parameters */
#define meshtastic_Contact_size 242
#define meshtastic_GeoChat_size 323
#define meshtastic_Group_size 4
#define meshtastic_PLI_size 26
#define meshtastic_Status_size 3
#define meshtastic_TAKPacket_size 584
#ifdef __cplusplus
} /* extern "C" */