Android Hardware Abstraction Layer
Data Fields
btav_interface_t Struct Reference

#include <bt_av.h>

Data Fields

size_t size
 
bt_status_t(* init )(btav_callbacks_t *callbacks)
 
bt_status_t(* connect )(bt_bdaddr_t *bd_addr)
 
bt_status_t(* disconnect )(bt_bdaddr_t *bd_addr)
 
void(* cleanup )(void)
 

Detailed Description

NOTE:

  1. AVRCP 1.0 shall be supported initially. AVRCP passthrough commands shall be handled internally via uinput
  2. A2DP data path shall be handled via a socket pipe between the AudioFlinger android_audio_hw library and the Bluetooth stack.Represents the standard BT-AV interface.

Definition at line 69 of file bt_av.h.

Field Documentation

void(* cleanup)(void)

Closes the interface.

Definition at line 85 of file bt_av.h.

bt_status_t(* connect)(bt_bdaddr_t *bd_addr)

connect to headset

Definition at line 79 of file bt_av.h.

bt_status_t(* disconnect)(bt_bdaddr_t *bd_addr)

dis-connect from headset

Definition at line 82 of file bt_av.h.

bt_status_t(* init)(btav_callbacks_t *callbacks)

Register the BtAv callbacks

Definition at line 76 of file bt_av.h.

size_t size

set to sizeof(btav_interface_t)

Definition at line 72 of file bt_av.h.


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