BM_EnumerateRemote
函数名、签名、参数与返回值和 BMAPI SDK 保持一致,可直接用于开发、检索与代码审查。
Enumerate all remote Busmust devices.
BMAPI BM_StatusTypeDef BM_EnumerateRemote (BM_ChannelInfoTypeDef channelinfos[], int *nchannels, uint8_t ipv4[4], int timeout)Parameters
Section titled “Parameters”| Direction | Name | Description |
|---|---|---|
| [out] | channelinfos |
An array of BM_ChannelInfoTypeDef structure which holds info of all the enumerated Busmust devices. |
| [in,out] | nchannels |
Number of device channels available, which is also the number of valid entries in channelinfos, this param must be initialized with the maximum length of the channelinfos array when calling this function. |
| [in] | ipv4 |
The IPV4 unicast/broadcast address in which to find remote devices, in network byte order. e.g. ipv4 = {192, 168, 0, 255} indicates broadcasting within 192.168.0.x e.g. ipv4 = {192, 168, 0, 100} indicates enumerating 192.168.0.100 only |
| [in] | timeout |
Timeout (in milliseconds) before waiting response from remote devices. |
Returns
Section titled “Returns”Operation status, see BM_StatusTypeDef for details.
This reference follows the current BUSMUST BMAPI SDK. For an installed package, its bundled header and help files define the exact version-specific contract.