diff --git a/app/rpi/common/include/car/system/messaging/MessagingSystem.h b/app/rpi/common/include/car/system/messaging/MessagingSystem.h index f75da1f2..1cfad5dd 100644 --- a/app/rpi/common/include/car/system/messaging/MessagingSystem.h +++ b/app/rpi/common/include/car/system/messaging/MessagingSystem.h @@ -37,7 +37,6 @@ namespace car::system::messaging nod::signal& getCommandSignal() { return this->command_signal; } nod::signal& getMessageSignal() { return this->message_signal; } - nod::signal& getConnectSignal() { return this->on_connect_signal; } nod::signal& getDisconnectSignal() { return this->on_disconnect_signal; } void onMessageCallback(const ix::WebSocketMessagePtr& msg) const; @@ -49,7 +48,6 @@ namespace car::system::messaging const bool isConnected() const { return this->connected; } - nod::signal on_connect_signal; nod::signal on_disconnect_signal; nod::signal message_signal; diff --git a/app/rpi/common/src/car/system/messaging/MessagingSystem.cpp b/app/rpi/common/src/car/system/messaging/MessagingSystem.cpp index dd6f3c1d..276a228e 100644 --- a/app/rpi/common/src/car/system/messaging/MessagingSystem.cpp +++ b/app/rpi/common/src/car/system/messaging/MessagingSystem.cpp @@ -90,12 +90,6 @@ namespace car::system::messaging { switch (msg->type) { - case ix::WebSocketMessageType::Open: - { - spdlog::info("Connected to the Websocket Server."); - this->on_connect_signal(); - break; - } case ix::WebSocketMessageType::Close: { spdlog::info("Disconnected from the Websocket Server; Reason: {}", msg->closeInfo.reason); diff --git a/app/rpi/daemon/src/main.cpp b/app/rpi/daemon/src/main.cpp index a5aae952..eb0151d8 100644 --- a/app/rpi/daemon/src/main.cpp +++ b/app/rpi/daemon/src/main.cpp @@ -126,7 +126,7 @@ class rpi_daemon : public daemon } else { - dlog::info("Connected to the WS Server."); + dlog::notice(fmt::format(R"(Connected to the Websocket Server; UUID: "{}")", this->car_system->getMessagingSystem()->getUUID())); } this->last_connected = now; }