Stay organized with collections
Save and categorize content based on your preferences.
btrc_ctrl_interface_t Struct Reference
#include <
bt_rc.h
>
|
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)
|
|
Represents the standard BT-RC AVRCP Controller interface.
Definition at line
347
of file
bt_rc.h
.
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
.
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
.
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
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2019-10-02 UTC."}