55 return mpCredentials->getDeviceId();
65 return mpCredentials->getOwnerId();
81 + mpCredentials->getOwnerId() +
"/"
83 + mpCredentials->getDeviceId() +
"/"
101 + mpCredentials->getOwnerId() +
"/"
129 return mpCredentials;
136 const String mPrefix;
Manages device identity and cryptographic credentials for Uniot devices.
Definition Credentials.h:61
const String & getOwnerId() const
Gets the owner ID from the credentials.
Definition MQTTPath.h:63
String buildPublicPath(const String &topic) const
Builds an MQTT topic path for public communication.
Definition MQTTPath.h:116
String buildDevicePath(const String &topic) const
Builds an MQTT topic path for device-specific communication.
Definition MQTTPath.h:77
MQTTPath(const Credentials &credentials)
Constructs an MQTTPath instance with device credentials.
Definition MQTTPath.h:44
const Credentials * getCredentials() const
Gets the credentials object used by this instance.
Definition MQTTPath.h:127
String buildGroupPath(const String &groupId, const String &topic) const
Builds an MQTT topic path for group-level communication.
Definition MQTTPath.h:97
const String & getDeviceId() const
Gets the device ID from the credentials.
Definition MQTTPath.h:53
Contains all classes and functions related to the Uniot Core.