maxikrie opened a new issue, #14012: URL: https://github.com/apache/nuttx/issues/14012
### Description Hello, I have successfully tested the examples/nimble app on a nrf52840-dk acting as a BLE peripheral. I am connecting to the board with a smartphone and the nrf connect app. I am trying to create a BLE central on a second nrf52840-dk, which can connect to the peripheral. So far, I have examined and copied from [esp example](https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_cent/main/main.c) and [mynewt-nimble example](https://github.com/apache/mynewt-nimble/blob/master/apps/blecent/src/main.c). However, when I perform a BLE scan for peripherals, `ble_gap_disc` or `ble_gap_ext_disc` (with `MYNEWT_VAL(BLE_EXT_ADV)`) fail with error code 513 hinting to a timeout in `ble_hs_hci_cmd_tx`. I am happy to provide my code if necessary, but wanted to reach out first if anybody accomplished to get a BLE central to scan for peripherals? Thanks! ### Verification - [X] I have verified before submitting the report. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
