mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-11 23:21:25 +00:00
50 lines
1.4 KiB
C
50 lines
1.4 KiB
C
/* 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 {
|
|
/* Ringtone for PWM Buzzer in RTTTL Format. */
|
|
char ringtone[230];
|
|
} meshtastic_RTTTLConfig;
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Initializer values for message structs */
|
|
#define meshtastic_RTTTLConfig_init_default {""}
|
|
#define meshtastic_RTTTLConfig_init_zero {""}
|
|
|
|
/* Field tags (for use in manual encoding/decoding) */
|
|
#define meshtastic_RTTTLConfig_ringtone_tag 1
|
|
|
|
/* Struct field encoding specification for nanopb */
|
|
#define meshtastic_RTTTLConfig_FIELDLIST(X, a) \
|
|
X(a, STATIC, SINGULAR, STRING, ringtone, 1)
|
|
#define meshtastic_RTTTLConfig_CALLBACK NULL
|
|
#define meshtastic_RTTTLConfig_DEFAULT NULL
|
|
|
|
extern const pb_msgdesc_t meshtastic_RTTTLConfig_msg;
|
|
|
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
|
#define meshtastic_RTTTLConfig_fields &meshtastic_RTTTLConfig_msg
|
|
|
|
/* Maximum encoded size of messages (where known) */
|
|
#define meshtastic_RTTTLConfig_size 232
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif
|