diff --git a/port/posix-h5-bcm/main.c b/port/posix-h5-bcm/main.c index c54dce284..6adeed645 100644 --- a/port/posix-h5-bcm/main.c +++ b/port/posix-h5-bcm/main.c @@ -82,6 +82,7 @@ static hci_transport_config_uart_t transport_config = { 921600, // main baudrate 0, // flow control NULL, + BTSTACK_UART_PARITY_EVEN, // parity }; static btstack_uart_config_t uart_config; diff --git a/port/posix-h5/main.c b/port/posix-h5/main.c index 360e2e982..642ffd844 100644 --- a/port/posix-h5/main.c +++ b/port/posix-h5/main.c @@ -85,6 +85,7 @@ static hci_transport_config_uart_t config = { 0, // main baudrate 1, // flow control NULL, + BTSTACK_UART_PARITY_EVEN, // parity }; static btstack_packet_callback_registration_t hci_event_callback_registration; @@ -225,9 +226,6 @@ int main(int argc, const char * argv[]){ const hci_transport_t * transport = hci_transport_h5_instance(uart_driver); hci_init(transport, (void*) &config); - // enable BCSP mode for CSR chipsets - auto detect might not work - // hci_transport_h5_enable_bcsp_mode(); - // set BD_ADDR for CSR without Flash/unique address // bd_addr_t own_address = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66}; // btstack_chipset_csr_set_bd_addr(own_address);