btrc_ctrl_interface_t Struct Reference

btrc_ctrl_interface_t Struct Reference

#include < bt_rc.h >

Data Fields

size_t  size
 
bt_status_t (*  init )( btrc_ctrl_callbacks_t *callbacks)
 
bt_status_t (*  send_pass_through_cmd )(bt_bdaddr_t *bd_addr, uint8_t key_code, uint8_t key_state)
 
bt_status_t (*  send_group_navigation_cmd )(bt_bdaddr_t *bd_addr, uint8_t key_code, uint8_t key_state)
 
bt_status_t (*  set_player_app_setting_cmd )(bt_bdaddr_t *bd_addr, uint8_t num_attrib, uint8_t *attrib_ids, uint8_t *attrib_vals)
 
bt_status_t (*  set_volume_rsp )(bt_bdaddr_t *bd_addr, uint8_t abs_vol, uint8_t label)
 
bt_status_t (*  register_abs_vol_rsp )(bt_bdaddr_t *bd_addr, btrc_notification_type_t rsp_type, uint8_t abs_vol, uint8_t label)
 
void(*  cleanup )(void)
 

Detailed Description

Represents the standard BT-RC AVRCP Controller interface.

Definition at line 347 of file bt_rc.h .

Field Documentation

void(* cleanup)(void)

Closes the interface.

Definition at line 376 of file bt_rc.h .

Register the BtRc callbacks

Definition at line 354 of file bt_rc.h .

bt_status_t (* register_abs_vol_rsp)(bt_bdaddr_t *bd_addr, btrc_notification_type_t rsp_type, uint8_t abs_vol, uint8_t label)

send notificaiton rsp for abs vol to target

Definition at line 372 of file bt_rc.h .

bt_status_t (* send_group_navigation_cmd)(bt_bdaddr_t *bd_addr, uint8_t key_code, uint8_t key_state)

send group navigation command to target

Definition at line 361 of file bt_rc.h .

bt_status_t (* send_pass_through_cmd)(bt_bdaddr_t *bd_addr, uint8_t key_code, uint8_t key_state)

send pass through command to target

Definition at line 357 of file bt_rc.h .

bt_status_t (* set_player_app_setting_cmd)(bt_bdaddr_t *bd_addr, uint8_t num_attrib, uint8_t *attrib_ids, uint8_t *attrib_vals)

send command to set player applicaiton setting attributes to target

Definition at line 365 of file bt_rc.h .

bt_status_t (* set_volume_rsp)(bt_bdaddr_t *bd_addr, uint8_t abs_vol, uint8_t label)

send rsp to set_abs_vol received from target

Definition at line 369 of file bt_rc.h .

size_t size

set to sizeof(BtRcInterface)

Definition at line 350 of file bt_rc.h .


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