◆ data_transfer_req() [1/2]
| virtual std::optional< DataTransferResponse > ocpp::v2::DataTransferInterface::data_transfer_req |
( |
const CiString< 255 > & |
vendorId, |
|
|
const std::optional< CiString< 50 > > & |
messageId, |
|
|
const std::optional< json > & |
data |
|
) |
| |
|
pure virtual |
◆ data_transfer_req() [2/2]
Sends a DataTransfer.req message to the CSMS using the given request.
- Parameters
-
| request | message shall be sent to the CSMS |
- Returns
- DataTransferResponse containing the result from CSMS. In case no response is received from the CSMS because the message timed out or the charging station is offline, std::nullopt is returned
Implemented in ocpp::v2::DataTransfer.
The documentation for this class was generated from the following file: