|
SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (ModusToolbox)
|
#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | BENTO_BUDDY_FW_VERSION "1.4.0" |
Typedefs | |
| typedef struct jsmntok | jsmntok_t |
Functions | |
| void | bento_fw_handle_query (const char *json, const jsmntok_t *toks, int n_toks) |
| handler ของ bento.fw.query: เป็น probe อ่านอย่างเดียวที่ต้นทุนต่ำสำหรับ metadata เรียกจาก dispatcher เท่านั้น | |
| void | bento_fw_handle_update_begin (const char *json, const jsmntok_t *toks, int n_toks) |
| handler ของ bento.fw.update.begin: เปิดคำถามยืนยัน Y/N บนจอ LCD และเลื่อน ack ไปจนกว่าจะมีการตัดสินใจ | |
| void | bento_fw_emit_boot_complete (void) |
| ส่ง bento.fw.update.complete หนึ่งครั้งต่อการบูตหนึ่งรอบ ตอนเปลี่ยนสถานะเป็น CONNECTED ครั้งแรก | |
| void | bento_fw_on_user_decision (int approve) |
| ส่งผลการตัดสินใจ Y/N จากจอ LCD ของ CM55 สำหรับคำถามยืนยันปัจจุบัน เป็น no-op เมื่อไม่มีคำถามค้างอยู่ | |
| #define BENTO_BUDDY_FW_VERSION "1.4.0" |
| typedef struct jsmntok jsmntok_t |