void ob_set_logger_to_file(ob_log_severity severity, const char *directory, ob_error **error)
Set output log to file.
ob_context * ob_create_context_with_config(const char *config_path, ob_error **error)
create context with config
ob_device_list * ob_query_device_list(ob_context *context, ob_error **error)
Get the list of enumerated devices.
ob_context * ob_create_context(ob_error **error)
create context api
void ob_delete_context(ob_context *context, ob_error **error)
Delete context.
void ob_set_logger_severity(ob_log_severity severity, ob_error **error)
Set the global log level and this will affect both the log level output to the console and the log ou...
void ob_set_device_changed_callback(ob_context *context, ob_device_changed_callback callback, void *user_data, ob_error **error)
Set device plug-in callback function.
void ob_enable_multi_device_sync(ob_context *context, uint64_t repeatInterval, ob_error **error)
Activate the multi-device synchronization function to synchronize the clock of the created device(the...
ob_device * ob_create_net_device(ob_context *context, const char *address, uint16_t port, ob_error **error)
创建网络设备