|
SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (MTB & µPython)
|
#include <stdint.h>#include <stdbool.h>Go to the source code of this file.
Data Structures | |
| struct | bento_link_s |
Macros | |
| #define | BL_F_LOSSY (1u << 0) |
| #define | BL_F_BULK_RING (1u << 1) |
| #define | BENTO_LINK_MAX_BACKENDS (4u) |
Typedefs | |
| typedef struct bento_link_s | bento_link_t |
Functions | |
| bool | bento_link_register (bento_link_t *link) |
| API สำหรับผู้เขียน backend: ลงทะเบียน bento_link_t ของ transport เพียงครั้งเดียว | |
| bento_link_t * | bento_link_get (const char *name) |
| ค้นหา backend ตามชื่อ; คืน NULL เมื่อไม่มี — ต้องตรวจ NULL เสมอ | |
| bento_link_t * | bento_link_at (uint32_t index) |
| ไล่รายการใน registry; คืน NULL เมื่อเลยรายการสุดท้าย | |
| #define BL_F_LOSSY (1u << 0) |
| #define BL_F_BULK_RING (1u << 1) |
| #define BENTO_LINK_MAX_BACKENDS (4u) |
| typedef struct bento_link_s bento_link_t |