Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

AVRC remote control functions. More...

Data Structures

struct  wiced_bt_avrc_tg_track_attr_t
 
struct  wiced_bt_avrc_tg_track_info_t
 
struct  wiced_bt_avrc_tg_player_attr_t
 
struct  wiced_bt_avrc_tg_play_status_t
 
struct  wiced_bt_avrc_tg_passthrough_cmd_t
 
struct  wiced_bt_avrc_tg_absolute_volume_t
 
struct  wiced_bt_rc_event_t
 

Macros

#define APP_AVRC_TRACK_INFO_SUPPORTED
 
#define APP_AVRC_PLAY_STATUS_SUPPORTED
 
#define APP_AVRC_SETTING_CHANGE_SUPPORTED
 
#define APP_AVRC_TRACK_PLAY_POS_CHANGE_SUPPORTED
 
#define MAX_AVRCP_VOLUME_LEVEL   0x7f
 
#define APP_AVRC_MAX_ATTR   AVRC_MAX_NUM_MEDIA_ATTR_ID
 
#define APP_AVRC_MAX_ATTR_LEN   AVRC_MAX_MEDIA_ATTR_LEN
 
#define APP_AVRC_MAX_APP_ATTR_SIZE   4
 
#define APP_AVRC_EVENT_DEVICE_CONNECTED   1 /* peer device connected */
 
#define APP_AVRC_EVENT_REPEAT_SETTINGS_CHANGED   2 /* peer changed repeat settings */
 
#define APP_AVRC_EVENT_SHUFFLE_SETTINGS_CHANGED   3 /* peer changed shuffle settings */
 
#define APP_AVRC_EVENT_DEVICE_DISCONNECTED   4 /* peer device disconnected */
 
#define APP_AVRC_EVENT_PASSTHROUGH_RESPONSE   5 /* passthrough command response from peer */
 
#define APP_AVRC_EVENT_PASSTHROUGH_CMD   6 /* passthrough command response from peer */
 
#define APP_AVRC_EVENT_ABS_VOLUME_CHANGED   7 /* peer device changed absolute volume */
 
#define APP_AVRC_EVENT_ABS_VOL_CHANGED   APP_AVRC_EVENT_ABS_VOLUME_CHANGED
 
#define APP_AVRC_EVENT_PASSTHROUGH_CMD_PLAY   1 /* Passthrough Command Play */
 
#define APP_AVRC_EVENT_PASSTHROUGH_CMD_PAUSE   2 /* Passthrough Command Pause */
 
#define APP_AVRC_EVENT_PASSTHROUGH_CMD_STOP   3 /* Passthrough Command Stop */
 
#define APP_AVRC_EVENT_PASSTHROUGH_CMD_NEXT_TRACK   4 /* Passthrough Command Next Track */
 
#define APP_AVRC_EVENT_PASSTHROUGH_CMD_PREVIOUS_TRACK   5 /* Passthrough Command Previous Track */
 

Typedefs

typedef void( wiced_bt_avrc_tg_event_cback_t )(uint8_t event_id, wiced_bt_rc_event_t *_event)
 

Functions

void wiced_bt_avrc_tg_init (wiced_bt_avrc_tg_event_cback_t *p_cb)
 
void wiced_bt_avrc_tg_register (void)
 
void wiced_bt_avrc_tg_initiate_open (wiced_bt_device_address_t peer_addr)
 
void wiced_bt_avrc_tg_initiate_close (void)
 
void wiced_bt_rc_set_track_info (wiced_bt_avrc_tg_track_attr_t *p_track_attr)
 
void wiced_bt_rc_set_player_settings (wiced_bt_avrc_tg_player_attr_t *p_info)
 
void wiced_bt_rc_player_setting_changed (uint8_t attr_id, uint8_t value)
 
void wiced_bt_rc_set_player_status (wiced_bt_avrc_tg_play_status_t *p_info)
 
void wiced_bt_rc_track_changed (void)
 
void wiced_bt_avrc_tg_register_absolute_volume_change (void)
 
wiced_result_t wiced_bt_avrc_tg_absolute_volume_changed (uint16_t handle, uint8_t volume)
 
uint8_t wiced_bt_avrc_tg_is_peer_absolute_volume_capable (void)
 

Detailed Description

AVRC remote control functions.