|
SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (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) |
| verb char_begin ของ folder-push: เปิดโฟลเดอร์ staging เรียกจาก dispatcher เท่านั้น | |
| void | nus_fp_file (const char *json, const jsmntok_t *toks, int n) |
| verb file: เริ่มไฟล์ใหม่ในโฟลเดอร์ staging การตรวจพาธปฏิเสธการไต่ไดเรกทอรี | |
| void | nus_fp_chunk (const char *json, const jsmntok_t *toks, int n) |
| verb chunk: สตรีมฟิลด์ base64 "d" ลง LittleFS ผ่าน decoder ที่เก็บสถานะไว้ | |
| void | nus_fp_file_end (const char *json, const jsmntok_t *toks, int n) |
| verb file_end: เขียนค่าที่ decoder ค้างไว้ลงจริงแล้วปิดไฟล์ | |
| void | nus_fp_char_end (const char *json, const jsmntok_t *toks, int n) |
| verb char_end: commit แบบอะตอมิก — เปลี่ยนชื่อ staging เป็น /buddy/<name>/ หรือลบทิ้ง | |
| int | nus_fp_is_active (void) |
| คืนค่าที่ไม่ใช่ศูนย์ในช่วงระหว่าง char_begin กับ char_end ใช้เลื่อนงานหนักอื่นออกไประหว่างการโอนข้อมูล | |