NET_SDK_DiscoverDevice¶
Interface Definition¶
1 2 3 4 | |
1 2 3 4 | |
Function Description¶
LAN front-end device discovery.
Parameter Description¶
| Parameters | Type | Remark |
|---|---|---|
| pDeviceInfoout | NET_SDK_DEVICE_DISCOVERY_INFO* | Used to save the discovered device information. An array needs to be passed in. The array size is bufNum. If the discovered device is larger than bufNum, only bufNUm devices will be returned. |
| bufNumin | int | The size of the pDeviceInfo array. |
| waitSecondsin | int | Waiting time, in seconds, the default value is 3. |
Return Value¶
-
type:int
-
remark:The return value is the number of devices found. If no device is found or the search fails, the return value is 0.
Remarks¶
None