|
SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (MTB & µPython)
|
#include <bento_link.h>
Data Fields | |
| bool(*) | send_ctrl (bento_link_t *self, uint8_t cmd, uint32_t value) |
| bool(*) | send_data (bento_link_t *self, uint8_t stream_id, const void *buf, uint16_t len) |
| void(*) | register_receive (bento_link_t *self, void(*ctrl_cb)(uint8_t cmd, uint32_t value), void(*data_cb)(uint8_t stream_id, const void *buf, uint16_t len, uint16_t seq)) |
| const char * | name |
| uint16_t | mtu |
| uint32_t | bandwidth_bps |
| uint8_t | flags |
| bool(*) bento_link_s::send_ctrl(bento_link_t *self, uint8_t cmd, uint32_t value) |
| bool(*) bento_link_s::send_data(bento_link_t *self, uint8_t stream_id, const void *buf, uint16_t len) |
| void(*) bento_link_s::register_receive(bento_link_t *self, void(*ctrl_cb)(uint8_t cmd, uint32_t value), void(*data_cb)(uint8_t stream_id, const void *buf, uint16_t len, uint16_t seq)) |
| const char* bento_link_s::name |
| uint16_t bento_link_s::mtu |
| uint32_t bento_link_s::bandwidth_bps |
| uint8_t bento_link_s::flags |