Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/rpcmethods/property.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ table

| Name | SHV Path | Flags | Param Type | Result Type | Access |
|-------|----------|--------|------------|-------------|--------|
| `get` | Any | Getter | `i(0,)\|n` | `?` | Read |
| `get` | Any | Getter | `!get` | `?` | Read |

This method is used for getting the current value associated with SHV path.
Every property node needs to have `get` method and every node with `get` method
Expand Down
5 changes: 5 additions & 0 deletions src/rpctypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,11 @@ descriptions.
```
i{s:name:1,u[b:isGetter:1,b:isSetter,b:largeResult,b:notIndempotent,b:userIDRequired,b:isUpdatable]|n:flags,s|n:paramType,s|n:resultType,i(0,63):accessLevel,{s|n}:signals,{?}:extra:63}
```
* `!get` is parameter of [`*:get` method](./rpcmethods/property.md#get).
Its expanded form is:
```
i(0,)|n
```
* `!alert` is result of [`.device/alerts:get`
method](./rpcmethods/device.md#devicealertsget) and value of
[`.device/alerts:get:chng`
Expand Down