Secc.Receive_AuthorizationReq_001
Secc.Receive_AuthorizationReq_001()
AuthorizationReq 수신
Secc.Receive_AuthorizationReq_001()
SECC > ISO15118-2
Authorization Lua API reference.
| API | 파라미터 | 반환 |
|---|---|---|
| Secc.Receive_AuthorizationReq_001() | - | - |
| Secc.Check_Received_AuthorizationReq() | - | boolean |
| Secc.Get_AuthorizationReq_Id() | - | string |
| Secc.Get_AuthorizationReq_GenChallenge() | - | string |
Secc.Receive_AuthorizationReq_001()
AuthorizationReq 수신
Secc.Receive_AuthorizationReq_001()
Secc.Check_Received_AuthorizationReq()
AuthorizationReq.Received 확인
local receivedAuthorizationReq = Secc.Check_Received_AuthorizationReq()
Secc.Get_AuthorizationReq_Id()
AuthorizationReq.Id 조회
local expectedAuthorizationId = 'iso1-authorization'
local receivedAuthorizationId = Secc.Get_AuthorizationReq_Id()
Secc.Get_AuthorizationReq_GenChallenge()
AuthorizationReq.GenChallenge 조회
local expectedGenChallenge = '1112131415161718'
local receivedGenChallenge = Secc.Get_AuthorizationReq_GenChallenge()
Secc.Set_AuthorizationRes_ResponseCode(responseCode)
AuthorizationRes.ResponseCode 설정
local authorizationResponseCode = ResponseCodeType.OK
Secc.Set_AuthorizationRes_ResponseCode(authorizationResponseCode)
Secc.Get_AuthorizationRes_ResponseCode()
AuthorizationRes.ResponseCode 조회
local observedAuthorizationResponseCode = Secc.Get_AuthorizationRes_ResponseCode()
Secc.Set_AuthorizationRes_EVSEProcessing(evseProcessing)
AuthorizationRes.EVSEProcessing 설정
local evseProcessing = EVSEProcessingType.Finished
Secc.Set_AuthorizationRes_EVSEProcessing(evseProcessing)
Secc.Get_AuthorizationRes_EVSEProcessing()
AuthorizationRes.EVSEProcessing 조회
local observedEvseProcessing = Secc.Get_AuthorizationRes_EVSEProcessing()
Secc.Send_AuthorizationRes_001()
AuthorizationRes 송신
Secc.Send_AuthorizationRes_001()
local authorizationResponseCode = ResponseCodeType.OK
Secc.Set_AuthorizationRes_ResponseCode(authorizationResponseCode)
local evseProcessing = EVSEProcessingType.Finished
Secc.Set_AuthorizationRes_EVSEProcessing(evseProcessing)
Secc.Send_AuthorizationRes_001()
0x010xFE0x80010x0000000FEXIEncodedV2GMessage<?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:AuthorizationRes>
<s1:ResponseCode>OK</s1:ResponseCode>
<s1:EVSEProcessing>Finished</s1:EVSEProcessing>
</s1:AuthorizationRes>
</s3:Body>
</s3:V2G_Message>