SECC > DIN70121

SECC > DIN70121 > SessionStop API

SessionStop Lua API reference.

SessionStopReq API

API파라미터반환
Secc.Receive_SessionStopReq_001()--

SessionStopRes API

API파라미터반환
Secc.Set_SessionStopRes_ResponseCode(responseCode)responseCode (ResponseCodeType)-
Secc.Send_SessionStopRes_001()--

상세 명세

Secc.Receive_SessionStopReq_001

Secc.Receive_SessionStopReq_001()

SessionStopReq 수신

Parameter-
Return-
MessageSessionStopReq
Secc.Receive_SessionStopReq_001()

Secc.Set_SessionStopRes_ResponseCode

Secc.Set_SessionStopRes_ResponseCode(responseCode)

SessionStopRes.ResponseCode 설정

ParameterresponseCode (ResponseCodeType)
Return-
MessageSessionStopRes
local sessionStopResponseCode = ResponseCodeType.OK
Secc.Set_SessionStopRes_ResponseCode(sessionStopResponseCode)

Secc.Send_SessionStopRes_001

Secc.Send_SessionStopRes_001()

SessionStopRes 송신

Parameter-
Return-
MessageSessionStopRes
Secc.Send_SessionStopRes_001()

예제

SessionStopRes 설정 및 전송

Script
local sessionStopResponseCode = ResponseCodeType.OK
Secc.Set_SessionStopRes_ResponseCode(sessionStopResponseCode)

Secc.Send_SessionStopRes_001()

V2GTP Header

Protocol Version0x01
Inverse Version0xFE
Payload Type0x8001
Payload Length0x0000000E
PayloadEXIEncodedV2GMessage

XML Example

<?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:din:70121:2012:MsgBody" xmlns:s2="urn:din:70121:2012:MsgDataTypes" xmlns:s3="urn:din:70121:2012:MsgDef" xmlns:s4="urn:din:70121:2012:MsgHeader">
  <s3:Header>
    <s4:SessionID>98AB486B715D38D6</s4:SessionID>
  </s3:Header>
  <s3:Body>
    <s1:SessionStopRes>
      <s1:ResponseCode>OK</s1:ResponseCode>
    </s1:SessionStopRes>
  </s3:Body>
</s3:V2G_Message>