Unify Framework Lib 1.6.0

Namespaces

namespace  node_state_monitor
 

Functions

std::optional< std::string > unid_from_mqtt_topic (const std::string &topic)
 Get UNID from MQTT topic. More...
 

Function Documentation

◆ unid_from_mqtt_topic()

std::optional< std::string > unify::unid_from_mqtt_topic ( const std::string &  topic)

Get UNID from MQTT topic.

Parameters
topicMQTT topic
Returns
std::optional<std::string> either a string with the UNID or std::nullopt if unable to get the UNID from the topic.