38#define HCI_CMD_HEADER_SIZE (3)
41#define HCI_DATA_HEADER_SIZE (4)
44#define HCI_EVENT_HEADER_SIZE (2)
47#define HCI_CMD_MAX_SIZE (255)
50#define HCI_DATA_MAX_SIZE (251)
53#define HCI_EVENT_MAX_SIZE (255)
56#define HCI_CMD_PACKET_MAX_SIZE (HCI_CMD_MAX_SIZE + HCI_CMD_HEADER_SIZE)
59#define HCI_DATA_PACKET_MAX_SIZE (HCI_DATA_MAX_SIZE + HCI_DATA_HEADER_SIZE)
62#define HCI_EVENT_PACKET_MAX_SIZE (HCI_EVENT_MAX_SIZE + HCI_EVENT_HEADER_SIZE)
65#define HCI_MSG_BUFFER_MAX_SIZE HCI_CMD_PACKET_MAX_SIZE
71#define HCI_ISO_TX_SDU_ARRIVAL_MARGIN_US 1000
123int32_t
sdc_hci_get(uint8_t * p_packet_out, uint8_t * p_msg_type_out);
int32_t sdc_hci_get(uint8_t *p_packet_out, uint8_t *p_msg_type_out)
Retrieve an HCI packet from the SoftDevice Controller.
sdc_hci_msg_type_t
Definition: sdc_hci.h:74
@ SDC_HCI_MSG_TYPE_ISO
Definition: sdc_hci.h:77
@ SDC_HCI_MSG_TYPE_EVT
Definition: sdc_hci.h:76
@ SDC_HCI_MSG_TYPE_DATA
Definition: sdc_hci.h:75
int32_t sdc_hci_iso_data_put(uint8_t const *p_data_in)
Send an HCI ISO data packet to the SoftDevice Controller.
int32_t sdc_hci_data_put(uint8_t const *p_data_in)
Send an HCI data packet to the SoftDevice Controller.