bt_vendor_interface_t Struct Reference

#include <bt_vendor_lib.h>

Data Fields

size_t size
int(* init )(const bt_vendor_callbacks_t *p_cb, unsigned char *local_bdaddr)
int(* op )(bt_vendor_opcode_t opcode, void *param)
void(* cleanup )(void)

Detailed Description

Definition at line 327 of file bt_vendor_lib.h.

Field Documentation

void(* cleanup)(void)

Closes the interface

Definition at line 345 of file bt_vendor_lib.h.

int(* init)(const bt_vendor_callbacks_t *p_cb, unsigned char *local_bdaddr)

Caller will open the interface and pass in the callback routines to the implemenation of this interface.

Definition at line 339 of file bt_vendor_lib.h.

int(* op)(bt_vendor_opcode_t opcode, void *param)

Vendor specific operations

Definition at line 342 of file bt_vendor_lib.h.

size_t size

Set to sizeof(bt_vndor_interface_t)

Definition at line 329 of file bt_vendor_lib.h.

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