BM_DataHeaderTypeDef
结构体与成员名称和 BMAPI SDK 保持一致,便于直接对应头文件与示例代码。
BM_DataHeaderTypeDef data structure.
Members
Section titled “Members”| Member | Declaration | Description |
|---|---|---|
type |
uint16_t type: 4 |
Data type, see BM_DataTypeTypeDef for details. |
flags |
uint16_t flags: 1 |
If this packet has an additional tail or not, packet.length = payload.length + tail.length if flags=1. |
group |
uint16_t group: 3 |
Channel group index, starting from zero, each group contains 16 channels e.g.Use[group = 0, schn = 7] to access the 7th port(in BM_ChannelInfoTypeDef) of a device e.g.Use[group = 2, schn = 3] to access the 35th port(in BM_ChannelInfoTypeDef) of a device |
dchn |
uint16_t dchn: 4 |
Destination channel ID, starting from zero, used by TX data to indicate the hardware about the target port. |
schn |
uint16_t schn: 4 |
Source channel ID, starting from zero, used by RX data to indicate the application about the source port. |
This data-structure reference follows the current BUSMUST BMAPI SDK.