19#ifndef BT_VENDOR_LIB_H
20#define BT_VENDOR_LIB_H
90 BT_VND_OP_USERIAL_OPEN,
101 BT_VND_OP_USERIAL_CLOSE,
118 BT_VND_OP_GET_LPM_IDLE_TIMEOUT,
131 BT_VND_OP_LPM_SET_MODE,
143 BT_VND_OP_LPM_WAKE_SET_STATE,
150} bt_vendor_power_state_t;
162} bt_vendor_hci_channels_t;
168} bt_vendor_lpm_mode_t;
172 BT_VND_LPM_WAKE_ASSERT,
173 BT_VND_LPM_WAKE_DEASSERT,
174} bt_vendor_lpm_wake_state_t;
178 BT_VND_OP_RESULT_SUCCESS,
179 BT_VND_OP_RESULT_FAIL,
180} bt_vendor_op_result_t;
187typedef void (*cfg_result_cb)(bt_vendor_op_result_t result);
227typedef void* (*malloc_cb)(
int size);
230typedef void (*mdealloc_cb)(
void *p_buf);
238typedef void (*tINT_CMD_CBACK)(
void *p_mem);
255typedef uint8_t (*cmd_xmit_cb)(uint16_t opcode,
void *p_buf, tINT_CMD_CBACK p_cback);
267 cfg_result_cb fwcfg_cb;
270 cfg_result_cb scocfg_cb;
273 cfg_result_cb lpm_cb;
303 int (*
op)(bt_vendor_opcode_t opcode,
void *param);
int(* op)(bt_vendor_opcode_t opcode, void *param)
int(* init)(const bt_vendor_callbacks_t *p_cb, unsigned char *local_bdaddr)