跳转到内容

BM_ChannelInfoTypeDef

结构体与成员名称和 BMAPI SDK 保持一致,便于直接对应头文件与示例代码。

BM_ChannelInfoTypeDef data structure.

Member Declaration Description
name char name [64] Device full name, for display purpose
sn uint8_t sn [16] Device SN
uid uint8_t uid [12] Device UID
version uint8_t version [4] Device Firmware Version
vid uint16_t vid Device VID
pid uint16_t pid Device PID
port uint16_t port Port ID (0-7) of the device, note a multi-port device is enumerated as multiple dedicated BM_ChannelInfoTypeDef entries
cap uint16_t cap Device Capability flags, see BM_CapabilityTypeDef for details.
addr uint8_t addr [4] Device address, this is usually a IPV4 address and can be converted to in_addr struct pointer (address in network byte order)

This data-structure reference follows the current BUSMUST BMAPI SDK.