v01d commented on issue #2084: URL: https://github.com/apache/incubator-nuttx/issues/2084#issuecomment-716158848
Enabling SIM_WALLTIME indeed makes the wait function as expected (although HCI initialization still fails). I would say that either SIM_WALLTIME=n is broken or it makes no sense to have it disabled if timeouts will not work. Regarding bluetooth stack itself, I get the following: ``` bt_initialize: btdev 0x5648f0b60080 bt_hci_cmd_create: opcode 0c03 param_len 0 bt_buf_alloc: buf 0x5648f0b63590 type 0 reserve 0 bt_hci_cmd_create: buf 0x5648f0b63590 bt_buf_extend: buf 0x5648f0b63590 len 3 bt_hci_cmd_send_sync: opcode 0c03 len 3 hci_tx_kthread: started hci_tx_kthread: Sending command 0c03 buf 0x5648f0b63590 to driver btnull_send: Bit bucket: length 3 btnull_send: CMD: 0c03 bt_buf_alloc: buf 0x5648f0b63560 type 1 reserve 0 btnull_send: Send CMD complete event bt_hci_receive: buf 0x5648f0b63560 len 5 priority_rx_work: list 0x5648f0b63650 priority_rx_work: buf 0x5648f0b63560 type 1 len 5 bt_buf_consume: buf 0x5648f0b63560 len 2 hci_cmd_complete: opcode 0c03 bt_buf_consume: buf 0x5648f0b63560 len 3 hci_reset_complete: status 0 bt_buf_release: buf 0x5648f0b63560 ref 1 type 1 bt_buf_release: Buffer freed: 0x5648f0b63560 bt_buf_release: buf 0x5648f0b63590 ref 1 type 0 bt_buf_release: Buffer freed: 0x5648f0b63590 hci_initialize: ERROR: BT_HCI_OP_RESET failed: -116 bt_initialize: ERROR: hci_initialize failed: -116 ERROR: btnull_register() failed: -116 ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
