-
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.
* update perf interface * remove old ping interface in platofrm
- Loading branch information
1 parent
92e199f
commit b69dbeb
Showing
2 changed files
with
41 additions
and
14 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
content/docs/platform/specifications/mqtt-panduza/interfaces/perf.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,41 @@ | ||
--- | ||
title: "Perf" | ||
weight: 300 | ||
--- | ||
|
||
This document describes the specific attributes of Perf interfaces. | ||
|
||
Please refer to [API interface](/docs/mqtt/core.md) to get a generic description of the interface mechanism. | ||
|
||
The goal of the perf interface is to provide a way to test performance of the chain client/network/broker/platform. | ||
|
||
## Info | ||
|
||
```json | ||
{ | ||
"type": "perf", | ||
"version": "0.0.0" | ||
} | ||
``` | ||
|
||
### Changelog | ||
|
||
#### Version 0.0 | ||
|
||
- Experimentations | ||
|
||
## Attributes | ||
|
||
| Attribute name | Retain Topic | | ||
| :------------: | :----------: | | ||
| ping | True | | ||
|
||
### `[PLATF_00000_00]` - Attribute 'ping' | ||
|
||
This attribute **must** have the following fields: | ||
|
||
| Field name | Description | Default | Type | Read-only | | ||
| :--------- | :--------------------------------: | :-----: | :---: | :-------: | | ||
| value | Contains the value set by the user | 0 | bytes | False | | ||
|
||
This attribute just set back the value. |
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