Infineon Logo AIROC BTSDK v4.2 - 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 AIROC 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_rsp_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_metadata_cmd_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_ctype_t ctype, wiced_bt_avrc_pass_thru_hdr_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.
 
enum  wiced_bt_avrc_ct_connection_state_t {
  REMOTE_CONTROL_DISCONNECTED = 0, REMOTE_CONTROL_CONNECTED = 1, REMOTE_CONTROL_INITIALIZED = 2, REMOTE_CONTROL_BROWSE_DISCONNECTED = 3,
  REMOTE_CONTROL_BROWSE_CONNECTED = 4
}
 AVRC remote control connection state.
 
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)
 Function wiced_bt_avrc_ct_init. 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_deinit (void)
 Function wiced_bt_avrc_ct_deinit. 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, uint16_t grp_nav_vendor)
 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_metadata_set_app_value_cmd_t *p_val_stream)
 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_inform_displayable_charset_cmd (uint8_t handle, uint8_t num_charset, uint16_t *p_charsets)
 Function wiced_bt_avrc_ct_inform_displayable_charset_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_inform_battery_status_ct_cmd (uint8_t handle, uint8_t battery_status)
 Function wiced_bt_avrc_ct_inform_battery_status_ct_cmd. More...
 
wiced_result_t wiced_bt_avrc_ct_get_total_num_items (uint8_t handle, uint8_t scope)
 Function wiced_bt_avrc_ct_get_total_num_items. 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...
 
int wiced_bt_avrc_parse_get_element_attr_rsp_from_stream (uint8_t *p_attr_stream, uint16_t stream_len, wiced_bt_avrc_attr_entry_t *p_attr)
 
int wiced_bt_avrc_parse_attr_text_value_rsp_from_stream (uint8_t *p_val_stream, uint16_t stream_len, wiced_bt_avrc_app_setting_text_t *p_attr_text_val)
 
int wiced_bt_avrc_parse_get_folder_items_rsp_from_stream (uint8_t *p_item_stream, uint16_t stream_len, wiced_bt_avrc_item_t *p_item)
 
int wiced_bt_avrc_parse_folder_name_from_stream (uint8_t *p_stream, uint16_t stream_len, wiced_bt_avrc_name_t *p_name)
 
void bdcpy (wiced_bt_device_address_t a, const wiced_bt_device_address_t b)
 
int bdcmp (const wiced_bt_device_address_t a, const wiced_bt_device_address_t b)
 
wiced_result_t wiced_bt_avrc_ct_lrac_switch_get (void *p_opaque, uint16_t *p_sync_data_len)
 API To get LRAC Switch data. More...
 
wiced_result_t wiced_bt_avrc_ct_lrac_switch_set (void *p_opaque, uint16_t sync_data_len)
 API To set LRAC Switch data. More...
 
void wiced_bt_avrc_ct_register_passthrough_event_callback (wiced_bt_avrc_ct_pt_evt_cback_t pt_evt_cb)
 wiced_bt_avrc_ct_register_passthrough_event_callback More...
 

Detailed Description

Bluetooth AVRC Remote Control Application Programming AIROC Interface.