Skip to content

Commit

Permalink
Bluetooth: controller: hci: Add some documentation for encode_control().
Browse files Browse the repository at this point in the history
No functional change.

Signed-off-by: Wolfgang Puffitsch <[email protected]>
  • Loading branch information
wopu-ot authored and carlescufi committed Jul 17, 2019
1 parent 765c063 commit e54a7ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions subsys/bluetooth/controller/hci/hci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit e54a7ba

Please sign in to comment.