Skip to content

Commit

Permalink
merge fix; set SteVe in 2.0.1 config.json
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik K <[email protected]>
  • Loading branch information
Dominik-K committed Nov 7, 2023
1 parent 30e81e2 commit 6ed8c58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/v201/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
"NetworkConnectionProfiles": {
"variable_name": "NetworkConnectionProfiles",
"attributes": {
"Actual": "[{\"configurationSlot\": 1, \"connectionData\": {\"messageTimeout\": 30, \"ocppCsmsUrl\": \"ws://localhost:9000/cp001\", \"ocppInterface\": \"Wired0\", \"ocppTransport\": \"JSON\", \"ocppVersion\": \"OCPP20\", \"securityProfile\": 1}}]"
"Actual": "[{\"configurationSlot\": 1, \"connectionData\": {\"messageTimeout\": 30, \"ocppCsmsUrl\": \"127.0.0.1:8443/steve/websocket/CentralSystemService/\", \"ocppInterface\": \"Wired0\", \"ocppTransport\": \"JSON\", \"ocppVersion\": \"OCPP20\", \"securityProfile\": 1}}]"
}
},
"ChargeBoxSerialNumber": {
Expand Down Expand Up @@ -682,4 +682,4 @@
}
}
}
]
]
2 changes: 1 addition & 1 deletion lib/ocpp/common/websocket/websocket_tls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ bool WebsocketTLS::connect() {
websocket_thread.reset(new websocketpp::lib::thread(&tls_client::run, &this->wss_client));

this->wss_client.set_tls_init_handler(
websocketpp::lib::bind(&WebsocketTLS::on_tls_init, this, this->connection_options.csms_uri.get_chargepoint_id(),
websocketpp::lib::bind(&WebsocketTLS::on_tls_init, this, this->connection_options.csms_uri.get_hostname(),
websocketpp::lib::placeholders::_1, this->connection_options.security_profile));

this->reconnect_callback = [this](const websocketpp::lib::error_code& ec) {
Expand Down

0 comments on commit 6ed8c58

Please sign in to comment.