- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
23 lines
573 B
C++
23 lines
573 B
C++
#ifndef CHARGELAB_OPEN_FIRMWARE_1_6_HEARTBEAT_H
|
|
#define CHARGELAB_OPEN_FIRMWARE_1_6_HEARTBEAT_H
|
|
|
|
#include "openocpp/protocol/ocpp1_6/types/action_id.h"
|
|
#include "openocpp/protocol/ocpp1_6/types/date_time.h"
|
|
#include "openocpp/helpers/json.h"
|
|
|
|
#include <string>
|
|
|
|
namespace chargelab::ocpp1_6 {
|
|
struct HeartbeatReq {
|
|
CHARGELAB_JSON_INTRUSIVE_EMPTY_CALL(HeartbeatReq, kHeartbeat)
|
|
};
|
|
|
|
struct HeartbeatRsp {
|
|
DateTime currentTime;
|
|
CHARGELAB_JSON_INTRUSIVE(HeartbeatRsp, currentTime)
|
|
};
|
|
|
|
}
|
|
|
|
#endif //CHARGELAB_OPEN_FIRMWARE_1_6_HEARTBEAT_H
|