From 13902f312526a9c50534d1ac86a0d7bced318b29 Mon Sep 17 00:00:00 2001 From: Xavier RODRIGUEZ Date: Fri, 5 Apr 2024 07:50:21 +0200 Subject: [PATCH] fix info attribute specifications --- .../platform/specifications/mqtt-panduza/core.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/content/docs/platform/specifications/mqtt-panduza/core.md b/content/docs/platform/specifications/mqtt-panduza/core.md index fb9b121..37ed030 100644 --- a/content/docs/platform/specifications/mqtt-panduza/core.md +++ b/content/docs/platform/specifications/mqtt-panduza/core.md @@ -97,18 +97,23 @@ Therefore, the payload will vary from these power supplies. The ones that suppor This way, it is very easy for client APIs to distinguish what is allowed or not, and notify the user accordingly. -### Info Attribute +### `[PLATF_REQ_CORE_0300_00]` - Info Attribute -This attribute is special. It must be supported in read-only by all the interfaces and **must not be retained**. +This attribute is special. It **must** be supported in read-only by all the interfaces and **must not** be retained. +It **must** contain: - -It contains the type of the interface, and the version of the meta driver. +- the type of the interface +- the version of the interface +- the state of the driver (run/error) +- An error string in case the state is error ```json { "type": "serial", - "version": "1.0" + "version": "1.0", + "state": "run", + "error": "error string", } ```