Lines Matching refs:btstack_uart

132 static const btstack_uart_t * btstack_uart;  variable
179 return btstack_uart->set_baudrate(baudrate); in hci_transport_h4_set_baudrate()
190 btstack_uart->receive_block(&hci_packet[read_pos], bytes_to_read); in hci_transport_h4_trigger_next_read()
414 btstack_uart->send_block(buffer, buffer_size); in hci_transport_h4_send_packet()
441 btstack_uart->init(&hci_transport_h4_uart_config); in hci_transport_h4_init()
442 btstack_uart->set_block_received(&hci_transport_h4_block_read); in hci_transport_h4_init()
443 btstack_uart->set_block_sent(&hci_transport_h4_block_sent); in hci_transport_h4_init()
448 int res = btstack_uart->open(); in hci_transport_h4_open()
470 return btstack_uart->close(); in hci_transport_h4_close()
515 if (btstack_uart->get_supported_sleep_modes){ in hci_transport_h4_ehcill_open()
516 supported_sleep_modes = btstack_uart->get_supported_sleep_modes(); in hci_transport_h4_ehcill_open()
527 if (btstack_uart->set_wakeup_handler){ in hci_transport_h4_ehcill_open()
528 btstack_uart->set_wakeup_handler(&hci_transport_h4_ehcill_wakeup_handler); in hci_transport_h4_ehcill_open()
540 btstack_uart->send_block(&ehcill_command_to_send, 1); in hci_transport_h4_echill_send_wakeup_ind()
559 btstack_uart->send_block(&ehcill_command_to_send, 1); in hci_transport_h4_ehcill_send_ehcill_command()
594 btstack_uart->set_sleep(BTSTACK_UART_SLEEP_OFF); in hci_transport_h4_ehcill_trigger_wakeup()
643 btstack_uart->set_sleep(BTSTACK_UART_SLEEP_OFF); in hci_transport_h4_ehcill_handle_command()
661 btstack_uart->set_sleep(BTSTACK_UART_SLEEP_OFF); in hci_transport_h4_ehcill_handle_command()
668 btstack_uart->set_sleep(BTSTACK_UART_SLEEP_OFF); in hci_transport_h4_ehcill_handle_command()
690 btstack_uart->send_block(ehcill_tx_data, ehcill_tx_len); in hci_transport_h4_ehcill_handle_command()
731 btstack_uart->set_sleep(btstack_uart_sleep_mode); in hci_transport_h4_ehcill_handle_ehcill_command_sent()
739 btstack_uart->set_sleep(BTSTACK_UART_SLEEP_OFF); in hci_transport_h4_ehcill_handle_ehcill_command_sent()
766 btstack_uart = uart_driver; in hci_transport_h4_instance_for_uart()
772 btstack_uart = (const btstack_uart_t *) uart_driver; in hci_transport_h4_instance()