~~NOTOC~~
[[communication_api]] > [[BS2_SearchDevices]]
----
===== BS2_SearchDevices =====
Searches BioStar devices from the subnet and refresh the available device list in current Context. Use the [[BS2_GetDevices]] function to get the device list.\\
**NOTE**\\
This will overwrite the existing device list.
==== Declaration ====
#include "BS_API.h"
int BS2_SearchDevices(void* context);
==== Parameter ====
* [In] ''//context//'' : Context
==== Return Value ====
If successfully done, ''BS_SDK_SUCCESS'' will be returned. \\
If there is an error, the corresponding error code will be returned.
==== See Also ====
[[BS2_GetDevices]]