mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-19 00:31:59 +01:00
Introduce numeric error codes in mqtt webapi
This commit is contained in:
@@ -37,4 +37,21 @@ enum WebApiError {
|
||||
MaintenanceBase = 6000,
|
||||
MaintenanceRebootTriggered,
|
||||
MaintenanceRebootCancled,
|
||||
|
||||
MqttBase = 7000,
|
||||
MqttHostnameLength,
|
||||
MqttUsernameLength,
|
||||
MqttPasswordLength,
|
||||
MqttTopicLength,
|
||||
MqttTopicCharacter,
|
||||
MqttTopicTrailingSlash,
|
||||
MqttPort,
|
||||
MqttCertificateLength,
|
||||
MqttLwtTopicLength,
|
||||
MqttLwtTopicCharacter,
|
||||
MqttLwtOnlineLength,
|
||||
MqttLwtOfflineLength,
|
||||
MqttPublishInterval,
|
||||
MqttHassTopicLength,
|
||||
MqttHassTopicCharacter,
|
||||
};
|
||||
Reference in New Issue
Block a user