|
uint32_t | ob_device_list_device_count (ob_device_list *list, ob_error **error) |
| 获取设备数量 更多...
|
|
const char * | ob_device_list_get_device_name (ob_device_list *list, uint32_t index, ob_error **error) |
| 获取设备名称 (废弃接口) 更多...
|
|
int | ob_device_list_get_device_pid (ob_device_list *list, uint32_t index, ob_error **error) |
| 获取指定设备pid 更多...
|
|
int | ob_device_list_get_device_vid (ob_device_list *list, uint32_t index, ob_error **error) |
| 获取指定设备vid 更多...
|
|
const char * | ob_device_list_get_device_uid (ob_device_list *list, uint32_t index, ob_error **error) |
| 获取指定设备uid 更多...
|
|
const char * | ob_device_list_get_device_serial_number (ob_device_list *list, uint32_t index, ob_error **error) |
| 获取指定设备序列号 更多...
|
|
ob_device * | ob_device_list_get_device (ob_device_list *list, uint32_t index, ob_error **error) |
| 创建设备 更多...
|
|
ob_device * | ob_device_list_get_device_by_serial_number (ob_device_list *list, const char *serial_number, ob_error **error) |
| 创建设备 更多...
|
|
ob_device * | ob_device_list_get_device_by_uid (ob_device_list *list, const char *uid, ob_error **error) |
| 创建设备 更多...
|
|
void | ob_delete_device (ob_device *device, ob_error **error) |
| 删除设备 更多...
|
|
void | ob_delete_device_info (ob_device_info *info, ob_error **error) |
| 删除设备信息 更多...
|
|
void | ob_delete_device_list (ob_device_list *list, ob_error **error) |
| 删除设备列表 更多...
|
|
ob_device_info * | ob_device_get_device_info (ob_device *device, ob_error **error) |
| 获取设备信息 更多...
|
|
ob_sensor_list * | ob_device_get_sensor_list (ob_device *device, ob_error **error) |
| 获取设备的所有传感器 更多...
|
|
ob_sensor * | ob_device_get_sensor (ob_device *device, ob_sensor_type type, ob_error **error) |
| 获取设备的传感器 更多...
|
|
void | ob_device_set_int_property (ob_device *device, ob_property_id property_id, int32_t property, ob_error **error) |
| 设置int类型的设备属性 更多...
|
|
int32_t | ob_device_get_int_property (ob_device *device, ob_property_id property_id, ob_error **error) |
| 获取int类型的设备属性 更多...
|
|
void | ob_device_set_float_property (ob_device *device, ob_property_id property_id, float property, ob_error **error) |
| 设置float类型的设备属性 更多...
|
|
float | ob_device_get_float_property (ob_device *device, ob_property_id property_id, ob_error **error) |
| 获取float类型的设备属性 更多...
|
|
void | ob_device_set_bool_property (ob_device *device, ob_property_id property_id, bool property, ob_error **error) |
| 设置bool类型的设备属性 更多...
|
|
bool | ob_device_get_bool_property (ob_device *device, ob_property_id property_id, ob_error **error) |
| 获取bool类型的设备属性 更多...
|
|
void | ob_device_set_structured_data (ob_device *device, ob_property_id property_id, const void *data, uint32_t data_size, ob_error **error) |
| 设置结构体类型的设备属性 更多...
|
|
void | ob_device_get_structured_data (ob_device *device, ob_property_id property_id, void *data, uint32_t *data_size, ob_error **error) |
| 获取结构体类型的设备属性 更多...
|
|
void | ob_device_set_structured_data_ext (ob_device *device, ob_property_id property_id, ob_data_bundle *data_bundle, ob_set_data_callback cb, void *user_data, ob_error **error) |
| 设置结构体类型的设备属性 更多...
|
|
ob_data_bundle * | ob_device_get_structured_data_ext (ob_device *device, ob_property_id property_id, ob_error **error) |
| 获取结构体类型的设备属性 更多...
|
|
void | ob_device_set_raw_data (ob_device *device, ob_property_id property_id, void *data, uint32_t data_size, ob_set_data_callback cb, bool async, void *user_data, ob_error **error) |
| 设置raw data类型的设备属性 更多...
|
|
void | ob_device_get_raw_data (ob_device *device, ob_property_id property_id, ob_get_data_callback cb, bool async, void *user_data, ob_error **error) |
| 获取raw data类型的设备属性 更多...
|
|
ob_protocol_version | ob_device_get_protocol_version (ob_device *device, ob_error **error) |
| 获取设备的控制命令协议版本 更多...
|
|
ob_cmd_version | ob_device_get_cmd_version (ob_device *device, ob_property_id property_id, ob_error **error) |
| 获取控制命令的版本号 更多...
|
|
uint32_t | ob_device_get_supported_property_count (ob_device *device, ob_error **error) |
| 获取设备支持的属性的数量 更多...
|
|
ob_property_item | ob_device_get_supported_property (ob_device *device, uint32_t index, ob_error **error) |
| 获取设备支持的属性 更多...
|
|
bool | ob_device_is_property_supported (ob_device *device, ob_property_id property_id, ob_permission_type permission, ob_error **error) |
| 判断属性权限支持情况 更多...
|
|
ob_int_property_range | ob_device_get_int_property_range (ob_device *device, ob_property_id property_id, ob_error **error) |
| 获取int类型的设备属性范围 更多...
|
|
ob_float_property_range | ob_device_get_float_property_range (ob_device *device, ob_property_id property_id, ob_error **error) |
| 获取float类型的设备属性范围 更多...
|
|
ob_bool_property_range | ob_device_get_bool_property_range (ob_device *device, ob_property_id property_id, ob_error **error) |
| 获取bool类型的设备属性范围 更多...
|
|
void | ob_device_write_ahb (ob_device *device, uint32_t reg, uint32_t mask, uint32_t value, ob_error **error) |
| ahb写寄存器 更多...
|
|
void | ob_device_read_ahb (ob_device *device, uint32_t reg, uint32_t mask, uint32_t *value, ob_error **error) |
| ahb读寄存器 更多...
|
|
void | ob_device_write_i2c (ob_device *device, uint32_t module_id, uint32_t reg, uint32_t mask, uint32_t value, ob_error **error) |
| i2c写寄存器 更多...
|
|
void | ob_device_read_i2c (ob_device *device, uint32_t module_id, uint32_t reg, uint32_t mask, uint32_t *value, ob_error **error) |
| i2c读寄存器 更多...
|
|
void | ob_device_write_flash (ob_device *device, uint32_t offset, const void *data, uint32_t data_size, ob_set_data_callback cb, bool async, void *user_data, ob_error **error) |
| 设置写入Flash的属性[异步回调] 更多...
|
|
void | ob_device_read_flash (ob_device *device, uint32_t offset, uint32_t data_size, ob_get_data_callback cb, bool async, void *user_data, ob_error **error) |
| 读取Flash的属性[异步回调] 更多...
|
|
uint64_t | ob_device_sync_device_time (ob_device *device, ob_error **error) |
| 同步设备时间(向设备授时,同步本地系统时间到设备) 更多...
|
|
void | ob_device_upgrade (ob_device *device, const char *path, ob_device_upgrade_callback callback, bool async, void *user_data, ob_error **error) |
| 设备固件升级 更多...
|
|
ob_device_state | ob_device_get_device_state (ob_device *device, ob_error **error) |
| 获取当前设备状态 更多...
|
|
void | ob_device_state_changed (ob_device *device, ob_device_state_callback callback, void *user_data, ob_error **error) |
| 设置设备状态监听 更多...
|
|
void | ob_device_send_file_to_destination (ob_device *device, const char *file_path, const char *dst_path, ob_file_send_callback callback, bool async, void *user_data, ob_error **error) |
| 发送文件到设备指定路径 更多...
|
|
bool | ob_device_activate_authorization (ob_device *device, const char *auth_code, ob_error **error) |
| 验证设备授权码 更多...
|
|
void | ob_device_write_authorization_code (ob_device *device, const char *auth_code, ob_error **error) |
| 写入设备授权码 更多...
|
|
ob_camera_param_list * | ob_device_get_calibration_camera_param_list (ob_device *device, ob_error **error) |
| 获取设备内保存的相机标定的原始参数列表,列表内参数不与当前开流配置相对应, 需要自行根据实际情况选用参数并可能需要做缩放、镜像等处理。非专业用户建议使用ob_pipeline_get_camera_param()接口。 更多...
|
|
ob_depth_work_mode | ob_device_get_current_depth_work_mode (ob_device *device, ob_error **error) |
| 查询当前相机深度模式 更多...
|
|
ob_status | ob_device_switch_depth_work_mode (ob_device *device, const ob_depth_work_mode *work_mode, ob_error **error) |
| 切换相机深度模式(根据深度工作模式对象),如果知道设备支持的深度工作模式名称,那么推荐用ob_device_switch_depth_work_mode_by_name 更多...
|
|
ob_status | ob_device_switch_depth_work_mode_by_name (ob_device *device, const char *mode_name, ob_error **error) |
| 切换相机深度模式(根据深度工作模式名称) 更多...
|
|
ob_depth_work_mode_list * | ob_device_get_depth_work_mode_list (ob_device *device, ob_error **error) |
| 查询当前相机深度模式的列表 更多...
|
|
void | ob_device_reboot (ob_device *device, ob_error **error) |
| 设备重启 更多...
|
|
ob_device_sync_config | ob_device_get_sync_config (ob_device *device, ob_error **error) |
| 获取当前设备同步配置 更多...
|
|
void | ob_device_set_sync_config (ob_device *device, ob_device_sync_config device_sync_config, ob_error **error) |
| 设置设备同步配置 更多...
|
|
const char * | ob_device_info_name (ob_device_info *info, ob_error **error) |
| 获取设备名 更多...
|
|
int | ob_device_info_pid (ob_device_info *info, ob_error **error) |
| 获取设备pid 更多...
|
|
int | ob_device_info_vid (ob_device_info *info, ob_error **error) |
| 获取设备vid 更多...
|
|
const char * | ob_device_info_uid (ob_device_info *info, ob_error **error) |
| 获取设备uid 更多...
|
|
const char * | ob_device_info_serial_number (ob_device_info *info, ob_error **error) |
| 获取设备序列号 更多...
|
|
const char * | ob_device_info_firmware_version (ob_device_info *info, ob_error **error) |
| 获取固件版本号 更多...
|
|
const char * | ob_device_info_usb_type (ob_device_info *info, ob_error **error) |
| 获取usb连接类型 (废弃接口) 更多...
|
|
const char * | ob_device_info_connection_type (ob_device_info *info, ob_error **error) |
| 获取设备连接类型 更多...
|
|
const char * | ob_device_info_hardware_version (ob_device_info *info, ob_error **error) |
| 获取硬件的版本号 更多...
|
|
const char * | ob_device_info_supported_min_sdk_version (ob_device_info *info, ob_error **error) |
| 获取设备支持的SDK最小版本号 更多...
|
|
const char * | ob_device_info_asicName (ob_device_info *info, ob_error **error) |
| 获取芯片类型名称 更多...
|
|
ob_device_type | ob_device_info_device_type (ob_device_info *info, ob_error **error) |
| 获取设备类型 更多...
|
|
uint32_t | ob_camera_param_list_count (ob_camera_param_list *param_list, ob_error **error) |
| 获取相机参数列表内参数组数 更多...
|
|
ob_camera_param | ob_camera_param_list_get_param (ob_camera_param_list *param_list, uint32_t index, ob_error **error) |
| 从相机参数列表内获取相机参数 更多...
|
|
void | ob_delete_camera_param_list (ob_camera_param_list *param_list, ob_error **error) |
| 删除相机参数列表 更多...
|
|
uint32_t | ob_depth_work_mode_list_count (ob_depth_work_mode_list *work_mode_list, ob_error **error) |
| 获取深度工作模式列表的元素数量 更多...
|
|
ob_depth_work_mode | ob_depth_work_mode_list_get_item (ob_depth_work_mode_list *work_mode_list, uint32_t index, ob_error **error) |
| 从深度工作模式列表获取第N个对象 更多...
|
|
void | ob_delete_depth_work_mode_list (ob_depth_work_mode_list *work_mode_list, ob_error **error) |
| 删除深度工作模式列表对象,释放资源 更多...
|
|
void | ob_delete_data_bundle (ob_data_bundle *data_bundle, ob_error **error) |
| 删除ob_data_bundle对象,释放资源; 注意:只能释放OrbbecSDK库返回的ob_data_bundle对象,非OrbbecSDK构建的对象不能调用该接口,否则会造成意想不到的错误 更多...
|
|
设备相关函数,包括获取创建设备,设置及获取设备属性,获取传感器等操作
在文件 Device.h 中定义.