Evcc.Set_AuthorizationReq_Id
Evcc.Set_AuthorizationReq_Id(id)
AuthorizationReq.Id 설정
local authorizationId = 'iso1-authorization'
Evcc.Set_AuthorizationReq_Id(authorizationId)
EVCC > ISO15118-2
Authorization Lua API reference.
Evcc.Set_AuthorizationReq_Id(id)
AuthorizationReq.Id 설정
local authorizationId = 'iso1-authorization'
Evcc.Set_AuthorizationReq_Id(authorizationId)
Evcc.Get_AuthorizationReq_Id()
AuthorizationReq.Id 조회
local observedAuthorizationId = Evcc.Get_AuthorizationReq_Id()
Evcc.Set_AuthorizationReq_GenChallenge(genChallenge)
AuthorizationReq.GenChallenge 설정
local genChallenge = '1112131415161718'
Evcc.Set_AuthorizationReq_GenChallenge(genChallenge)
Evcc.Get_AuthorizationReq_GenChallenge()
AuthorizationReq.GenChallenge 조회
local observedGenChallenge = Evcc.Get_AuthorizationReq_GenChallenge()
Evcc.Send_AuthorizationReq_001()
AuthorizationReq 송신
Evcc.Send_AuthorizationReq_001()
Evcc.Receive_AuthorizationRes_001()
AuthorizationRes 수신
Evcc.Receive_AuthorizationRes_001()
Evcc.Get_AuthorizationRes_ResponseCode()
AuthorizationRes.ResponseCode 조회
local expectedResponseCode = ResponseCodeType.OK
local receivedResponseCode = Evcc.Get_AuthorizationRes_ResponseCode()
Evcc.Get_AuthorizationRes_EVSEProcessing()
AuthorizationRes.EVSEProcessing 조회
local expectedEvseProcessing = EVSEProcessingType.Finished
local receivedEvseProcessing = Evcc.Get_AuthorizationRes_EVSEProcessing()
Evcc.Check_AuthorizationRes_EVSEProcessing(evseProcessing)
AuthorizationRes.EVSEProcessing 확인
local receivedEvseProcessingCheck = Evcc.Check_AuthorizationRes_EVSEProcessing(expectedEvseProcessing)
local authorizationId = 'iso1-authorization'
Evcc.Set_AuthorizationReq_Id(authorizationId)
local genChallenge = '1112131415161718'
Evcc.Set_AuthorizationReq_GenChallenge(genChallenge)
Evcc.Send_AuthorizationReq_001()
0x010xFE0x80010x0000002AEXIEncodedV2GMessage<?xml version="1.0" ?>
<s3:V2G_Message xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.w3.org/2000/09/xmldsig#" xmlns:s1="urn:iso:15118:2:2013:MsgBody" xmlns:s2="urn:iso:15118:2:2013:MsgDataTypes" xmlns:s3="urn:iso:15118:2:2013:MsgDef" xmlns:s4="urn:iso:15118:2:2013:MsgHeader">
<s3:Header>
<s4:SessionID>9600799EFD6B54D4</s4:SessionID>
</s3:Header>
<s3:Body>
<s1:AuthorizationReq s1:Id="iso1-authorization">
<s1:GenChallenge>ERITFBUWFxg=</s1:GenChallenge>
</s1:AuthorizationReq>
</s3:Body>
</s3:V2G_Message>