Go to the source code of this file.
◆ clCDeviceLocatorFailReason
◆ clCDeviceLocatorHandlerDeviceInfoList
◆ clCDeviceLocatorFailReason
Device locator error.
Enumerator |
---|
clC_DeviceLocatorFailReason_OK | No error.
|
clC_DeviceLocatorFailReason_BluetoothDisabled | Bluetooth adapter not found or disabled.
|
clC_DeviceLocatorFailReason_Unknown | Unknown error.
|
◆ CLC_CLASS_WN()
CLC_CLASS_WN |
( |
DeviceLocatorPrivate |
, |
|
|
clCDeviceLocator |
|
|
) |
| |
Device locator.
Searches for available devices of chosen type
◆ CLC_STRUCT()
CLC_STRUCT |
( |
clCDeviceLocatorDelegateDeviceInfoList |
| ) |
|
Device callback for the list of device info.
◆ clCClient_ChooseDeviceType()
CL_DLL clCDeviceLocator clCClient_ChooseDeviceType |
( |
clCClient |
client, |
|
|
clCDeviceType |
deviceType |
|
) |
| |
Creates locator for Neiry devices of the chosen type.
- Parameters
-
client | client handle |
deviceType | device type |
- Returns
- device locator handle
◆ clCDeviceLocator_Destroy()
CL_DLL void clCDeviceLocator_Destroy |
( |
clCDeviceLocator |
locator | ) |
|
Release device locator.
- Parameters
-
locator | device locator handle |
◆ clCDeviceLocator_GetOnDevicesEvent()
CL_DLL clCDeviceLocatorDelegateDeviceInfoList clCDeviceLocator_GetOnDevicesEvent |
( |
clCDeviceLocator |
locator | ) |
|
Get delegate for available devices event.
- Parameters
-
locator | device locator handle |
- Returns
- device list delegate
◆ clCDeviceLocator_RequestDevices()
CL_DLL void clCDeviceLocator_RequestDevices |
( |
clCDeviceLocator |
locator, |
|
|
int32_t |
searchTime |
|
) |
| |
Find available devices. Search time is in seconds. Non-blocking - OnDevices event is fired when timeout expires.
- Parameters
-
locator | device locator handle |
searchTime | search time in seconds |
◆ clCDeviceLocatorDelegateDeviceInfoList_Set()