diff --git a/CLC-qthing/SiliconTorch/NVSExplorer.md b/CLC-qthing/SiliconTorch/NVSExplorer.md index 68103c145e6a1250e817965650a689d582c4cd76..120af238a6fa595f8163c61e35077bf54fa9ff92 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