Skip to content
Permalink
Browse files

Bluetooth: controller: hci: Add some documentation for encode_control().

No functional change.

Signed-off-by: Wolfgang Puffitsch <wopu@demant.com>
  • Loading branch information...
wopu-ot authored and carlescufi committed Jul 15, 2019
1 parent 765c063 commit e54a7ba324e5c98a46bf55d2bfe92cde9327c77c
Showing with 8 additions and 0 deletions.
  1. +8 −0 subsys/bluetooth/controller/hci/hci.c
@@ -2985,6 +2985,14 @@ static void mesh_adv_cplt(struct pdu_data *pdu_data,
}
#endif /* CONFIG_BT_HCI_MESH_EXT */

/**
* @brief Encode a control-PDU into an HCI buffer
* @details Execution context: Host thread
*
* @param node_rx_pdu[in] RX node containing header and PDU
* @param pdu_data[in] PDU. Same as node_rx_pdu->pdu, but more convenient
* @param net_buf[out] Upwards-going HCI buffer to fill
*/
static void encode_control(struct node_rx_pdu *node_rx,
struct pdu_data *pdu_data, struct net_buf *buf)
{

0 comments on commit e54a7ba

Please sign in to comment.
You can’t perform that action at this time.