-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
44147dc
commit d62d42a
Showing
2 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
content/docs/50_platform/specifications/mqtt-panduza/attribute-types/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: "Attribute Types" | ||
weight: 100 | ||
description: "" | ||
icon: cloud | ||
--- | ||
|
||
### `[PLATF_00018]` - Attribute A0 | ||
|
||
Historic attribute type for Panduza. | ||
|
||
- Commands sent on topic "cmds/set" | ||
- Acknowledge on reading the topic "atts/{att_name}" | ||
|
||
Payloads: json | ||
|
||
Its main goal was to be able to set multiple attributes with the same command. It supported only a "control" vision of Panduza. | ||
This type should be avoided for new interfaces. | ||
|
||
### `[PLATF_00019]` - Attribute A1 | ||
|
||
Attributes for field control | ||
|
||
Similar to A0 but with a dedicated cmds topic | ||
|
||
- Commands sent on topic "cmds/{att_name}" | ||
- Acknowledge on reading the topic "atts/{att_name}" | ||
|
||
Payloads: json | ||
|
||
atts topic: retained true ! | ||
|
||
cmds and atts are mirroring, to set a value just send it into cmds and atts will reflect if accepted. | ||
|
||
Some fields or all felds can be ReadOnly. | ||
|
||
### `[PLATF_00020]` - Attribute A2 | ||
|
||
free cmds (send command on the custom format defined by the interface) | ||
|
||
### `[PLATF_00020]` - Attribute A3 | ||
|
||
free atts (value returned on the custom format defined by the interface) | ||
|
||
atts topic: retained true ! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters