Defines the enumeration interface of the BCON adapter. More...
Typedefs | |
typedef BCONSTATUS(BCON_ADAPTER_CALL * | PFUNC_BCON_ADAPTER_DISCOVERY_CALLBACK )(const char deviceId[], uintptr_t userContext) |
Discovery callback function. Call this function for each device present. The callee opens the connection to the camera device to retrieve further information if needed. More... | |
Functions | |
BCONSTATUS BCON_ADAPTER_CALL | BconAdapterStartDiscovery (PFUNC_BCON_ADAPTER_DISCOVERY_CALLBACK pCallback, uintptr_t userContext) |
Discovers camera devices. This function should implement a complete device enumeration or provide static information, e.g. read from a config file. More... | |
Defines the enumeration interface of the BCON adapter.
typedef BCONSTATUS(BCON_ADAPTER_CALL * PFUNC_BCON_ADAPTER_DISCOVERY_CALLBACK)(const char deviceId[], uintptr_t userContext) |
Discovery callback function. Call this function for each device present. The callee opens the connection to the camera device to retrieve further information if needed.
[in] | deviceId | A string that identifies the device just found. The string is UTF-8 encoded, zero-terminated, contains less than 255 characters, and only printable characters. |
[in] | userContext | User context handed to the call of BconAdapterStartDiscovery(). |
BCONSTATUS BCON_ADAPTER_CALL BconAdapterStartDiscovery | ( | PFUNC_BCON_ADAPTER_DISCOVERY_CALLBACK | pCallback, |
uintptr_t | userContext | ||
) |
Discovers camera devices. This function should implement a complete device enumeration or provide static information, e.g. read from a config file.
[in] | pCallback | Pointer to the callback interface. |
[in] | userContext | User defined type returned in callback. |
BCON_OK | on success. |
BCON_E_NOT_FOUND | if no information is available. |
Any | other BCON adapter error code otherwise. |