/* Created and sends a command complete event with the no-op opcode to the host.  */
void ble_ll_hci_send_noop(void)
/* Created and sends a command complete event with the no-op opcode to the host.  */
void ble_ll_hci_send_noop(void)
{
    struct ble_hci_ev_command_complete_nop *ev;
    struct ble_hci_ev *hci_ev;
    hci_ev = (void *) ble_hci_trans_buf_alloc(BLE_HCI_TRANS_BUF_EVT_HI);
    if (hci_ev) {
        hci_ev->opcode = BLE_HCI_EVCODE_COMMAND_COMPLETE;
        hci_ev->length = sizeof(*ev);
        ev = (void *)hci_ev->data;
        ev->num_packets = ble_ll_hci_get_num_cmd_pkts();
        ev->opcode = BLE_HCI_OPCODE_NOP;
        ble_ll_hci_event_send(hci_ev);
    }
}