emspi transport - clarify that it is host-only.

X-Original-Commit: 7dc5d328677931d106fb958120ed333361e97130
This commit is contained in:
Christopher Collins
2018-01-14 23:44:25 -08:00
parent 36779533ba
commit 2f3362372e
2 changed files with 7 additions and 15 deletions
+3 -14
View File
@@ -603,13 +603,7 @@ ble_hci_emspi_free_pkt(uint8_t type, uint8_t *cmdevt, struct os_mbuf *acl)
}
/**
* Sends an HCI event from the controller to the host.
*
* @param cmd The HCI event to send. This buffer must be
* allocated via ble_hci_trans_buf_alloc().
*
* @return 0 on success;
* A BLE_ERR_[...] error code on failure.
* Unsupported. This is a host-only transport.
*/
int
ble_hci_trans_ll_evt_tx(uint8_t *cmd)
@@ -618,12 +612,7 @@ ble_hci_trans_ll_evt_tx(uint8_t *cmd)
}
/**
* Sends ACL data from controller to host.
*
* @param om The ACL data packet to send.
*
* @return 0 on success;
* A BLE_ERR_[...] error code on failure.
* Unsupported. This is a host-only transport.
*/
int
ble_hci_trans_ll_acl_tx(struct os_mbuf *om)
@@ -708,7 +697,7 @@ ble_hci_trans_cfg_ll(ble_hci_trans_rx_cmd_fn *cmd_cb,
ble_hci_trans_rx_acl_fn *acl_cb,
void *acl_arg)
{
/* XXX: Unimplemented. */
/* Unsupported. */
assert(0);
}
+4 -1
View File
@@ -20,13 +20,16 @@
syscfg.defs:
BLE_HCI_EMSPI:
description: 'Indicates that the emspi HCI transport is present.'
description: 'Indicates that the emspi host HCI transport is present.'
value: 1
restrictions:
# XXX: This package only builds with the apollo2 MCU.
# MCU-dependencies need to be removed.
- MCU_APOLLO2
# This is a host-only transport.
- BLE_HOST
BLE_HCI_EVT_HI_BUF_COUNT:
description: 'Number of high-priority event buffers.'
value: 2