Home
last modified time | relevance | path

Searched refs:lib_interface (Results 1 – 1 of 1) sorted by relevance

/system/bt/hci/src/
Dvendor.c42 static bt_vendor_interface_t *lib_interface; variable
59 lib_interface = (bt_vendor_interface_t *)dlsym(lib_handle, VENDOR_LIBRARY_SYMBOL_NAME); in vendor_open()
60 if (!lib_interface) { in vendor_open()
67 int status = lib_interface->init(&lib_callbacks, (unsigned char *)local_bdaddr); in vendor_open()
76 lib_interface = NULL; in vendor_open()
84 if (lib_interface) in vendor_close()
85 lib_interface->cleanup(); in vendor_close()
90 lib_interface = NULL; in vendor_close()
95 assert(lib_interface != NULL); in send_command()
96 return lib_interface->op((bt_vendor_opcode_t)opcode, param); in send_command()
[all …]