From 326c82acce6609e8d32aa1d91773f289b430bf8e Mon Sep 17 00:00:00 2001 From: Jochen Vothknecht <jochen3120@gmail.com> Date: Thu, 2 Jun 2022 08:26:52 +0200 Subject: [PATCH] Polishing documentation --- CLC-qthing/SiliconTorch/NVSExplorer.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/CLC-qthing/SiliconTorch/NVSExplorer.md b/CLC-qthing/SiliconTorch/NVSExplorer.md index 68103c1..120af23 100644 --- a/CLC-qthing/SiliconTorch/NVSExplorer.md +++ b/CLC-qthing/SiliconTorch/NVSExplorer.md @@ -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 -- GitLab