Functional Block: P
Types Reference: Shared types referenced below are defined in OCPP-2.1-DataTypes.md.
Types used only within this block are documented inline below.
#Messages
- DataTransfer (Both)
#DataTransfer
Direction: Both
#DataTransferRequest
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
vendorId |
string | Yes | maxLength: 255 | This identifies the Vendor specific implementation |
data |
any | No | Data without specified length or format. This needs to be decided by both parties (Open to implementation). | |
messageId |
string | No | maxLength: 50 | May be used to indicate a specific message or implementation. |
customData |
CustomDataType | No |
Example DataTransferRequest
{
"vendorId": "string"
}
#DataTransferResponse
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
status |
DataTransferStatusEnumType | Yes | ||
data |
any | No | Data without specified length or format, in response to request. | |
statusInfo |
StatusInfoType | No | ||
customData |
CustomDataType | No |
#Local Types
Types used only within this block's messages.
#DataTransferStatusEnumType
This indicates the success or failure of the data transfer.
| Value |
|---|
Accepted |
Rejected |
UnknownMessageId |
UnknownVendorId |
Used in: DataTransfer