![]() |
nRF Connect SDK API 3.4.99
|
| dtm_tw_to_hci_status_t dtm_tw_to_hci_process_hci_event | ( | const uint16_t | tw_cmd, |
| const struct net_buf * | hci_event, | ||
| uint16_t * | tw_event ) |
#include <dtm_twowire_to_hci.h>
Process an HCI event and generate a DTM 2-wire event.
| [in] | tw_cmd | 2-wire command that the caller is expecting a response to. |
| [in] | hci_event | HCI event to process. |
| [out] | tw_event | Pointer to the generated 2-wire event, if any. |
| DTM_TW_TO_HCI_STATUS_TW_EVENT | A 2-wire event was generated and stored in tw_event . |
| DTM_TW_TO_HCI_STATUS_UNHANDLED | The HCI event was irrelevant to DTM. No output was generated. |
| DTM_TW_TO_HCI_STATUS_ERROR | An error was encountered during processing. No output was generated. |