2023-01-18 13:42:53 +00:00
|
|
|
/* Automatically generated nanopb header */
|
|
|
|
/* Generated by nanopb-0.4.7 */
|
|
|
|
|
|
|
|
#ifndef PB_MESHTASTIC_MESHTASTIC_RTTTL_PB_H_INCLUDED
|
|
|
|
#define PB_MESHTASTIC_MESHTASTIC_RTTTL_PB_H_INCLUDED
|
|
|
|
#include <pb.h>
|
|
|
|
|
|
|
|
#if PB_PROTO_HEADER_VERSION != 40
|
|
|
|
#error Regenerate this file with the current version of nanopb generator.
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Struct definitions */
|
|
|
|
/* Canned message module configuration. */
|
2023-01-21 17:22:19 +00:00
|
|
|
typedef struct _meshtastic_RTTTLConfig {
|
2023-01-18 13:42:53 +00:00
|
|
|
/* Ringtone for PWM Buzzer in RTTTL Format. */
|
|
|
|
char ringtone[230];
|
2023-01-21 17:22:19 +00:00
|
|
|
} meshtastic_RTTTLConfig;
|
2023-01-18 13:42:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Initializer values for message structs */
|
2023-01-21 17:22:19 +00:00
|
|
|
#define meshtastic_RTTTLConfig_init_default {""}
|
|
|
|
#define meshtastic_RTTTLConfig_init_zero {""}
|
2023-01-18 13:42:53 +00:00
|
|
|
|
|
|
|
/* Field tags (for use in manual encoding/decoding) */
|
2023-01-21 17:22:19 +00:00
|
|
|
#define meshtastic_RTTTLConfig_ringtone_tag 1
|
2023-01-18 13:42:53 +00:00
|
|
|
|
|
|
|
/* Struct field encoding specification for nanopb */
|
2023-01-21 17:22:19 +00:00
|
|
|
#define meshtastic_RTTTLConfig_FIELDLIST(X, a) \
|
2023-01-18 13:42:53 +00:00
|
|
|
X(a, STATIC, SINGULAR, STRING, ringtone, 1)
|
2023-01-21 17:22:19 +00:00
|
|
|
#define meshtastic_RTTTLConfig_CALLBACK NULL
|
|
|
|
#define meshtastic_RTTTLConfig_DEFAULT NULL
|
2023-01-18 13:42:53 +00:00
|
|
|
|
2023-01-21 17:22:19 +00:00
|
|
|
extern const pb_msgdesc_t meshtastic_RTTTLConfig_msg;
|
2023-01-18 13:42:53 +00:00
|
|
|
|
|
|
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
2023-01-21 17:22:19 +00:00
|
|
|
#define meshtastic_RTTTLConfig_fields &meshtastic_RTTTLConfig_msg
|
2023-01-18 13:42:53 +00:00
|
|
|
|
|
|
|
/* Maximum encoded size of messages (where known) */
|
2023-01-21 17:22:19 +00:00
|
|
|
#define meshtastic_RTTTLConfig_size 232
|
2023-01-18 13:42:53 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|