MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / subscriber

Function subscriber

app/src/API/Handlers/MqttHandler.cpp:447–450  ·  view source on GitHub ↗

* @brief Returns a pointer to the UI MQTT driver, or nullptr if unavailable. */

Source from the content-addressed store, hash-verified

445 * @brief Returns a pointer to the UI MQTT driver, or nullptr if unavailable.
446 */
447[[nodiscard]] static IO::Drivers::MQTT* subscriber()
448{
449 return IO::ConnectionManager::instance().mqtt();
450}
451
452/**
453 * @brief Returns the subscriber driver configuration; password is never included.

Callers 3

subscriberGetConfigMethod · 0.85
subscriberSetConfigMethod · 0.85
subscriberGetStatusMethod · 0.85

Calls 1

mqttMethod · 0.80

Tested by

no test coverage detected