Secc.Receive_SessionSetupReq_001
Secc.Receive_SessionSetupReq_001()
SessionSetupReq 수신
Secc.Receive_SessionSetupReq_001()
SECC > ISO15118-2
SessionSetup Lua API reference.
| API | 파라미터 | 반환 |
|---|---|---|
| Secc.Receive_SessionSetupReq_001() | - | - |
| Secc.Get_SessionSetupReq_EVCCID() | - | string |
| API | 파라미터 | 반환 |
|---|---|---|
| Secc.Set_SessionSetupRes_EVSEID(evseId) | evseId | - |
| Secc.Set_SessionSetupRes_ResponseCode(responseCode) | responseCode (ResponseCodeType) | - |
| Secc.Send_SessionSetupRes_001() | - | - |
Secc.Receive_SessionSetupReq_001()
SessionSetupReq 수신
Secc.Receive_SessionSetupReq_001()
Secc.Get_SessionSetupReq_EVCCID()
SessionSetupReq.EVCCID 조회
local expectedEvccId = '1020304050607080'
local receivedEvccId = Secc.Get_SessionSetupReq_EVCCID()
Secc.Set_SessionSetupRes_EVSEID(evseId)
SessionSetupRes.EVSEID 설정
local evseId = 'KR*TC1*ISO1*001'
Secc.Set_SessionSetupRes_EVSEID(evseId)
Secc.Set_SessionSetupRes_ResponseCode(responseCode)
SessionSetupRes.ResponseCode 설정
local responseCode = ResponseCodeType.FAILED_SequenceError
Secc.Set_SessionSetupRes_ResponseCode(responseCode)
Secc.Send_SessionSetupRes_001()
SessionSetupRes 송신
Secc.Send_SessionSetupRes_001()
local evseId = 'KR*TC1*ISO1*001'
Secc.Set_SessionSetupRes_EVSEID(evseId)
local responseCode = ResponseCodeType.FAILED_SequenceError
Secc.Set_SessionSetupRes_ResponseCode(responseCode)
Secc.Send_SessionSetupRes_001()
0x010xFE0x80010x0000001FEXIEncodedV2GMessage<?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>C1A61BDEADFA4655</s4:SessionID>
</s3:Header>
<s3:Body>
<s1:SessionSetupRes>
<s1:ResponseCode>FAILED_SequenceError</s1:ResponseCode>
<s1:EVSEID>KR*TC1*ISO1*001</s1:EVSEID>
</s1:SessionSetupRes>
</s3:Body>
</s3:V2G_Message>