
- Is there any specific reason BLE HCI UART program implemented using interrupt API?
- Do you have BLE HCI UART program based on Asynchronous API(uses eDMA)?
- If not available, is it something Nordic can help to implement?
Regards,
Alaganraj
Regards,
Alaganraj
It looks like the only reason they chose the Polling UART API instead of Async UART API is to keep the sample simple and still expose the functionality of the HCI UART.
With Async UART API you need to know more about the details of the uart (callback/ TXRX buffers etc) than the simple use of poll.
I agree that you can optimize this sample to use Async API. But that is the case for any sample where you have more than one option of API to choose from.
It looks like the only reason they chose the Polling UART API instead of Async UART API is to keep the sample simple and still expose the functionality of the HCI UART.
With Async UART API you need to know more about the details of the uart (callback/ TXRX buffers etc) than the simple use of poll.
I agree that you can optimize this sample to use Async API. But that is the case for any sample where you have more than one option of API to choose from.
Thank you for the details Susheel. appreciate your support !
just adding summary from Scott Jeff as well, it may help people in community.