Valetudo/backend/lib/mqtt/MqttCommonAttributes.js

15 lines
208 B
JavaScript

const asyncMqtt = require("async-mqtt");
/**
* @enum {asyncMqtt.QoS}
*/
const QOS = Object.freeze({
AT_MOST_ONCE: 0,
AT_LEAST_ONCE: 1,
EXACTLY_ONCE: 2,
});
module.exports = {
QOS: QOS,
};