ocpp
0.24.1
A C++ implementation of the Open Charge Point Protocol
include
ocpp
v16
utils.hpp
1
// SPDX-License-Identifier: Apache-2.0
2
// Copyright 2020 - 2024 Pionix GmbH and Contributors to EVerest
3
#ifndef V16_UTILS_HPP
4
#define V16_UTILS_HPP
5
6
#include <ocpp/common/call_types.hpp>
7
#include <ocpp/v16/messages/StopTransaction.hpp>
8
#include <ocpp/v16/ocpp_types.hpp>
9
#include <ocpp/v16/types.hpp>
10
11
namespace
ocpp {
12
namespace
v16 {
13
namespace
utils {
14
15
size_t
get_message_size(
const
ocpp::Call<StopTransactionRequest>
& call);
16
19
void
drop_transaction_data(
size_t
max_message_size,
ocpp::Call<StopTransactionRequest>
& call);
20
22
bool
is_critical(
const
std::string& security_event);
23
24
}
// namespace utils
25
}
// namespace v16
26
}
// namespace ocpp
27
28
#endif
ocpp::Call
Contains a OCPP Call message.
Definition:
call_types.hpp:60
Generated by
1.9.4