firmware/src/mesh/generated/meshtastic/rtttl.pb.h

50 lines
1.4 KiB
C
Raw Normal View History

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. */
typedef struct _meshtastic_RTTTLConfig {
2023-01-18 13:42:53 +00:00
/* Ringtone for PWM Buzzer in RTTTL Format. */
char ringtone[230];
} meshtastic_RTTTLConfig;
2023-01-18 13:42:53 +00:00
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#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) */
#define meshtastic_RTTTLConfig_ringtone_tag 1
2023-01-18 13:42:53 +00:00
/* Struct field encoding specification for nanopb */
#define meshtastic_RTTTLConfig_FIELDLIST(X, a) \
2023-01-18 13:42:53 +00:00
X(a, STATIC, SINGULAR, STRING, ringtone, 1)
#define meshtastic_RTTTLConfig_CALLBACK NULL
#define meshtastic_RTTTLConfig_DEFAULT NULL
2023-01-18 13:42:53 +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 */
#define meshtastic_RTTTLConfig_fields &meshtastic_RTTTLConfig_msg
2023-01-18 13:42:53 +00:00
/* Maximum encoded size of messages (where known) */
#define meshtastic_RTTTLConfig_size 232
2023-01-18 13:42:53 +00:00
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif