Google is committed to advancing racial equity for Black communities. See how.

bthl_interface_t Struct Reference

bthl_interface_t Struct Reference

#include < bt_hl.h >

Data Fields

size_t  size
 
bt_status_t (*  init )( bthl_callbacks_t *callbacks)
 
bt_status_t (*  register_application )( bthl_reg_param_t *p_reg_param, int *app_id)
 
bt_status_t (*  unregister_application )(int app_id)
 
bt_status_t (*  connect_channel )(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int *channel_id)
 
bt_status_t (*  destroy_channel )(int channel_id)
 
void(*  cleanup )(void)
 

Detailed Description

Represents the standard BT-HL interface.

Definition at line 93 of file bt_hl.h .

Field Documentation

void(* cleanup)(void)

Close the Bthl callback

Definition at line 116 of file bt_hl.h .

bt_status_t (* connect_channel)(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int *channel_id)

connect channel

Definition at line 110 of file bt_hl.h .

bt_status_t (* destroy_channel)(int channel_id)

destroy channel

Definition at line 113 of file bt_hl.h .

bt_status_t (* init)( bthl_callbacks_t *callbacks)

Register the Bthl callbacks

Definition at line 101 of file bt_hl.h .

bt_status_t (* register_application)( bthl_reg_param_t *p_reg_param, int *app_id)

Register HL application

Definition at line 104 of file bt_hl.h .

size_t size

set to sizeof(bthl_interface_t)

Definition at line 96 of file bt_hl.h .

bt_status_t (* unregister_application)(int app_id)

Unregister HL application

Definition at line 107 of file bt_hl.h .


The documentation for this struct was generated from the following file:
  • hardware/libhardware/include/hardware/ bt_hl.h