Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
bt_hci_raw_cmd_ext Struct Reference

#include <hci_raw.h>

Data Fields

uint16_t op
 
size_t min_len
 
uint8_t(* func )(struct net_buf *buf)
 

Field Documentation

◆ func

uint8_t(* bt_hci_raw_cmd_ext::func) (struct net_buf *buf)

Handler function.

Handler function to be called when a command is intercepted.

Parameters
bufBuffer containing the command.
Returns
HCI Status code or BT_HCI_ERR_EXT_HANDLED if command has been handled already and a response has been sent as oppose to BT_HCI_ERR_SUCCESS which just indicates that the command can be sent to the controller to be processed.

◆ min_len

size_t bt_hci_raw_cmd_ext::min_len

Minimal length of the command

◆ op

uint16_t bt_hci_raw_cmd_ext::op

Opcode of the command


The documentation for this struct was generated from the following file: