![]() |
nrfxlib API 3.3.99
|
| int32_t sdc_hci_get | ( | uint8_t * | p_packet_out, |
| uint8_t * | p_msg_type_out ) |
#include <softdevice_controller/include/sdc_hci.h>
Retrieve an HCI packet from the SoftDevice Controller.
This API is non-blocking.
| [in,out] | p_packet_out | Buffer where the HCI packet will be stored. |
| [out] | p_msg_type_out | Type of HCI packet produced by the controller. See sdc_hci_msg_type_t for possible values. |
| 0 | Success |
| -NRF_EAGAIN | No event available |
| -NRF_EINVAL | Invalid input |