 |
JaiaBot
1.19.0
JaiaBot micro-AUV software
|
|
Go to the documentation of this file.
4 #ifndef PB_JAIABOT_PROTOBUF_JAIABOT_MESSAGES_NANOPB_FEATHER_PB_H_INCLUDED
5 #define PB_JAIABOT_PROTOBUF_JAIABOT_MESSAGES_NANOPB_FEATHER_PB_H_INCLUDED
8 #if PB_PROTO_HEADER_VERSION != 40
9 #error Regenerate this file with the current version of nanopb generator.
49 jaiabot_protobuf_LoRaMessage_data_t
data;
69 #define _jaiabot_protobuf_LoRaMessage_MessageType_MIN jaiabot_protobuf_LoRaMessage_MessageType_LORA_DATA
70 #define _jaiabot_protobuf_LoRaMessage_MessageType_MAX jaiabot_protobuf_LoRaMessage_MessageType_DEBUG_MESSAGE
71 #define _jaiabot_protobuf_LoRaMessage_MessageType_ARRAYSIZE ((jaiabot_protobuf_LoRaMessage_MessageType)(jaiabot_protobuf_LoRaMessage_MessageType_DEBUG_MESSAGE+1))
73 #define _jaiabot_protobuf_LoRaMessage_ModemConfigChoice_MIN jaiabot_protobuf_LoRaMessage_ModemConfigChoice_Bw125Cr45Sf128
74 #define _jaiabot_protobuf_LoRaMessage_ModemConfigChoice_MAX jaiabot_protobuf_LoRaMessage_ModemConfigChoice_Bw125Cr45Sf2048
75 #define _jaiabot_protobuf_LoRaMessage_ModemConfigChoice_ARRAYSIZE ((jaiabot_protobuf_LoRaMessage_ModemConfigChoice)(jaiabot_protobuf_LoRaMessage_ModemConfigChoice_Bw125Cr45Sf2048+1))
79 #define jaiabot_protobuf_LoRaMessage_init_default {0, 0, false, {0, {0}}, jaiabot_protobuf_LoRaMessage_MessageType_LORA_DATA, false, 0, false, 0, false, 0, false, 0, false, jaiabot_protobuf_LoRaMessage_ModemConfigChoice_Bw125Cr45Sf128, false, 13, false, jaiabot_protobuf_LoRaMessage_ControlSurfaces_init_default}
80 #define jaiabot_protobuf_LoRaMessage_ControlSurfaces_init_default {0, 0, 0, 0}
81 #define jaiabot_protobuf_LoRaMessage_init_zero {0, 0, false, {0, {0}}, _jaiabot_protobuf_LoRaMessage_MessageType_MIN, false, 0, false, 0, false, 0, false, 0, false, _jaiabot_protobuf_LoRaMessage_ModemConfigChoice_MIN, false, 0, false, jaiabot_protobuf_LoRaMessage_ControlSurfaces_init_zero}
82 #define jaiabot_protobuf_LoRaMessage_ControlSurfaces_init_zero {0, 0, 0, 0}
85 #define jaiabot_protobuf_LoRaMessage_ControlSurfaces_motor_tag 1
86 #define jaiabot_protobuf_LoRaMessage_ControlSurfaces_port_elevator_tag 2
87 #define jaiabot_protobuf_LoRaMessage_ControlSurfaces_stbd_elevator_tag 3
88 #define jaiabot_protobuf_LoRaMessage_ControlSurfaces_rudder_tag 4
89 #define jaiabot_protobuf_LoRaMessage_src_tag 1
90 #define jaiabot_protobuf_LoRaMessage_dest_tag 2
91 #define jaiabot_protobuf_LoRaMessage_data_tag 3
92 #define jaiabot_protobuf_LoRaMessage_type_tag 4
93 #define jaiabot_protobuf_LoRaMessage_id_tag 5
94 #define jaiabot_protobuf_LoRaMessage_flags_tag 6
95 #define jaiabot_protobuf_LoRaMessage_rssi_tag 7
96 #define jaiabot_protobuf_LoRaMessage_transmit_successful_tag 10
97 #define jaiabot_protobuf_LoRaMessage_modem_config_tag 20
98 #define jaiabot_protobuf_LoRaMessage_tx_power_tag 21
99 #define jaiabot_protobuf_LoRaMessage_control_tag 30
102 #define jaiabot_protobuf_LoRaMessage_FIELDLIST(X, a) \
103 X(a, STATIC, REQUIRED, INT32, src, 1) \
104 X(a, STATIC, REQUIRED, INT32, dest, 2) \
105 X(a, STATIC, OPTIONAL, BYTES, data, 3) \
106 X(a, STATIC, REQUIRED, UENUM, type, 4) \
107 X(a, STATIC, OPTIONAL, INT32, id, 5) \
108 X(a, STATIC, OPTIONAL, INT32, flags, 6) \
109 X(a, STATIC, OPTIONAL, SINT32, rssi, 7) \
110 X(a, STATIC, OPTIONAL, BOOL, transmit_successful, 10) \
111 X(a, STATIC, OPTIONAL, UENUM, modem_config, 20) \
112 X(a, STATIC, OPTIONAL, INT32, tx_power, 21) \
113 X(a, STATIC, OPTIONAL, MESSAGE, control, 30)
114 #define jaiabot_protobuf_LoRaMessage_CALLBACK NULL
115 #define jaiabot_protobuf_LoRaMessage_DEFAULT (const pb_byte_t*)"\x20\x01\xa0\x01\x01\xa8\x01\x0d\x00"
116 #define jaiabot_protobuf_LoRaMessage_control_MSGTYPE jaiabot_protobuf_LoRaMessage_ControlSurfaces
118 #define jaiabot_protobuf_LoRaMessage_ControlSurfaces_FIELDLIST(X, a) \
119 X(a, STATIC, REQUIRED, SINT32, motor, 1) \
120 X(a, STATIC, REQUIRED, SINT32, port_elevator, 2) \
121 X(a, STATIC, REQUIRED, SINT32, stbd_elevator, 3) \
122 X(a, STATIC, REQUIRED, SINT32, rudder, 4)
123 #define jaiabot_protobuf_LoRaMessage_ControlSurfaces_CALLBACK NULL
124 #define jaiabot_protobuf_LoRaMessage_ControlSurfaces_DEFAULT NULL
130 #define jaiabot_protobuf_LoRaMessage_fields &jaiabot_protobuf_LoRaMessage_msg
131 #define jaiabot_protobuf_LoRaMessage_ControlSurfaces_fields &jaiabot_protobuf_LoRaMessage_ControlSurfaces_msg
134 #define jaiabot_protobuf_LoRaMessage_size 350
135 #define jaiabot_protobuf_LoRaMessage_ControlSurfaces_size 24
@ jaiabot_protobuf_LoRaMessage_ModemConfigChoice_Bw125Cr45Sf2048
bool has_transmit_successful
@ jaiabot_protobuf_LoRaMessage_ModemConfigChoice_Bw125Cr48Sf4096
jaiabot_protobuf_LoRaMessage_ModemConfigChoice modem_config
_jaiabot_protobuf_LoRaMessage_ModemConfigChoice
@ jaiabot_protobuf_LoRaMessage_ModemConfigChoice_Bw31_25Cr48Sf512
@ jaiabot_protobuf_LoRaMessage_MessageType_PARAMETERS_REJECTED
@ jaiabot_protobuf_LoRaMessage_ModemConfigChoice_Bw125Cr45Sf128
enum _jaiabot_protobuf_LoRaMessage_ModemConfigChoice jaiabot_protobuf_LoRaMessage_ModemConfigChoice
enum _jaiabot_protobuf_LoRaMessage_MessageType jaiabot_protobuf_LoRaMessage_MessageType
struct _jaiabot_protobuf_LoRaMessage jaiabot_protobuf_LoRaMessage
typedef PB_BYTES_ARRAY_T(251) jaiabot_protobuf_LoRaMessage_data_t
const pb_msgdesc_t jaiabot_protobuf_LoRaMessage_ControlSurfaces_msg
@ jaiabot_protobuf_LoRaMessage_MessageType_SET_PARAMETERS
@ jaiabot_protobuf_LoRaMessage_MessageType_TRANSMIT_RESULT
struct _jaiabot_protobuf_LoRaMessage_ControlSurfaces jaiabot_protobuf_LoRaMessage_ControlSurfaces
const pb_msgdesc_t jaiabot_protobuf_LoRaMessage_msg
@ jaiabot_protobuf_LoRaMessage_MessageType_LORA_DATA
@ jaiabot_protobuf_LoRaMessage_ModemConfigChoice_Bw500Cr45Sf128
@ jaiabot_protobuf_LoRaMessage_MessageType_FEATHER_READY
@ jaiabot_protobuf_LoRaMessage_MessageType_PARAMETERS_ACCEPTED
@ jaiabot_protobuf_LoRaMessage_MessageType_DEBUG_MESSAGE
@ jaiabot_protobuf_LoRaMessage_MessageType_LOW_CONTROL
jaiabot_protobuf_LoRaMessage_ControlSurfaces control
_jaiabot_protobuf_LoRaMessage_MessageType
jaiabot_protobuf_LoRaMessage_MessageType type
jaiabot_protobuf_LoRaMessage_data_t data