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

slac: Bugfix on slac package structure definitions and default values #150

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 4 additions & 4 deletions slac/slac.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
#define SLAC_TIMEOUT 1000
#define SLAC_APPLICATION_TYPE 0
#define SLAC_SECURITY_TYPE 0
#define SLAC_RESPONSE_TYPE 0
#define SLAC_RESPONSE_TYPE 1
#define SLAC_MSOUND_TARGET "FF:FF:FF:FF:FF:FF"
#define SLAC_FORWARD_STATION "00:00:00:00:00:00"
#define SLAC_GROUPS 58
Expand Down Expand Up @@ -148,7 +148,7 @@ typedef struct __packed session
byte PEV_MAC [ETHER_ADDR_LEN];
byte EVSE_ID [SLAC_UNIQUE_ID_LEN];
byte EVSE_MAC [ETHER_ADDR_LEN];
byte RND [SLAC_UNIQUE_ID_LEN];
byte RND [SLAC_RND_LEN];
byte NMK [SLAC_NMK_LEN];
byte NID [SLAC_NID_LEN];
byte original_nmk [SLAC_NMK_LEN];
Expand Down Expand Up @@ -301,7 +301,8 @@ typedef struct __packed cm_mnbc_sound_indicate
uint8_t SenderID [SLAC_UNIQUE_ID_LEN];
uint8_t CNT;
uint8_t RunID [SLAC_RUNID_LEN];
uint8_t RND [SLAC_UNIQUE_ID_LEN];
uint8_t RES [8];
uint8_t RND [SLAC_RND_LEN];
}
MSVarField;
}
Expand Down Expand Up @@ -427,4 +428,3 @@ signed slac_debug (struct session * session, signed status, char const * string,
#endif