pub fn get_device_prefix(app: &str, id: &str) -> String<128>
Expand description

Get the MQTT prefix of a device.

§Args

  • app - The name of the application that is executing.
  • id - The MQTT ID of the device.

§Returns

The MQTT prefix used for this device.