Infineon Logo AIROC BTSDK v4.4 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wiced_bt_avrc_ct.h File Reference

Bluetooth AVRC Remote Control Application Programming Interface. More...

Data Structures

struct  wiced_bt_avrc_ct_features_abs_vol_t
 
union  wiced_bt_avrc_ct_features_data_t
 

Macros

#define sizeof_array(a)   (sizeof(a)/sizeof(a[0]))
 

Typedefs

typedef void(* wiced_bt_avrc_ct_connection_state_cback_t )(uint8_t handle, wiced_bt_device_address_t remote_addr, wiced_result_t status, wiced_bt_avrc_ct_connection_state_t connection_state, uint32_t peer_features)
 Callback for connection state.
 
typedef void(* wiced_bt_avrc_ct_rsp_cback_t )(uint8_t handle, wiced_bt_avrc_response_t *avrc_rsp)
 Response callback from peer device for AVRCP commands.
 
typedef void(* wiced_bt_avrc_ct_cmd_cback_t )(uint8_t handle, wiced_bt_avrc_command_t *avrc_cmd)
 Callback when peer device sends AVRCP commands.
 
typedef void(* wiced_bt_avrc_ct_pt_rsp_cback_t )(uint8_t handle, wiced_bt_avrc_msg_pass_t *avrc_pass_rsp)
 Callback when peer device sends response to AVRCP passthrough commands.
 
typedef void(* wiced_bt_avrc_ct_features_cback_t )(wiced_bt_avrc_ct_features_event_t event, wiced_bt_avrc_ct_features_data_t *p_data)
 
typedef void(* wiced_bt_avrc_ct_pt_evt_cback_t )(uint8_t handle, uint8_t op_id)
 Callback when peer device sends AVRCP passthrough commands op code.
 

Enumerations

enum  wiced_bt_avrc_ct_features_t { REMOTE_CONTROL_FEATURE_TARGET = 0x0001, REMOTE_CONTROL_FEATURE_CONTROLLER = 0x0002 }
 AVRC remote control feature mask. More...
 
enum  wiced_bt_avrc_ct_connection_state_t { REMOTE_CONTROL_DISCONNECTED = 0, REMOTE_CONTROL_CONNECTED = 1, REMOTE_CONTROL_INITIALIZED = 2 }
 AVRC remote control connection state. More...
 
enum  wiced_bt_avrc_ct_features_event_t { WICED_BT_AVRC_CT_FEATURES_ABS_VOL_SUPPORTED = 1 }
 

Functions

wiced_result_t wiced_bt_avrc_ct_init (uint32_t local_features, uint8_t *supported_events, wiced_bt_avrc_ct_connection_state_cback_t p_connection_cb, wiced_bt_avrc_ct_cmd_cback_t p_cmd_cb, wiced_bt_avrc_ct_rsp_cback_t p_rsp_cb, wiced_bt_avrc_ct_pt_rsp_cback_t p_ptrsp_cb)
 AVRC remote control functions. More...
 
wiced_result_t wiced_bt_avrc_ct_features_register (wiced_bt_avrc_ct_features_cback_t features_callback)
 Function wiced_bt_avrc_ct_features_register. More...
 
wiced_result_t wiced_bt_avrc_ct_connect (wiced_bt_device_address_t remote_addr)
 Function wiced_bt_avrc_ct_connect. More...
 
wiced_result_t wiced_bt_avrc_ct_disconnect (uint8_t handle)
 Function wiced_bt_avrc_ct_disconnect. More...
 
wiced_result_t wiced_bt_avrc_ct_send_pass_through_cmd (uint8_t handle, uint8_t cmd, uint8_t state, uint8_t data_len, uint8_t *data)
 Function wiced_bt_avrc_ct_send_pass_through_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_send_unit_info_cmd (uint16_t handle)
 Function wiced_bt_avrc_ct_send_unit_info_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_send_sub_unit_info_cmd (uint16_t handle)
 Function wiced_bt_avrc_ct_send_sub_unit_info_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_get_element_attr_cmd (uint8_t handle, wiced_bt_avrc_uid_t element_id, uint8_t num_attr, uint8_t *p_attrs)
 Function wiced_bt_avrc_ct_get_element_attr_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_get_play_status_cmd (uint8_t handle)
 Function wiced_bt_avrc_ct_get_play_status_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_list_player_attrs_cmd (uint8_t handle)
 Function wiced_bt_avrc_ct_list_player_attrs_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_list_player_values_cmd (uint8_t handle, uint8_t attr)
 Function wiced_bt_avrc_ct_list_player_values_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_get_player_value_cmd (uint8_t handle, uint8_t num_attr, uint8_t *p_attrs)
 Function wiced_bt_avrc_ct_get_player_value_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_set_player_value_cmd (uint8_t handle, wiced_bt_avrc_player_app_param_t *p_vals)
 Function wiced_bt_avrc_ct_set_player_value_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_get_player_attrs_text_cmd (uint8_t handle, uint8_t num_attr, uint8_t *p_attrs)
 Function wiced_bt_avrc_ct_get_player_attrs_text_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_get_player_values_text_cmd (uint8_t handle, uint8_t attr, uint8_t num_val, uint8_t *p_values)
 Function wiced_bt_avrc_ct_get_player_values_text_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_set_addressed_player_cmd (uint8_t handle, uint16_t player_id)
 Function wiced_bt_avrc_ct_set_addressed_player_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_set_browsed_player_cmd (uint8_t handle, uint16_t player_id)
 Function wiced_bt_avrc_ct_set_browsed_player_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_change_path_cmd (uint8_t handle, uint8_t direction, wiced_bt_avrc_uid_t path_uid)
 Function wiced_bt_avrc_ct_change_path_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_get_folder_items_cmd (uint8_t handle, uint8_t scope, uint32_t start_item, uint32_t end_item, uint8_t num_attr, uint32_t *p_attrs)
 Function wiced_bt_avrc_ct_get_folder_items_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_get_item_attributes_cmd (uint8_t handle, uint8_t scope, wiced_bt_avrc_uid_t path_uid, uint8_t num_attr, uint32_t *p_attrs)
 Function wiced_bt_avrc_ct_get_item_attributes_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_search_cmd (uint8_t handle, wiced_bt_avrc_full_name_t search_string)
 Function wiced_bt_avrc_ct_search_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_play_item_cmd (uint8_t handle, uint8_t scope, wiced_bt_avrc_uid_t item_uid)
 Function wiced_bt_avrc_ct_play_item_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_add_to_now_playing_cmd (uint8_t handle, uint8_t scope, wiced_bt_avrc_uid_t item_uid)
 Function wiced_bt_avrc_ct_add_to_now_playing_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_set_volume_cmd (uint8_t handle, uint8_t volume)
 Function wiced_bt_avrc_ct_set_volume_cmd. More...
 

Detailed Description

Bluetooth AVRC Remote Control Application Programming Interface.