Communication API > BS2_SearchDevicesEx
Search for devices in a specific IP address band and update the list of devices available in the current context. The list of devices can be obtained via the BS2_GetDevices function.
NOTE
Overwrite the old device list.
#include "BS_API.h" int BS2_SearchDevicesEx(void* context, const char* hostipAddr);
context
: ContexthostipAddr
: Address of the UDP range
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.