Home
last modified time | relevance | path

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

/btstack/platform/posix/
H A Dbtstack_sco_transport_posix_i2s_test_bridge.c296 static int posix_i2s_test_bridge_init(const char * device_path){ in posix_i2s_test_bridge_init() argument
302 int fd = open(device_path, flags); in posix_i2s_test_bridge_init()
304 log_error("Unable to open port %s", device_path); in posix_i2s_test_bridge_init()
373 …_transport_t * btstack_sco_transport_posix_i2s_test_bridge_init_instance(const char * device_path){ in btstack_sco_transport_posix_i2s_test_bridge_init_instance() argument
380 int err = posix_i2s_test_bridge_init(device_path); in btstack_sco_transport_posix_i2s_test_bridge_init_instance()
H A Dbtstack_sco_transport_posix_i2s_test_bridge.h59 …_transport_t * btstack_sco_transport_posix_i2s_test_bridge_init_instance(const char * device_path);
/btstack/platform/windows/
H A Dhci_transport_h2_winusb.c339 static bool usb_is_vmware_bluetooth_adapter(const char * device_path){ in usb_is_vmware_bluetooth_adapter() argument
341 const char * pos = strstr(device_path, "\\usb#vid_0e0f&pid"); in usb_is_vmware_bluetooth_adapter()
345 static bool usb_device_path_match(const char * device_path, uint16_t vendor_id, uint16_t product_id… in usb_device_path_match() argument
349 const char * pos = strstr(device_path, substring); in usb_device_path_match()
350 log_info("check %s in %s -> %p", substring, device_path, pos); in usb_device_path_match()
354 static bool usb_is_known_bluetooth_device(const char * device_path){ in usb_is_known_bluetooth_device() argument
357 …if (usb_device_path_match( device_path, known_bluetooth_devices[i*2], known_bluetooth_devices[i*2+… in usb_is_known_bluetooth_device()
365 if (usb_device_path_match( device_path, device->vendor_id, device->product_id)){ in usb_is_known_bluetooth_device()
969 static int usb_try_open_device(const char * device_path){ in usb_try_open_device() argument
972 usb_device_handle = CreateFile(device_path, in usb_try_open_device()
[all …]