forked from matth-x/MicroOcpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAuthorize.h
More file actions
37 lines (24 loc) · 718 Bytes
/
Copy pathAuthorize.h
File metadata and controls
37 lines (24 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// matth-x/ArduinoOcpp
// Copyright Matthias Akstaller 2019 - 2022
// MIT License
#ifndef AUTHORIZE_H
#define AUTHORIZE_H
#include <ArduinoOcpp/Core/OcppMessage.h>
#include <ArduinoOcpp/MessagesV16/CiStrings.h>
namespace ArduinoOcpp {
namespace Ocpp16 {
class Authorize : public OcppMessage {
private:
char idTag [IDTAG_LEN_MAX + 1] = {'\0'};
public:
// Authorize();
Authorize(const char *idTag);
const char* getOcppOperationType();
std::unique_ptr<DynamicJsonDocument> createReq();
void processConf(JsonObject payload);
void processReq(JsonObject payload);
std::unique_ptr<DynamicJsonDocument> createConf();
};
} //end namespace Ocpp16
} //end namespace ArduinoOcpp
#endif