Attempt #6, with uhi22's newest pyPLC and OpenV2Gx:
- Got all the way to "Checkpoint530: Will send ContractAuthenticationReq"
- Sent ChargeParameterDiscoveryReq, but got no response to that ("entering 99" means "timeout", I've been told.)
Code: Select all
[PEV] initiating SDP request
[PEVSLAC] from 16 entering 16
V2GTP (28bytes) = 01 FE 90 01 00 00 00 14 FE 80 00 00 00 00 00 00 EE A2 9B FF FE 27 96 7F D4 31 10 00
[PEV] Checkpoint203: Received SDP response
[addressManager] charger has IP fe80:0000:0000:0000:eea2:9bff:fe27:967f
[addressManager] charger has TCP port 54321
[PEVSLAC] Now we know the chargers IP.
[PLCWORKER] Network is established, ready for TCP.
[PEV] re-initializing fsmPev
[HARDWAREINTERFACE] Setting CP line into state B.
[HARDWAREINTERFACE] Switching PowerRelay OFF.
[HARDWAREINTERFACE] Switching Relay2 OFF.
[PEVSLAC] from 16 entering 12
[HARDWAREINTERFACE] << CP state confirmed
[HARDWAREINTERFACE] << Contactor state confirmed
[PEV] Checkpoint301: connecting
TCP connecting to fe80:0000:0000:0000:eea2:9bff:fe27:967f port 54321...
[PEV] connected
from 1 entering 2
[PEV] Checkpoint400: Sending the initial SupportedApplicationProtocolReq
from 2 entering 3
[PEV] In state WaitForSupportedApplicationProtocolResponse, received (12bytes) = 01 FE 80 01 00 00 00 04 80 40 00 40
[PEV] {
"msgName": "supportedAppProtocolRes",
"info": "4 bytes to convert",
"error": "",
"result": "ResponseCode 0, SchemaID_isUsed 1, SchemaID 1",
"schema": "appHandshake",
"debug": ""
}
[PEV] Checkpoint403: Schema negotiated. And Checkpoint500: Will send SessionSetupReq
[PEV] EDA_02817CA712B4
[PEV] responding (29bytes) = 01 FE 80 01 00 00 00 15 80 9A 02 00 00 00 00 00 00 00 00 11 D0 18 0A 05 F2 9C 4A D0 00
from 3 entering 4
[PEV] In state WaitForSessionSetupResponse, received (25bytes) = 01 FE 80 01 00 00 00 11 80 9A 02 33 EB C7 4A B0 99 A6 DC 91 E0 20 04 00 80
[PEV] {
"msgName": "SessionSetupRes",
"info": "17 bytes to convert",
"error": "",
"result": "",
"schema": "DIN",
"g_errn": "0",
"header.SessionID": "cfaf1d2ac2669b72",
"header.Notification_isUsed": "0",
"header.Signature_isUsed": "0",
"ResponseCode": "OK_NewSessionEstablished",
"EVSEID.bytesLen": "1",
"EVSEID": "00",
"debug": "Line538"
}
[PEV] Checkpoint506: The Evse decided for SessionId cfaf1d2ac2669b72
[PEV] Will send ServiceDiscoveryReq
[PEV] responding (21bytes) = 01 FE 80 01 00 00 00 0D 80 9A 02 33 EB C7 4A B0 99 A6 DC 91 98
from 4 entering 5
[PEV] In state WaitForServiceDiscoveryResponse, received (27bytes) = 01 FE 80 01 00 00 00 13 80 9A 02 33 EB C7 4A B0 99 A6 DC 91 A0 01 20 02 41 20 C4
[PEV] {
"msgName": "ServiceDiscoveryRes",
"info": "19 bytes to convert",
"error": "",
"result": "",
"schema": "DIN",
"g_errn": "0",
"header.SessionID": "cfaf1d2ac2669b72",
"header.Notification_isUsed": "0",
"header.Signature_isUsed": "0",
"ResponseCode": "OK",
"debug": "Line514"
}
[PEV] Will send ServicePaymentSelectionReq
[PEV] responding (24bytes) = 01 FE 80 01 00 00 00 10 80 9A 02 33 EB C7 4A B0 99 A6 DC 91 B2 00 12 80
from 5 entering 6
[PEV] In state WaitForServicePaymentSelectionResponse, received (22bytes) = 01 FE 80 01 00 00 00 0E 80 9A 02 33 EB C7 4A B0 99 A6 DC 91 C0 00
[PEV] {
"msgName": "ServicePaymentSelectionRes",
"info": "14 bytes to convert",
"error": "",
"result": "",
"schema": "DIN",
"g_errn": "0",
"header.SessionID": "cfaf1d2ac2669b72",
"header.Notification_isUsed": "0",
"header.Signature_isUsed": "0",
"ResponseCode": "OK",
"debug": "Line526"
}
[PEV] Checkpoint530: Will send ContractAuthenticationReq
[PEV] responding (21bytes) = 01 FE 80 01 00 00 00 0D 80 9A 02 33 EB C7 4A B0 99 A6 DC 90 B8
from 6 entering 7
[PEV] In state WaitForContractAuthentication, received (23bytes) = 01 FE 80 01 00 00 00 0F 80 9A 02 33 EB C7 4A B0 99 A6 DC 90 C0 00 00
[PEV] {
"msgName": "ContractAuthenticationRes",
"info": "15 bytes to convert",
"error": "",
"result": "",
"schema": "DIN",
"g_errn": "0",
"header.SessionID": "cfaf1d2ac2669b72",
"header.Notification_isUsed": "0",
"header.Signature_isUsed": "0",
"ResponseCode": "OK",
"EVSEProcessing": "Finished",
"debug": "Line430"
}
[PEV] It is Finished. Will send ChargeParameterDiscoveryReq
[PEV] responding (32bytes) = 01 FE 80 01 00 00 00 18 80 9A 02 33 EB C7 4A B0 99 A6 DC 90 71 91 40 05 00 C8 C8 23 24 70 19 00
from 7 entering 8
from 8 entering 99
[PEV] re-initializing fsmPev