Regenerate api_pb2 for SerialProxySetModeRequest after merging dev

This commit is contained in:
J. Nick Koston
2026-09-10 19:23:35 -05:00
parent c3b8dcddaf
commit b245053bc2
2 changed files with 8 additions and 10 deletions
+7 -9
View File
@@ -4066,18 +4066,16 @@ uint32_t SerialProxyRequestResponse::calc_size_msg(const void *self) {
size += ProtoSize::calc_length(1, msg.error_message.size());
return size;
}
bool SerialProxySetModeRequest::decode_varint(uint32_t field_id, proto_varint_value_t value) {
switch (field_id) {
case 1:
this->instance = value;
void SerialProxySetModeRequest::decode_field(uint32_t tag, const uint8_t *data, proto_varint_value_t scalar) {
const ProtoFieldValue value(data, scalar);
switch (tag) {
case proto_tag(1, WIRE_TYPE_VARINT):
this->instance = value.as_varint();
break;
case 2:
this->mode = static_cast<enums::SerialProxyMode>(value);
case proto_tag(2, WIRE_TYPE_VARINT):
this->mode = static_cast<enums::SerialProxyMode>(value.as_varint());
break;
default:
return false;
}
return true;
}
#endif
#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
+1 -1
View File
@@ -3767,7 +3767,7 @@ class SerialProxySetModeRequest final : public ProtoDecodableMessage {
#endif
protected:
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
void decode_field(uint32_t tag, const uint8_t *data, proto_varint_value_t scalar) override;
};
#endif
#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS