Skip to content
Snippets Groups Projects
Commit 326c82ac authored by fxk8y's avatar fxk8y :spider:
Browse files

Polishing documentation

parent 91b92264
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,8 @@ In the following list, `argument` stands for the message content received on the
- `get_type` - **get type of key**
request: `REQUEST/get_type/NS/KEY`
response: `RESPONSE/get_type/NS/KEY`
description: reads the type and converts it to `string`; returns `void` in case of non-existing `key`
description: reads the type and converts it to `string`; returns `void` in case of non-existing `key`
possible return values: `u8`, `u16`, `u32`, `u64`, `i8`, `i16`, `i32`, `i64`, `str`, `blob`, `any`, `void`
- `get_raw` - **get generic value**
request: `REQUEST/get_raw/NS/KEY`
......@@ -83,6 +84,16 @@ In the following list, `argument` stands for the message content received on the
argument: the value to set
description: converts the message from `string` to `int` and writes it into the `key`; the value is capped to the bounds of the specified type, e.g. `[0, 128]` in case of `set_u8`
- `get_str` - **get string value**
request: `REQUEST/get_str/NS/KEY`
response: `RESPONSE/get_str/NS/KEY`
description: returns the stored `string` value
- `get_strlen` - **get string length**
request: `REQUEST/get_strlen/NS/KEY`
response: `RESPONSE/get_strlen/NS/KEY`
description: returns the length of a stored `string` value
### Types
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment