|
SDK for TESAIoT Dev Kit
API reference & tutorials (ModusToolbox)
|
#include <stddef.h>#include <stdint.h>#include "vendor/jsmn.h"Go to the source code of this file.
Functions | |
| void | nus_fp_char_begin (const char *json, const jsmntok_t *toks, int n) |
| Folder-push verb char_begin: open the staging folder. Dispatcher-only. | |
| void | nus_fp_file (const char *json, const jsmntok_t *toks, int n) |
| Verb file: start a file inside the staging folder; path validation rejects traversal. | |
| void | nus_fp_chunk (const char *json, const jsmntok_t *toks, int n) |
| Verb chunk: stream the "d" base64 field into LittleFS via the stateful decoder. | |
| void | nus_fp_file_end (const char *json, const jsmntok_t *toks, int n) |
| Verb file_end: flush the decoder carry and close the file. | |
| void | nus_fp_char_end (const char *json, const jsmntok_t *toks, int n) |
| Verb char_end: atomic commit — rename staging to /buddy/<name>/ or delete it. | |
| int | nus_fp_is_active (void) |
| Non-zero between char_begin and char_end; defer heavy side work during a transfer. | |