Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the EVSE CM_SLAC_PARAM.CNF response to match the ISO 15118-3 standard #134

Merged
merged 1 commit into from
Oct 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions slac/evse.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# EVSE-HLE initiaization;
# --------------------------------------------------------------------
[default]
time to sound = 10
number of sounds = 8
response type = 0
time to sound = 6
number of sounds = 10
response type = 1
station identifier = BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
network membership key = B59319D7E8157BA001B018669CCEE30D
network identifier = 026BCBA5354E08
5 changes: 4 additions & 1 deletion slac/evse_cm_slac_param.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@
*
* EVSE-HLE should copy the message OSA to the session variable PEV
* MAC address; the PEV MAC address can then be used to respond in
* unicast to the right PEVHLE;
* unicast to the right PEVHLE; The PEVHLE address shall also be
* included in the FORWARDING_STA field of the SLAC MMEs when
* addressing other GP STA (RESP_TYPE = 1);
*
* EVSE-HLE should copy the run identifier to the session variable
* for use later in the session; this will be used to distinguish
Expand Down Expand Up @@ -105,6 +107,7 @@ signed evse_cm_slac_param (struct session * session, struct channel * channel, s
session->APPLICATION_TYPE = request->APPLICATION_TYPE;
session->SECURITY_TYPE = request->SECURITY_TYPE;
memcpy (session->PEV_MAC, request->ethernet.OSA, sizeof (session->PEV_MAC));
memcpy (session->FORWARDING_STA, request->ethernet.OSA, sizeof (session->FORWARDING_STA));
memcpy (session->RunID, request->RunID, sizeof (session->RunID));

#if SLAC_DEBUG
Expand Down