#include <include/bluetooth/dtm_twowire/dtm_twowire_to_hci.h>
Process an HCI event and generate a DTM 2-wire event.
- Parameters
-
| [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. |
- Returns
- Status of the processing result.
- Return values
-
| 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. |