SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (MTB & µPython)
Loading...
Searching...
No Matches
bento_link_s Struct Reference

#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

Field Documentation

◆ send_ctrl

bool(*) bento_link_s::send_ctrl(bento_link_t *self, uint8_t cmd, uint32_t value)

◆ send_data

bool(*) bento_link_s::send_data(bento_link_t *self, uint8_t stream_id, const void *buf, uint16_t len)

◆ register_receive

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))

◆ name

const char* bento_link_s::name

◆ mtu

uint16_t bento_link_s::mtu

◆ bandwidth_bps

uint32_t bento_link_s::bandwidth_bps

◆ flags

uint8_t bento_link_s::flags

The documentation for this struct was generated from the following file: