EdgexAgent/device-ble-go/pkg/mqttbus/constants.go
2025-07-10 20:40:32 +08:00

26 lines
546 B
Go

// -*- Mode: Go; indent-tabs-mode: t -*-
//
// Copyright (C) 2019-2021 IOTech Ltd
//
// SPDX-License-Identifier: Apache-2.0
package mqttbus
// Constants related to protocol properties
const (
Protocol = "mqtt"
CommandTopic = "CommandTopic"
)
// Constants related to MQTT security
const (
AuthModeUsernamePassword = "usernamepassword"
AuthModeNone = "none"
)
// Constants related to custom configuration
const (
CustomConfigSectionName = "MQTTBrokerInfo"
WritableInfoSectionName = CustomConfigSectionName + "/Writable"
)